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
This commit is contained in:
Jaekyun Seok
2018-01-10 19:00:15 +09:00
parent fdc2b3bebe
commit 5cfbfbb67a
7 changed files with 18 additions and 18 deletions

View File

@@ -676,11 +676,11 @@ func (c *deviceConfig) OdmPath() string {
return "odm"
}
func (c *deviceConfig) OemPath() string {
if c.config.ProductVariables.OemPath != nil {
return *c.config.ProductVariables.OemPath
func (c *deviceConfig) ProductPath() string {
if c.config.ProductVariables.ProductPath != nil {
return *c.config.ProductVariables.ProductPath
}
return "oem"
return "product"
}
func (c *deviceConfig) BtConfigIncludeDir() string {