Remove USE_CLANG_LLD[=false]
This should always be true now. It will be a change for side branches (build_tools, etc) that weren't setting UseClangLld in the soong.variables file. Test: treehugger Change-Id: I9fd6157fda630bf8bb939677dbcb026f02685f19
This commit is contained in:
@@ -646,10 +646,6 @@ func (c *config) TargetOpenJDK9() bool {
|
|||||||
return c.targetOpenJDK9
|
return c.targetOpenJDK9
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *config) UseClangLld() bool {
|
|
||||||
return Bool(c.productVariables.UseClangLld)
|
|
||||||
}
|
|
||||||
|
|
||||||
func (c *config) ClangTidy() bool {
|
func (c *config) ClangTidy() bool {
|
||||||
return Bool(c.productVariables.ClangTidy)
|
return Bool(c.productVariables.ClangTidy)
|
||||||
}
|
}
|
||||||
|
@@ -201,8 +201,6 @@ type productVariables struct {
|
|||||||
ProductPath *string `json:",omitempty"`
|
ProductPath *string `json:",omitempty"`
|
||||||
ProductServicesPath *string `json:",omitempty"`
|
ProductServicesPath *string `json:",omitempty"`
|
||||||
|
|
||||||
UseClangLld *bool `json:",omitempty"`
|
|
||||||
|
|
||||||
ClangTidy *bool `json:",omitempty"`
|
ClangTidy *bool `json:",omitempty"`
|
||||||
TidyChecks *string `json:",omitempty"`
|
TidyChecks *string `json:",omitempty"`
|
||||||
|
|
||||||
|
@@ -289,7 +289,7 @@ func (linker *baseLinker) useClangLld(ctx ModuleContext) bool {
|
|||||||
if linker.Properties.Use_clang_lld != nil {
|
if linker.Properties.Use_clang_lld != nil {
|
||||||
return Bool(linker.Properties.Use_clang_lld)
|
return Bool(linker.Properties.Use_clang_lld)
|
||||||
}
|
}
|
||||||
return ctx.Config().UseClangLld()
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
// ModuleContext extends BaseModuleContext
|
// ModuleContext extends BaseModuleContext
|
||||||
|
@@ -76,7 +76,7 @@ func (lto *lto) useClangLld(ctx BaseModuleContext) bool {
|
|||||||
if lto.Properties.Use_clang_lld != nil {
|
if lto.Properties.Use_clang_lld != nil {
|
||||||
return Bool(lto.Properties.Use_clang_lld)
|
return Bool(lto.Properties.Use_clang_lld)
|
||||||
}
|
}
|
||||||
return ctx.Config().UseClangLld()
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
func (lto *lto) flags(ctx BaseModuleContext, flags Flags) Flags {
|
func (lto *lto) flags(ctx BaseModuleContext, flags Flags) Flags {
|
||||||
|
Reference in New Issue
Block a user