Remove (TARGET|HOST)_BUILD_TYPE path modifications
They don't really affect anything general in android except for the output path. Bug: 65453318 Test: TARGET_BUILD_TYPE=debug m Change-Id: I98c17fefae61f9f7936e184bd1f8441086bb7d23
This commit is contained in:
@@ -403,11 +403,7 @@ func (c *configImpl) SoongMakeVarsMk() string {
|
||||
}
|
||||
|
||||
func (c *configImpl) ProductOut() string {
|
||||
if buildType, ok := c.environ.Get("TARGET_BUILD_TYPE"); ok && buildType == "debug" {
|
||||
return filepath.Join(c.OutDir(), "debug", "target", "product", c.TargetDevice())
|
||||
} else {
|
||||
return filepath.Join(c.OutDir(), "target", "product", c.TargetDevice())
|
||||
}
|
||||
return filepath.Join(c.OutDir(), "target", "product", c.TargetDevice())
|
||||
}
|
||||
|
||||
func (c *configImpl) DevicePreviousProductConfig() string {
|
||||
@@ -415,11 +411,7 @@ func (c *configImpl) DevicePreviousProductConfig() string {
|
||||
}
|
||||
|
||||
func (c *configImpl) hostOutRoot() string {
|
||||
if buildType, ok := c.environ.Get("HOST_BUILD_TYPE"); ok && buildType == "debug" {
|
||||
return filepath.Join(c.OutDir(), "debug", "host")
|
||||
} else {
|
||||
return filepath.Join(c.OutDir(), "host")
|
||||
}
|
||||
return filepath.Join(c.OutDir(), "host")
|
||||
}
|
||||
|
||||
func (c *configImpl) HostOut() string {
|
||||
|
Reference in New Issue
Block a user