diff --git a/BUILD.gn b/BUILD.gn index 0c0749998..2288e24a5 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -22,13 +22,6 @@ declare_args() { config("libyuv_config") { include_dirs = [ "include" ] - if (is_android) { - if (target_cpu == "arm" || target_cpu == "x86") { - ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker" ] - } else { - ldflags = [ "-Wl,--dynamic-linker,/system/bin/linker64" ] - } - } # Define CHROMIUM to tell cpu_id to avoid sandbox unsafe system calls. defines = [ "CHROMIUM" ] diff --git a/libyuv.gyp b/libyuv.gyp index 394840216..fa4b146a4 100644 --- a/libyuv.gyp +++ b/libyuv.gyp @@ -122,18 +122,6 @@ 'include', '.', ], - 'conditions': [ - ['OS == "android" and target_arch == "arm64"', { - 'ldflags': [ - '-Wl,--dynamic-linker,/system/bin/linker64', - ], - }], - ['OS == "android" and target_arch != "arm64"', { - 'ldflags': [ - '-Wl,--dynamic-linker,/system/bin/linker', - ], - }], - ], #conditions }, 'sources': [ '<@(libyuv_sources)',