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:
Dan Willemsen
2018-10-21 19:47:01 -07:00
parent 6f03752422
commit fa2aee1ca4
4 changed files with 2 additions and 8 deletions

View File

@@ -646,10 +646,6 @@ func (c *config) TargetOpenJDK9() bool {
return c.targetOpenJDK9
}
func (c *config) UseClangLld() bool {
return Bool(c.productVariables.UseClangLld)
}
func (c *config) ClangTidy() bool {
return Bool(c.productVariables.ClangTidy)
}

View File

@@ -201,8 +201,6 @@ type productVariables struct {
ProductPath *string `json:",omitempty"`
ProductServicesPath *string `json:",omitempty"`
UseClangLld *bool `json:",omitempty"`
ClangTidy *bool `json:",omitempty"`
TidyChecks *string `json:",omitempty"`

View File

@@ -289,7 +289,7 @@ func (linker *baseLinker) useClangLld(ctx ModuleContext) bool {
if linker.Properties.Use_clang_lld != nil {
return Bool(linker.Properties.Use_clang_lld)
}
return ctx.Config().UseClangLld()
return true
}
// ModuleContext extends BaseModuleContext

View File

@@ -76,7 +76,7 @@ func (lto *lto) useClangLld(ctx BaseModuleContext) bool {
if lto.Properties.Use_clang_lld != nil {
return Bool(lto.Properties.Use_clang_lld)
}
return ctx.Config().UseClangLld()
return true
}
func (lto *lto) flags(ctx BaseModuleContext, flags Flags) Flags {