Skip to content

Commit

Permalink
Refactor srcs-less android_library rules: deps -> exports.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jin authored and katre committed Sep 27, 2017
1 parent ccd1b15 commit a703546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/shell/bazel/android/android_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a703546

Please sign in to comment.