Support eng product variable
The eng product variable will be true for builds where TARGET_BUILD_VARIANT==eng. Test: mmma -j frameworks/compile/libbcc Change-Id: I808129740643495370bea64df3fe5bcf01eb9915
This commit is contained in:
@@ -66,10 +66,21 @@ type variableProperties struct {
|
|||||||
Cflags []string
|
Cflags []string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// debuggable is true for eng and userdebug builds, and can be used to turn on additional
|
||||||
|
// debugging features that don't significantly impact runtime behavior. userdebug builds
|
||||||
|
// are used for dogfooding and performance testing, and should be as similar to user builds
|
||||||
|
// as possible.
|
||||||
Debuggable struct {
|
Debuggable struct {
|
||||||
Cflags []string
|
Cflags []string
|
||||||
Cppflags []string
|
Cppflags []string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// eng is true for -eng builds, and can be used to turn on additionaly heavyweight debugging
|
||||||
|
// features.
|
||||||
|
Eng struct {
|
||||||
|
Cflags []string
|
||||||
|
Cppflags []string
|
||||||
|
}
|
||||||
} `android:"arch_variant"`
|
} `android:"arch_variant"`
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -112,6 +123,7 @@ type productVariables struct {
|
|||||||
Binder32bit *bool `json:",omitempty"`
|
Binder32bit *bool `json:",omitempty"`
|
||||||
UseGoma *bool `json:",omitempty"`
|
UseGoma *bool `json:",omitempty"`
|
||||||
Debuggable *bool `json:",omitempty"`
|
Debuggable *bool `json:",omitempty"`
|
||||||
|
Eng *bool `json:",omitempty"`
|
||||||
|
|
||||||
VendorPath *string `json:",omitempty"`
|
VendorPath *string `json:",omitempty"`
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user