Roll src/third_party/WebKit f36d5e0:68b67cd (svn 193299:193303)
[chromium-blink-merge.git] / tools / clang / plugins / CMakeLists.txt
blobd17de19fcd09d79a5a41860469a9dd97a557f29a
1 add_llvm_loadable_module(libFindBadConstructs
2                          ChromeClassTester.cpp
3                          FindBadConstructsAction.cpp
4                          FindBadConstructsConsumer.cpp
5                         )
7 add_dependencies(libFindBadConstructs clang)
9 cr_install(TARGETS libFindBadConstructs LIBRARY DESTINATION lib)
11 cr_add_test(plugins_test
12   ${CMAKE_CURRENT_SOURCE_DIR}/tests/test.sh
13   ${CMAKE_BINARY_DIR}/bin/clang
14   $<TARGET_FILE:libFindBadConstructs>
15   )