Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / blink_gc_plugin / CMakeLists.txt
blob7f1dee3dab3bca9c17f75905560db3c3880a549c
1 # This line is read by update.sh and other scripts in tools/clang/scripts
2 # Note: The spaces are significant.
3 set(LIBRARYNAME BlinkGCPlugin)
5 add_llvm_loadable_module("lib${LIBRARYNAME}"
6                          BlinkGCPlugin.cpp
7                          Edge.cpp
8                          RecordInfo.cpp
9                         )
11 add_dependencies("lib${LIBRARYNAME}" clang)
13 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib)
15 cr_add_test(blink_gc_plugin_test
16   ${CMAKE_CURRENT_SOURCE_DIR}/tests/test.sh
17   ${CMAKE_BINARY_DIR}/bin/clang
18   $<TARGET_FILE:lib${LIBRARYNAME}>
19   )