diff options
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 8076a99ff..a1a01a5cf 100644 --- a/android/module.go +++ b/android/module.go @@ -154,6 +154,7 @@ type ModuleContext interface { CheckbuildFile(srcPath Path) InstallInData() bool + InstallInTestcases() bool InstallInSanitizerDir() bool InstallInRecovery() bool InstallBypassMake() bool @@ -192,6 +193,7 @@ type Module interface { Enabled() bool Target() Target InstallInData() bool + InstallInTestcases() bool InstallInSanitizerDir() bool InstallInRecovery() bool InstallBypassMake() bool @@ -832,6 +834,10 @@ func (m *ModuleBase) InstallInData() bool { return false } +func (m *ModuleBase) InstallInTestcases() bool { + return false +} + func (m *ModuleBase) InstallInSanitizerDir() bool { return false } @@ -1504,6 +1510,10 @@ func (m *moduleContext) InstallInData() bool { return m.module.InstallInData() } +func (m *moduleContext) InstallInTestcases() bool { + return m.module.InstallInTestcases() +} + func (m *moduleContext) InstallInSanitizerDir() bool { return m.module.InstallInSanitizerDir() } |