Index: tools/clang/blink_gc_plugin/Makefile |
diff --git a/tools/clang/blink_gc_plugin/Makefile b/tools/clang/blink_gc_plugin/Makefile |
new file mode 100644 |
index 0000000000000000000000000000000000000000..0f7043f45f60a58f2fd9823a539689dc4950a67d |
--- /dev/null |
+++ b/tools/clang/blink_gc_plugin/Makefile |
@@ -0,0 +1,21 @@ |
+# This file requires the clang build system, at least for now. So to use this |
+# Makefile, you should execute the following commands to copy this directory |
+# into a clang checkout: |
+# |
+# cp -R <this directory> third_party/llvm/tools/clang/tools/chrome-plugin |
+# cd third_party/llvm/tools/clang/tools/chrome-plugin |
+# make |
+ |
+CLANG_LEVEL := ../.. |
+ |
+# This line is read by update.sh and other scripts in tools/clang/scripts |
+LIBRARYNAME = BlinkGCPlugin_9 |
+ |
+LINK_LIBS_IN_SHARED = 0 |
+SHARED_LIBRARY = 1 |
+ |
+include $(CLANG_LEVEL)/Makefile |
+ |
+ifeq ($(OS),Darwin) |
+ LDFLAGS+=-Wl,-undefined,dynamic_lookup |
+endif |