Revert "Build system changes for CFI (Soong)"
This reverts commit d4b484b070
.
Rationale: second in group of commits that left aosp_x86_64 not
building. (See https://android-build.googleplex.com/builds/
submitted/4426589/aosp_x86_64-eng/latest/logs/build_error.log)
Bug: 30227045
Test: builds
Change-Id: I38ab5284c614d6ee68e7359219bd75c7d50131be
This commit is contained in:
committed by
Colin Cross
parent
da11d7422f
commit
33c252c2f1
@@ -513,10 +513,6 @@ func (library *libraryDecorator) linkShared(ctx ModuleContext,
|
||||
if versionScript.Valid() {
|
||||
flags.LdFlags = append(flags.LdFlags, "-Wl,--version-script,"+versionScript.String())
|
||||
linkerDeps = append(linkerDeps, versionScript.Path())
|
||||
if library.sanitize.isSanitizerEnabled(cfi) {
|
||||
flags.LdFlags = append(flags.LdFlags, "-Wl,--version-script,"+cfiExportsMap.String())
|
||||
linkerDeps = append(linkerDeps, cfiExportsMap)
|
||||
}
|
||||
}
|
||||
if unexportedSymbols.Valid() {
|
||||
ctx.PropertyErrorf("unexported_symbols_list", "Only supported on Darwin")
|
||||
|
Reference in New Issue
Block a user