| OLD | NEW |
| 1 cmake_minimum_required(VERSION 2.8.8) | 1 cmake_minimum_required(VERSION 2.8.8) |
| 2 project(BlinkGCPlugin) | 2 project(BlinkGCPlugin) |
| 3 | 3 |
| 4 # This pugin is built using LLVM's build system, not Chromium's. | 4 # This pugin is built using LLVM's build system, not Chromium's. |
| 5 # It expects LLVM_SRC_DIR and LLVM_BUILD_DIR to be set. | 5 # It expects LLVM_SRC_DIR and LLVM_BUILD_DIR to be set. |
| 6 # For example: | 6 # For example: |
| 7 # | 7 # |
| 8 # cmake -GNinja \ | 8 # cmake -GNinja \ |
| 9 # -DLLVM_BUILD_DIR=$CHROMIUM_SRC_DIR/third_party/llvm-build/Release+Asserts \ | 9 # -DLLVM_BUILD_DIR=$CHROMIUM_SRC_DIR/third_party/llvm-build/Release+Asserts \ |
| 10 # -DLLVM_SRC_DIR=$CHROMIUM_SRC_DIR/third_party/llvm \ | 10 # -DLLVM_SRC_DIR=$CHROMIUM_SRC_DIR/third_party/llvm \ |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 set(LLVM_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin") | 30 set(LLVM_RUNTIME_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/bin") |
| 31 set(LLVM_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib") | 31 set(LLVM_LIBRARY_OUTPUT_INTDIR "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/lib") |
| 32 | 32 |
| 33 include_directories("${LLVM_SRC_DIR}/include" | 33 include_directories("${LLVM_SRC_DIR}/include" |
| 34 "${LLVM_SRC_DIR}/tools/clang/include" | 34 "${LLVM_SRC_DIR}/tools/clang/include" |
| 35 "${LLVM_BUILD_DIR}/include" | 35 "${LLVM_BUILD_DIR}/include" |
| 36 "${LLVM_BUILD_DIR}/tools/clang/include") | 36 "${LLVM_BUILD_DIR}/tools/clang/include") |
| 37 | 37 |
| 38 # This line is read by update.sh and other scripts in tools/clang/scripts | 38 # This line is read by update.sh and other scripts in tools/clang/scripts |
| 39 # Note: The spaces are significant. | 39 # Note: The spaces are significant. |
| 40 set(LIBRARYNAME BlinkGCPlugin_11) | 40 set(LIBRARYNAME BlinkGCPlugin_12) |
| 41 | 41 |
| 42 add_llvm_loadable_module("lib${LIBRARYNAME}" | 42 add_llvm_loadable_module("lib${LIBRARYNAME}" |
| 43 BlinkGCPlugin.cpp | 43 BlinkGCPlugin.cpp |
| 44 Edge.cpp | 44 Edge.cpp |
| 45 RecordInfo.cpp | 45 RecordInfo.cpp |
| 46 ) | 46 ) |
| OLD | NEW |