| Index: build/config/android/BUILD.gn
|
| diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn
|
| index 4cabe117b543d819c26dc62f600d91f1d828af39..e6270c31364481b346b7b4a8cdbec90b5ddc6b48 100644
|
| --- a/build/config/android/BUILD.gn
|
| +++ b/build/config/android/BUILD.gn
|
| @@ -42,14 +42,6 @@ config("compiler") {
|
| }
|
| }
|
|
|
| - if (is_asan) {
|
| - # Android build relies on -Wl,--gc-sections removing unreachable code.
|
| - # ASan instrumentation for globals inhibits this and results in a library
|
| - # with unresolvable relocations.
|
| - # TODO(eugenis): find a way to reenable this.
|
| - cflags += [ "-mllvm -asan-globals=0" ]
|
| - }
|
| -
|
| # Use gold for Android for most CPU architectures.
|
| if (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm") {
|
| ldflags += [ "-fuse-ld=gold" ]
|
|
|