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
|
||||
}
|
||||
|
||||
func (c *config) UseClangLld() bool {
|
||||
return Bool(c.productVariables.UseClangLld)
|
||||
}
|
||||
|
||||
func (c *config) ClangTidy() bool {
|
||||
return Bool(c.productVariables.ClangTidy)
|
||||
}
|
||||
|
@@ -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"`
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user