diff options
author | Jaekyun Seok <jaekyun@google.com> | 2018-01-10 19:00:15 +0900 |
---|---|---|
committer | Jaekyun Seok <jaekyun@google.com> | 2018-01-25 07:50:35 +0900 |
commit | 5cfbfbb67afb772e29c285e72e385c18a16a23ec (patch) | |
tree | 1f845afbdb9604cf3c362b918c20e2b2609063b4 /android/paths.go | |
parent | fdc2b3bebef0b7a270842d53b46577046bb14e44 (diff) | |
download | build_soong-5cfbfbb67afb772e29c285e72e385c18a16a23ec.tar.gz build_soong-5cfbfbb67afb772e29c285e72e385c18a16a23ec.tar.bz2 build_soong-5cfbfbb67afb772e29c285e72e385c18a16a23ec.zip |
Use product instead of oem for Product specific module
Bug: 64195575
Test: succeeded building product.img with BOARD_PRODUCTIMAGE_PARTITION_SIZE,
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE and PRODUCT_PRODUCT_VERITY_PARTITION.
Change-Id: Icc4f8c16bc389fe20db680849f311d02df1299c3
Diffstat (limited to 'android/paths.go')
-rw-r--r-- | android/paths.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/paths.go b/android/paths.go index 4d9c8586..e941e964 100644 --- a/android/paths.go +++ b/android/paths.go @@ -850,7 +850,7 @@ func PathForModuleInstall(ctx ModuleInstallPathContext, pathComponents ...string } else if ctx.DeviceSpecific() { partition = ctx.DeviceConfig().OdmPath() } else if ctx.ProductSpecific() { - partition = ctx.DeviceConfig().OemPath() + partition = ctx.DeviceConfig().ProductPath() } else { partition = "system" } |