Remove USE_CLANG_LLD[=false]

am: fa2aee1ca4

Change-Id: I744266fc07dbf62fe8dc2a42903a26acd14ad4e8
This commit is contained in:
Dan Willemsen
2018-10-22 15:41:36 -07:00
committed by android-build-merger
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 {