Index: components/cronet/android/BUILD.gn |
diff --git a/components/cronet/android/BUILD.gn b/components/cronet/android/BUILD.gn |
index b399a563ed7f6b6e595af2245cceb00fcc35addf..2d327ef126675042ea1268cdfff3fc1ceba37900 100644 |
--- a/components/cronet/android/BUILD.gn |
+++ b/components/cronet/android/BUILD.gn |
@@ -264,13 +264,6 @@ shared_library("cronet") { |
"//base", |
"//net:net", |
] |
- ldflags = [ "-Wl,--version-script=" + |
- rebase_path("//components/cronet/android/only_jni_exports.lst") ] |
- |
- # Avoid hide_native_jni_exports as it adds another version script, and the |
- # ARM64 linker throws an error for multiple version scripts with anonymous |
- # version tags. |
- configs -= [ "//build/config/android:hide_native_jni_exports" ] |
} |
cronet_api_srcjar_deps = [ ":cronet_api_version_srcjar" ] |
@@ -552,14 +545,6 @@ shared_library("cronet_tests") { |
include_dirs = [ _cronet_version_header_include_dir ] |
- ldflags = [ "-Wl,--version-script=" + |
- rebase_path("//components/cronet/android/only_jni_exports.lst") ] |
- |
- # Avoid hide_native_jni_exports as it adds another version script, and the |
- # ARM64 linker throws an error for multiple version scripts with anonymous |
- # version tags. |
- configs -= [ "//build/config/android:hide_native_jni_exports" ] |
- |
if (cronet_enable_data_reduction_proxy_support) { |
deps += [ "//components/data_reduction_proxy/core/browser:browser_small" ] |
} |