diff options
author | LuK1337 <priv.luk@gmail.com> | 2021-01-10 17:47:46 +0100 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2021-04-14 22:55:22 +0200 |
commit | fb545bf2f39019014b53e36bb0b344e747a087f1 (patch) | |
tree | 68d01acae91a9a7380632ff11ce5b0424a8faf20 /java/java.go | |
parent | d466b4a1f5ab2b1553bb3b6ed849e006713d9f31 (diff) |
Make sure prebuilt modules are exported before attempting to use them
Fixes an issue where prebuilt module under unexported soong
namespace overrides source modules when flag `prefer` was set.
Test: Create two modules under the same name, use cc_library_shared
for first one and cc_prebuilt_library_shared with `prefer` set
to true.
Then put the prebuilt module under `soong_namespace {}` and
attempt to compile it without appending the namespace path to
product namespaces.
Without this change it should fail to resolve the
cc_library_shared module even if it should be available.
Change-Id: I506641218e6af94a0b5f048e09e06d83602e50f5
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions