diff options
author | tomlu <tomlu@google.com> | 2017-12-05 06:56:08 -0800 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2017-12-05 06:58:17 -0800 |
commit | 7b540204eea9b003e19efe917abacf67270f5e02 (patch) | |
tree | a64e2b7fe267f7ef99c11c1bef503311c45194b1 /tools/android | |
parent | b9e1c8a36a49153c70d57873494c303e21744f95 (diff) |
This and further changes may contain minor modifications to BUILD files that don't serve any apparent purpose. The reason for these changes is that we're switching from checked-in BUILD files to generated BUILD files, and there may be small differences between these files.
RELNOTES: None
PiperOrigin-RevId: 177949511
Diffstat (limited to 'tools/android')
-rw-r--r-- | tools/android/BUILD | 58 | ||||
-rw-r--r-- | tools/android/emulator/BUILD | 2 |
2 files changed, 37 insertions, 23 deletions
diff --git a/tools/android/BUILD b/tools/android/BUILD index 2144b0baec..d53612a8ca 100644 --- a/tools/android/BUILD +++ b/tools/android/BUILD @@ -1,4 +1,9 @@ -package(default_visibility = ["//tools:__pkg__"]) +package(default_visibility = ["//tools:__subpackages__"]) + +filegroup( + name = "srcs", + srcs = glob(["**"]) + ["//tools/android/emulator:srcs"], +) py_binary( name = "merge_manifests", @@ -24,9 +29,7 @@ py_binary( sh_test( name = "build_incremental_dexmanifest_test", - srcs = [ - "build_incremental_dexmanifest_test.sh", - ], + srcs = ["build_incremental_dexmanifest_test.sh"], args = ["$(location //tools/zip:zipper)"], data = [ ":build_incremental_dexmanifest", @@ -71,7 +74,9 @@ py_test( py_binary( name = "strip_resources", srcs = ["strip_resources.py"], - deps = ["//third_party/py/gflags"], + deps = [ + "//third_party/py/gflags", + ], ) sh_test( @@ -86,9 +91,7 @@ sh_test( py_binary( name = "aar_native_libs_zip_creator", - srcs = [ - "aar_native_libs_zip_creator.py", - ], + srcs = ["aar_native_libs_zip_creator.py"], deps = [ ":junction_lib", "//third_party/py/gflags", @@ -97,12 +100,8 @@ py_binary( py_test( name = "aar_native_libs_zip_creator_test", - srcs = [ - "aar_native_libs_zip_creator_test.py", - ], - deps = [ - ":aar_native_libs_zip_creator", - ], + srcs = ["aar_native_libs_zip_creator_test.py"], + deps = [":aar_native_libs_zip_creator"], ) py_binary( @@ -121,6 +120,22 @@ py_test( ], ) +sh_binary( + name = "zip_manifest_creator", + srcs = ["zip_manifest_creator.sh"], + data = ["//tools/zip:zipper"], +) + +sh_test( + name = "zip_manifest_creator_test", + srcs = ["zip_manifest_creator_test.sh"], + args = ["$(location //tools/zip:zipper)"], + data = [ + ":zip_manifest_creator", + "//tools/zip:zipper", + ], +) + py_binary( name = "aar_embedded_jars_extractor", srcs = ["aar_embedded_jars_extractor.py"], @@ -133,7 +148,10 @@ py_binary( py_test( name = "aar_embedded_jars_extractor_test", srcs = ["aar_embedded_jars_extractor_test.py"], - deps = [":aar_embedded_jars_extractor"], + deps = [ + ":aar_embedded_jars_extractor", + "//third_party/py/gflags", + ], ) py_binary( @@ -159,13 +177,14 @@ py_binary( py_test( name = "resource_extractor_test", srcs = ["resource_extractor_test.py"], - deps = [":resource_extractor"], + deps = [ + ":resource_extractor", + ], ) py_library( name = "junction_lib", srcs = ["junction.py"], - visibility = ["//visibility:private"], ) py_test( @@ -187,11 +206,6 @@ py_test( ) filegroup( - name = "srcs", - srcs = glob(["**"]) + ["//tools/android/emulator:srcs"], -) - -filegroup( name = "embedded_tools", srcs = glob( ["*"], diff --git a/tools/android/emulator/BUILD b/tools/android/emulator/BUILD index c21c9c5154..0c7dc31352 100644 --- a/tools/android/emulator/BUILD +++ b/tools/android/emulator/BUILD @@ -1,4 +1,4 @@ -package(default_visibility = ["//tools/android:__pkg__"]) +package(default_visibility = ["//tools:__subpackages__"]) filegroup( name = "srcs", |