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

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

Issue 1810243002: Check for unstable types in IPC messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment Created 4 years, 8 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
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | tools/clang/plugins/CheckIPCVisitor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 set(plugin_sources 1 set(plugin_sources
2 ChromeClassTester.cpp 2 ChromeClassTester.cpp
3 FindBadConstructsAction.cpp 3 FindBadConstructsAction.cpp
4 FindBadConstructsConsumer.cpp) 4 FindBadConstructsConsumer.cpp
5 CheckIPCVisitor.cpp)
5 6
6 if(WIN32) 7 if(WIN32)
7 # Clang doesn't support loadable modules on Windows. Unfortunately, building 8 # Clang doesn't support loadable modules on Windows. Unfortunately, building
8 # the plugin as a static library and linking clang against it doesn't work. 9 # the plugin as a static library and linking clang against it doesn't work.
9 # Since clang doesn't reference any symbols in our static library, the linker 10 # Since clang doesn't reference any symbols in our static library, the linker
10 # strips it out completely. 11 # strips it out completely.
11 # Instead, we rely on the fact that the SOURCES property of a target is no 12 # Instead, we rely on the fact that the SOURCES property of a target is no
12 # read-only after CMake 3.1 and use it to compile the plugin directly into 13 # read-only after CMake 3.1 and use it to compile the plugin directly into
13 # clang... 14 # clang...
14 cmake_minimum_required(VERSION 3.1) 15 cmake_minimum_required(VERSION 3.1)
(...skipping 13 matching lines...) Expand all
28 add_dependencies(libFindBadConstructs clang) 29 add_dependencies(libFindBadConstructs clang)
29 30
30 cr_install(TARGETS libFindBadConstructs LIBRARY DESTINATION lib) 31 cr_install(TARGETS libFindBadConstructs LIBRARY DESTINATION lib)
31 32
32 cr_add_test(plugins_test 33 cr_add_test(plugins_test
33 python tests/test.py 34 python tests/test.py
34 ${CMAKE_BINARY_DIR}/bin/clang 35 ${CMAKE_BINARY_DIR}/bin/clang
35 $<TARGET_FILE:libFindBadConstructs> 36 $<TARGET_FILE:libFindBadConstructs>
36 ) 37 )
37 endif() 38 endif()
OLDNEW
« no previous file with comments | « ipc/ipc_message_utils.h ('k') | tools/clang/plugins/CheckIPCVisitor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698