Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(261)

Side by Side Diff: tools/clang/blink_gc_plugin/CMakeLists.txt

Issue 1926863002: GC plugin: split out reporting of errors/warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 set(LIBRARYNAME BlinkGCPlugin) 1 set(LIBRARYNAME BlinkGCPlugin)
2 2
3 set(plugin_sources 3 set(plugin_sources
4 BlinkGCPlugin.cpp 4 BlinkGCPlugin.cpp
5 BlinkGCPluginConsumer.cpp 5 BlinkGCPluginConsumer.cpp
6 CheckDispatchVisitor.cpp 6 CheckDispatchVisitor.cpp
7 CheckFieldsVisitor.cpp 7 CheckFieldsVisitor.cpp
8 CheckFinalizerVisitor.cpp 8 CheckFinalizerVisitor.cpp
9 CheckGCRootsVisitor.cpp 9 CheckGCRootsVisitor.cpp
10 CheckTraceVisitor.cpp 10 CheckTraceVisitor.cpp
11 CollectVisitor.cpp 11 CollectVisitor.cpp
12 Config.cpp 12 Config.cpp
13 DiagnosticsReporter.cpp
13 Edge.cpp 14 Edge.cpp
14 RecordInfo.cpp) 15 RecordInfo.cpp)
15 16
16 if(WIN32) 17 if(WIN32)
17 # Clang doesn't support loadable modules on Windows. Unfortunately, building 18 # Clang doesn't support loadable modules on Windows. Unfortunately, building
18 # the plugin as a static library and linking clang against it doesn't work. 19 # the plugin as a static library and linking clang against it doesn't work.
19 # Since clang doesn't reference any symbols in our static library, the linker 20 # Since clang doesn't reference any symbols in our static library, the linker
20 # strips it out completely. 21 # strips it out completely.
21 # Instead, we rely on the fact that the SOURCES property of a target is no 22 # Instead, we rely on the fact that the SOURCES property of a target is no
22 # read-only after CMake 3.1 and use it to compile the plugin directly into 23 # read-only after CMake 3.1 and use it to compile the plugin directly into
(...skipping 15 matching lines...) Expand all
38 add_dependencies("lib${LIBRARYNAME}" clang) 39 add_dependencies("lib${LIBRARYNAME}" clang)
39 40
40 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib) 41 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib)
41 42
42 cr_add_test(blink_gc_plugin_test 43 cr_add_test(blink_gc_plugin_test
43 python tests/test.py 44 python tests/test.py
44 ${CMAKE_BINARY_DIR}/bin/clang 45 ${CMAKE_BINARY_DIR}/bin/clang
45 $<TARGET_FILE:lib${LIBRARYNAME}> 46 $<TARGET_FILE:lib${LIBRARYNAME}>
46 ) 47 )
47 endif() 48 endif()
OLDNEW
« no previous file with comments | « tools/clang/blink_gc_plugin/BlinkGCPluginConsumer.cpp ('k') | tools/clang/blink_gc_plugin/CheckFieldsVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698