summaryrefslogtreecommitdiff
path: root/rust/project_json_test.go
diff options
context:
space:
mode:
author Ulya Trafimovich <skvadrik@google.com> 2020-12-03 16:50:22 +0000
committer Ulya Trafimovich <skvadrik@google.com> 2020-12-03 16:50:22 +0000
commit65b031910bc36bd079759d002ab7b3d66668f132 (patch)
treeb1ee873a1d8f7bf691ef024381ffd122b46ab0c5 /rust/project_json_test.go
parent78210f6c9b607d411a5466d90c68db52d546aabf (diff)
Do not propagate <uses-library> deps through static SDK component libs.
If some Java library/app depends on an SDK component library (e.g. stubs library), then it transitively depends on the SDK library itself (because the component library has a dependency on its SDK library). Previously having this transitive dependency resulted in adding the SDK library to the <uses-library> dependencies of the library/app. However, this doesn't make sense if the app has a *static* dependency on the component library. This patch stops adding <uses-library> dependency in that case. Bug: 132357300 Test: m nothing Test: added new Soong test that would previously fail with an error: invalid build path for <uses-library> "fred" Change-Id: I697a65e461037c95ec56b6c321afa4ec52ccbbec
Diffstat (limited to 'rust/project_json_test.go')
0 files changed, 0 insertions, 0 deletions