Merge "Don't install modules in unexported namespaces" am: bd1dd19c3a
am: 263532199c
Change-Id: I2072191b468d571de3f6a2f81d6cfef2d5d0142d
This commit is contained in:
committed by
android-build-merger
commit
30d728b786
@@ -1015,6 +1015,13 @@ func (a *androidModuleContext) skipInstall(fullInstallPath OutputPath) bool {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We'll need a solution for choosing which of modules with the same name in different
|
||||||
|
// namespaces to install. For now, reuse the list of namespaces exported to Make as the
|
||||||
|
// list of namespaces to install in a Soong-only build.
|
||||||
|
if !a.module.base().commonProperties.NamespaceExportedToMake {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
if a.Device() {
|
if a.Device() {
|
||||||
if a.Config().SkipDeviceInstall() {
|
if a.Config().SkipDeviceInstall() {
|
||||||
return true
|
return true
|
||||||
|
Reference in New Issue
Block a user