dexpreopt.config should be created even though unbundled image is built
Bug: 188179858 Test: compare dexpreopt_config.zip files from 1. TARGET_BUILD_UNBUNDLED_IMAGE=true m dexpreopt_config_zip 2. m dexpreopt_config_zip (note that m clean should run between steps) Change-Id: I36a6e8b10b9922cc5522accaf90af1aa05049a86
This commit is contained in:
@@ -821,6 +821,12 @@ func (c *config) UnbundledBuildApps() bool {
|
||||
return Bool(c.productVariables.Unbundled_build_apps)
|
||||
}
|
||||
|
||||
// Returns true if building image that aren't bundled with the platform.
|
||||
// UnbundledBuild() is always true when this is true.
|
||||
func (c *config) UnbundledBuildImage() bool {
|
||||
return Bool(c.productVariables.Unbundled_build_image)
|
||||
}
|
||||
|
||||
// Returns true if building modules against prebuilt SDKs.
|
||||
func (c *config) AlwaysUsePrebuiltSdks() bool {
|
||||
return Bool(c.productVariables.Always_use_prebuilt_sdks)
|
||||
|
Reference in New Issue
Block a user