| OLD | NEW |
| 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 |
| 6 CheckDispatchVisitor.cpp |
| 7 CheckFieldsVisitor.cpp |
| 8 CheckFinalizerVisitor.cpp |
| 9 CheckGCRootsVisitor.cpp |
| 10 CheckTraceVisitor.cpp |
| 11 CollectVisitor.cpp |
| 12 Config.cpp |
| 5 Edge.cpp | 13 Edge.cpp |
| 6 RecordInfo.cpp) | 14 RecordInfo.cpp) |
| 7 | 15 |
| 8 if(WIN32) | 16 if(WIN32) |
| 9 # Clang doesn't support loadable modules on Windows. Unfortunately, building | 17 # Clang doesn't support loadable modules on Windows. Unfortunately, building |
| 10 # the plugin as a static library and linking clang against it doesn't work. | 18 # the plugin as a static library and linking clang against it doesn't work. |
| 11 # Since clang doesn't reference any symbols in our static library, the linker | 19 # Since clang doesn't reference any symbols in our static library, the linker |
| 12 # strips it out completely. | 20 # strips it out completely. |
| 13 # Instead, we rely on the fact that the SOURCES property of a target is no | 21 # Instead, we rely on the fact that the SOURCES property of a target is no |
| 14 # read-only after CMake 3.1 and use it to compile the plugin directly into | 22 # read-only after CMake 3.1 and use it to compile the plugin directly into |
| (...skipping 17 matching lines...) Expand all Loading... |
| 32 | 40 |
| 33 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib) | 41 cr_install(TARGETS "lib${LIBRARYNAME}" LIBRARY DESTINATION lib) |
| 34 | 42 |
| 35 cr_add_test(blink_gc_plugin_test | 43 cr_add_test(blink_gc_plugin_test |
| 36 python | 44 python |
| 37 ${CMAKE_CURRENT_SOURCE_DIR}/tests/test.py | 45 ${CMAKE_CURRENT_SOURCE_DIR}/tests/test.py |
| 38 ${CMAKE_BINARY_DIR}/bin/clang | 46 ${CMAKE_BINARY_DIR}/bin/clang |
| 39 $<TARGET_FILE:lib${LIBRARYNAME}> | 47 $<TARGET_FILE:lib${LIBRARYNAME}> |
| 40 ) | 48 ) |
| 41 endif() | 49 endif() |
| OLD | NEW |