Remove obsolete Brillo variable
Test: none Change-Id: I6a5ce57b317f0cdae1abef15def01e6a31e18d3e
This commit is contained in:
parent
9c6bc37da1
commit
a052599bb6
3 changed files with 0 additions and 13 deletions
|
@ -42,11 +42,6 @@ type variableProperties struct {
|
|||
Enabled *bool `android:"arch_variant"`
|
||||
} `android:"arch_variant"`
|
||||
|
||||
Brillo struct {
|
||||
Cflags []string
|
||||
Version_script *string `android:"arch_variant"`
|
||||
} `android:"arch_variant"`
|
||||
|
||||
Malloc_not_svelte struct {
|
||||
Cflags []string
|
||||
}
|
||||
|
@ -156,7 +151,6 @@ type productVariables struct {
|
|||
|
||||
Allow_missing_dependencies *bool `json:",omitempty"`
|
||||
Unbundled_build *bool `json:",omitempty"`
|
||||
Brillo *bool `json:",omitempty"`
|
||||
Malloc_not_svelte *bool `json:",omitempty"`
|
||||
Safestack *bool `json:",omitempty"`
|
||||
HostStaticBinaries *bool `json:",omitempty"`
|
||||
|
|
|
@ -369,10 +369,6 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
|
|||
fmt.Sprintf("${config.%sGlobalCflags}", hod))
|
||||
}
|
||||
|
||||
if Bool(ctx.Config().ProductVariables.Brillo) {
|
||||
flags.GlobalFlags = append(flags.GlobalFlags, "-D__BRILLO__")
|
||||
}
|
||||
|
||||
if ctx.Device() {
|
||||
if Bool(compiler.Properties.Rtti) {
|
||||
flags.CppFlags = append(flags.CppFlags, "-frtti")
|
||||
|
|
|
@ -196,9 +196,6 @@ func makeVarsToolchain(ctx android.MakeVarsContext, secondPrefix string,
|
|||
hod = "Device"
|
||||
}
|
||||
|
||||
if target.Os.Class == android.Device && Bool(ctx.Config().ProductVariables.Brillo) {
|
||||
productExtraCflags += "-D__BRILLO__"
|
||||
}
|
||||
if target.Os.Class == android.Host && Bool(ctx.Config().ProductVariables.HostStaticBinaries) {
|
||||
productExtraLdflags += "-static"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue