Home | History | Annotate | Download | only in apkzlib
      1 licenses(["notice"])  # Apache License 2.0
      2 
      3 java_library(
      4     name = "apkzlib",
      5     srcs = glob([
      6         "src/main/java/**/*.java",
      7     ]),
      8     visibility = ["//tools/base/build-system/builder:__pkg__"],
      9     deps = [
     10         "//tools/apksig",
     11         "//tools/base/third_party:com.google.code.findbugs_jsr305",
     12         "//tools/base/third_party:com.google.guava_guava",
     13         "//tools/base/third_party:org.bouncycastle_bcpkix-jdk15on",
     14         "//tools/base/third_party:org.bouncycastle_bcprov-jdk15on",
     15     ],
     16 )
     17 
     18 java_test(
     19     name = "apkzlib_tests",
     20     srcs = glob(["src/test/java/**/*.java"]),
     21     jvm_flags = ["-Dtest.suite.jar=tests.jar"],
     22     resources = glob(["src/test/resources/**"]),
     23     test_class = "com.android.testutils.JarTestSuite",
     24     deps = [
     25         ":apkzlib",
     26         "//tools/base/testutils:tools.testutils",
     27         "//tools/base/third_party:com.google.guava_guava",
     28         "//tools/base/third_party:junit_junit",
     29         "//tools/base/third_party:org.bouncycastle_bcpkix-jdk15on",
     30         "//tools/base/third_party:org.bouncycastle_bcprov-jdk15on",
     31         "//tools/base/third_party:org.mockito_mockito-core",
     32     ],
     33 )
     34