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

Issue 583143002: Build clang tools using CMake (Closed)

Created:
6 years, 3 months ago by dcheng
Modified:
6 years, 3 months ago
Reviewers:
hans, Nico
CC:
chromium-reviews, dmikurube+clang_chromium.org, eugenis+clang_chromium.org, glider+clang_chromium.org, ukai+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Build clang tools using CMake This patch adds the CMakeLists.txt necessary to build clang tools using CMake. The build files have also been refactored by creating a top-level CMakeLists.txt. The list of tools to be built can be controlled by setting ${CHROMIUM_TOOLS}. Tools are now installed with a CMake rule rather than a manual cp, which should make this logic a little more platform independent. R=hans@chromium.org Committed: https://crrev.com/efc44699afca7b3935896754dc7da39e19edb36c Cr-Commit-Position: refs/heads/master@{#296081}

Patch Set 1 #

Patch Set 2 : Minor cleanup #

Patch Set 3 : Delete legacy Makefile #

Patch Set 4 : Recursive CMake for all #

Patch Set 5 : Fix typo #

Patch Set 6 : Fix --help #

Patch Set 7 : Rebase to ToT #

Patch Set 8 : Drink some more cmake koolaid #

Patch Set 9 : rebase #

Patch Set 10 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+122 lines, -176 lines) Patch
A + tools/clang/CMakeLists.txt View 1 2 3 4 5 6 7 8 9 2 chunks +28 lines, -14 lines 0 comments Download
M tools/clang/blink_gc_plugin/CMakeLists.txt View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -37 lines 0 comments Download
A tools/clang/empty_string/CMakeLists.txt View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
D tools/clang/empty_string/Makefile View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
M tools/clang/plugins/CMakeLists.txt View 1 2 3 4 5 6 7 1 chunk +8 lines, -37 lines 0 comments Download
A tools/clang/rewrite_scoped_refptr/CMakeLists.txt View 1 2 3 1 chunk +26 lines, -0 lines 0 comments Download
D tools/clang/rewrite_scoped_refptr/Makefile View 1 2 1 chunk +0 lines, -25 lines 0 comments Download
M tools/clang/scripts/update.sh View 1 2 3 4 5 6 7 4 chunks +26 lines, -38 lines 0 comments Download

Messages

Total messages: 13 (1 generated)
dcheng
Whee. CMake is fun.
6 years, 3 months ago (2014-09-19 15:03:46 UTC) #2
hans
This lgtm. Thanks!
6 years, 3 months ago (2014-09-19 23:49:33 UTC) #3
hans
Trying this out locally (with package.sh), it seems like stuff gets built correctly, but then ...
6 years, 3 months ago (2014-09-20 00:20:04 UTC) #4
dcheng
On 2014/09/20 at 00:20:04, hans wrote: > Trying this out locally (with package.sh), it seems ...
6 years, 3 months ago (2014-09-20 00:58:31 UTC) #5
hans
On 2014/09/20 00:58:31, dcheng (OOO) wrote: > Yeah, I need to rethink my approach. I ...
6 years, 3 months ago (2014-09-20 15:57:00 UTC) #6
dcheng
Yep! I drank some more cmake koolaid last night and uploaded a patch to do ...
6 years, 3 months ago (2014-09-20 18:32:45 UTC) #7
hans
lgtm I tried this locally (built a new Clang package on Linux) and it worked.
6 years, 3 months ago (2014-09-22 20:16:17 UTC) #8
dcheng
OK, so I did some testing on my Linux machine... and the clang refactoring tools ...
6 years, 3 months ago (2014-09-22 21:38:54 UTC) #9
dcheng
On 2014/09/22 at 21:38:54, dcheng wrote: > OK, so I did some testing on my ...
6 years, 3 months ago (2014-09-22 21:39:09 UTC) #10
hans
On 2014/09/22 21:39:09, dcheng wrote: > > Given that the build for the tools was ...
6 years, 3 months ago (2014-09-22 23:00:09 UTC) #11
dcheng
Committed patchset #10 (id:180001) manually as efc4469 (presubmit successful).
6 years, 3 months ago (2014-09-22 23:03:33 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-22 23:03:36 UTC) #13
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/efc44699afca7b3935896754dc7da39e19edb36c
Cr-Commit-Position: refs/heads/master@{#296081}

Powered by Google App Engine
This is Rietveld 408576698