Index: tools/clang/scripts/blink_gc_plugin_flags.sh |
diff --git a/tools/clang/scripts/blink_gc_plugin_flags.sh b/tools/clang/scripts/blink_gc_plugin_flags.sh |
index 25c587294b076ea0940b384c73021707060a8864..c44d7f9b2e99b63d122bbcc4619d98ac43b01f89 100755 |
--- a/tools/clang/scripts/blink_gc_plugin_flags.sh |
+++ b/tools/clang/scripts/blink_gc_plugin_flags.sh |
@@ -13,10 +13,9 @@ if uname -s | grep -q Darwin; then |
else |
LIBSUFFIX=so |
fi |
- |
LIBNAME=\ |
-$(grep LIBRARYNAME "$THIS_ABS_DIR"/../blink_gc_plugin/Makefile \ |
- | cut -d ' ' -f 3) |
+$(grep 'set( LIBRARYNAME' "$THIS_ABS_DIR"/../blink_gc_plugin/CMakeLists.txt \ |
+ | cut -d '_' -f 2) |
FLAGS="" |
for arg in "$@"; do |