Don't install stubs

Stubs libs are build-time only artifact. Can't be installed.

Test: OUT_DIR=out build/soong/scripts/build-ndk-prebuilts.sh
with https://android-review.googlesource.com/c/platform/frameworks/av/+/846770/7
and two more CLs in the same chain
Examine out/soong/build.ninja
Build rule for out/soong/target/product/generic_arm64/system/lib64/arm64/libmediandk.so
exist only once.

Change-Id: I58ff09ef3fbbdbd2d968aa21b87a493192d4216d
This commit is contained in:
Jiyong Park 2018-12-12 10:26:20 +09:00
parent 055295d18a
commit 127d56580d
1 changed files with 1 additions and 0 deletions

View File

@ -1055,6 +1055,7 @@ func VersionMutator(mctx android.BottomUpMutatorContext) {
m.(*Module).Properties.HideFromMake = true
m.(*Module).sanitize = nil
m.(*Module).stl = nil
m.(*Module).Properties.PreventInstall = true
}
}
} else {