From 042214c07b3f6480a9bb131e8b480938c48fc9da Mon Sep 17 00:00:00 2001 From: Zach Anderson Date: Fri, 8 Mar 2024 20:41:12 -0800 Subject: [PATCH] Remove exec_script() that always returns the empty string --- build/config/android/BUILD.gn | 9 --------- 1 file changed, 9 deletions(-) diff --git a/build/config/android/BUILD.gn b/build/config/android/BUILD.gn index 1aaccde17e..bf69c80713 100644 --- a/build/config/android/BUILD.gn +++ b/build/config/android/BUILD.gn @@ -9,15 +9,6 @@ config("sdk") { if (sysroot != "") { cflags = [ "--sysroot=" + sysroot ] ldflags = [ "-L" + rebase_path("$android_lib", root_build_dir) ] - - # Need to get some linker flags out of the sysroot. - sysroot_ld_path = rebase_path("//build/config/linux/sysroot_ld_path.py") - ldflags += [ exec_script(sysroot_ld_path, - [ - rebase_path("//build/linux/sysroot_ld_path.sh"), - sysroot, - ], - "value") ] } }