Handle arch-specific/not properties the same.
Refactor arch-handling code to return a "no-config" axis which allows handling non-arch configed properties the same way as arch-configed properties. Test: build/bazel/ci/bp2build.sh Change-Id: I485b35fd91c28501fe2055234dc9b278488bf4b5
This commit is contained in:
@@ -261,8 +261,12 @@ func (compiler *baseCompiler) compilerProps() []interface{} {
|
||||
return []interface{}{&compiler.Properties, &compiler.Proto}
|
||||
}
|
||||
|
||||
func includeBuildDirectory(prop *bool) bool {
|
||||
return proptools.BoolDefault(prop, true)
|
||||
}
|
||||
|
||||
func (compiler *baseCompiler) includeBuildDirectory() bool {
|
||||
return proptools.BoolDefault(compiler.Properties.Include_build_directory, true)
|
||||
return includeBuildDirectory(compiler.Properties.Include_build_directory)
|
||||
}
|
||||
|
||||
func (compiler *baseCompiler) compilerInit(ctx BaseModuleContext) {}
|
||||
|
Reference in New Issue
Block a user