aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar jingwen <jingwen@google.com>2017-09-26 15:16:49 -0400
committerGravatar John Cater <jcater@google.com>2017-09-27 10:01:16 -0400
commita703546e2e69888e4274d94cdd55767e02459d9a (patch)
tree8d7bb37104d20d41b987e65d036e041a6f924ade
parentccd1b150cd64c2699bf22118435edc40e63b1caa (diff)
Refactor srcs-less android_library rules: deps -> exports.
This CL captures the BUILD files and macro callers of native.android_library which use deps without srcs or local resources (exports_manifest, assets_dir, resource_files, etc). Using deps to implicitly export targets will be deprecated soon; please use android_library.exports instead. Follow-up CL to this LSC by brendandouglas@: https://docs.google.com/document/d/1h2ay0i9Tyun6rJ3a7cFT3YrMar9qYoCEv9dZ_pXOSzY LSC timeline:[] RELNOTES: None. PiperOrigin-RevId: 170090131
-rwxr-xr-xsrc/test/shell/bazel/android/android_integration_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/bazel/android/android_integration_test.sh b/src/test/shell/bazel/android/android_integration_test.sh
index 6048f638af..0f6b8d23c3 100755
--- a/src/test/shell/bazel/android/android_integration_test.sh
+++ b/src/test/shell/bazel/android/android_integration_test.sh
@@ -81,7 +81,7 @@ function test_sdk_library_deps() {
cat > java/a/BUILD<<EOF
android_library(
name = "a",
- deps = ["@androidsdk//com.android.support:mediarouter-v7-24.0.0"],
+ exports = ["@androidsdk//com.android.support:mediarouter-v7-24.0.0"],
)
EOF