| # Copyright 2018 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/rules.gni") |
| |
| java_prebuilt("google_truth_java") { |
| # Uses the difflib package, which doesn't exist in third_party. |
| enable_bytecode_checks = false |
| testonly = true |
| supports_android = true |
| |
| # requires_android because of dependency on guava_android. |
| requires_android = true |
| |
| jar_path = "lib/truth-0.40.jar" |
| deps = [ |
| "//third_party/guava:guava_android_java", |
| "//third_party/junit:junit", |
| ] |
| } |