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

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

Issue 2793343002: Add --enable-pgo option to build clang with PGO
Patch Set: Add --enable-pgo option to build clang with PGO Created 3 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 | « no previous file | tools/clang/PGO-stage2.cmake » ('j') | tools/clang/PGO-stage2.cmake » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 cmake_minimum_required(VERSION 2.8.8) 1 cmake_minimum_required(VERSION 2.8.8)
2 project(ChromeExtras) 2 project(ChromeExtras)
3 enable_testing() 3 enable_testing()
4 4
5 list(APPEND CMAKE_MODULE_PATH "${LLVM_BUILD_DIR}/share/llvm/cmake") 5 list(APPEND CMAKE_MODULE_PATH "${LLVM_BUILD_DIR}/share/llvm/cmake")
6 6
7 # These tools are built using LLVM's build system, not Chromium's. 7 # These tools are built using LLVM's build system, not Chromium's.
8 # The build script generates a shim CMakeLists.txt in the LLVM source tree, 8 # The build script generates a shim CMakeLists.txt in the LLVM source tree,
9 # which simply forwards to this file. 9 # which simply forwards to this file.
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 function(cr_install) 52 function(cr_install)
53 install(${ARGN} COMPONENT chrome-tools OPTIONAL) 53 install(${ARGN} COMPONENT chrome-tools OPTIONAL)
54 endfunction(cr_install) 54 endfunction(cr_install)
55 55
56 # Custom install target, so the chrome tools can be installed without installing 56 # Custom install target, so the chrome tools can be installed without installing
57 # all the other LLVM targets. 57 # all the other LLVM targets.
58 add_custom_target(cr-install COMMAND 58 add_custom_target(cr-install COMMAND
59 ${CMAKE_COMMAND} -D COMPONENT=chrome-tools -P cmake_install.cmake) 59 ${CMAKE_COMMAND} -D COMPONENT=chrome-tools -P cmake_install.cmake)
60 60
61 foreach(tool ${CHROMIUM_TOOLS}) 61 if (CHROMIUM_TOOLS)
Nico 2017/04/07 15:58:53 why this change? seems independent of the rest of
matthewtff.asm 2017/04/11 12:14:43 We do not pass -DBOOTSTRAP_CHROMIUM_TOOLS to cmake
62 add_subdirectory(${tool}) 62 # CHROMIUM_TOOLS are separated by comma. To make it iterable cmake list
63 endforeach(tool) 63 # replace those with semicolon.
64 string(REPLACE "," ";" CHROMIUM_TOOLS_LIST ${CHROMIUM_TOOLS})
65 foreach(tool ${CHROMIUM_TOOLS_LIST})
66 add_subdirectory(${tool})
67 endforeach(tool)
68 endif(CHROMIUM_TOOLS)
OLDNEW
« no previous file with comments | « no previous file | tools/clang/PGO-stage2.cmake » ('j') | tools/clang/PGO-stage2.cmake » ('J')

Powered by Google App Engine
This is Rietveld 408576698