diff options
author | 2021-07-22 00:57:39 +0000 | |
---|---|---|
committer | 2021-07-22 00:57:39 +0000 | |
commit | 5d96f64d043af9cbd2f95d5dc076c74b7906b32f (patch) | |
tree | 715e2d87d3dae09e736e04610f6ab8d985c52596 /android/module.go | |
parent | f8de870f4caecb794e22f74a81ee532e156cced9 (diff) | |
parent | ae11c233b52cb066b85b2e556faa8ac0bd483343 (diff) |
Merge changes I3574d2a1,Ifb69fb3d
* changes:
Update prebuilt_etc available for snapshot
Separate snapshot definition
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 11f63bd49..b40310b85 100644 --- a/android/module.go +++ b/android/module.go @@ -413,6 +413,7 @@ type ModuleContext interface { InstallInDebugRamdisk() bool InstallInRecovery() bool InstallInRoot() bool + InstallInVendor() bool InstallBypassMake() bool InstallForceOS() (*OsType, *ArchType) @@ -471,6 +472,7 @@ type Module interface { InstallInDebugRamdisk() bool InstallInRecovery() bool InstallInRoot() bool + InstallInVendor() bool InstallBypassMake() bool InstallForceOS() (*OsType, *ArchType) HideFromMake() @@ -1579,6 +1581,10 @@ func (m *ModuleBase) InstallInRecovery() bool { return Bool(m.commonProperties.Recovery) } +func (m *ModuleBase) InstallInVendor() bool { + return Bool(m.commonProperties.Vendor) +} + func (m *ModuleBase) InstallInRoot() bool { return false } @@ -2645,6 +2651,10 @@ func (m *moduleContext) InstallForceOS() (*OsType, *ArchType) { return m.module.InstallForceOS() } +func (m *moduleContext) InstallInVendor() bool { + return m.module.InstallInVendor() +} + func (m *moduleContext) skipInstall() bool { if m.module.base().commonProperties.SkipInstall { return true |