BUILD.gn 657 B

123456789101112131415161718192021222324
  1. # Copyright 2018 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. import("//build/config/android/rules.gni")
  5. java_prebuilt("google_truth_java") {
  6. testonly = true
  7. # Uses the difflib package, which doesn't exist in third_party.
  8. enable_bytecode_checks = false
  9. supports_android = true
  10. # requires_android because of dependency on guava_android.
  11. requires_android = true
  12. jar_path = "lib/truth-0.45.jar"
  13. deps = [
  14. "//third_party/android_deps:guava_android_java",
  15. "//third_party/junit:junit",
  16. ]
  17. proguard_configs = [ "proguard.flags" ]
  18. }