diff options
Diffstat (limited to 'android/paths.go')
-rw-r--r-- | android/paths.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/android/paths.go b/android/paths.go index 0d64a61db..8bd2c61e7 100644 --- a/android/paths.go +++ b/android/paths.go @@ -44,6 +44,7 @@ type ModuleInstallPathContext interface { BaseModuleContext InstallInData() bool + InstallInTestcases() bool InstallInSanitizerDir() bool InstallInRecovery() bool InstallBypassMake() bool @@ -1155,6 +1156,8 @@ func modulePartition(ctx ModuleInstallPathContext) string { var partition string if ctx.InstallInData() { partition = "data" + } else if ctx.InstallInTestcases() { + partition = "testcases" } else if ctx.InstallInRecovery() { // the layout of recovery partion is the same as that of system partition partition = "recovery/root/system" |