From e9df434539745202fa5f9b729fe5f82e5de3f025 Mon Sep 17 00:00:00 2001 From: Zachary Anderson Date: Sat, 9 Mar 2024 20:06:11 +0000 Subject: [PATCH] Remove exec_script() that always returns the empty string (#834) For https://github.com/flutter/flutter/issues/144430 Validated in https://github.com/flutter/engine/pull/51306 --- 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") ] } }