Use prebuilt dx for PDK builds

The source for dx may not be available in PDK builds, use the
prebuilt one from prebuilts/build-tools instead.

Bug: 67663308
Test: m TARGET_BUILD_PDK=true
Change-Id: I9090b5190539f901fc05264a472133c12d4ea2a1
This commit is contained in:
Colin Cross
2017-10-24 10:51:45 -07:00
parent 1e45cb77a0
commit 0d3f8c0db6
2 changed files with 5 additions and 1 deletions

View File

@@ -496,6 +496,10 @@ func (c *config) UnbundledBuild() bool {
return Bool(c.ProductVariables.Unbundled_build)
}
func (c *config) IsPdkBuild() bool {
return Bool(c.ProductVariables.Pdk)
}
func (c *config) DevicePrefer32BitExecutables() bool {
return Bool(c.ProductVariables.DevicePrefer32BitExecutables)
}