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

Issue 11234013: Selective build clobbering feature (compile.py). (Closed)

Created:
8 years, 2 months ago by iannucci
Modified:
8 years, 1 month ago
CC:
chromium-reviews, nsylvain+cc_chromium.org, cmp+cc_chromium.org, Jakob Kummerow, Sven Panne
Base URL:
http://git.chromium.org/chromium/tools/build.git@master
Visibility:
Public.

Description

Selective build clobbering feature (compile.py). Adds the ability for devs/troopers/etc. to set 'landmines' in the tree so that the build will selectively clobber when a builder moves over a revision with such a change. This cl hooks the clobber mechanism to the compile.py build script. The related cl for android's build scripts and an initial landmines.py is here: https://chromiumcodereview.appspot.com/11175016/ R=cmp,maruel@chromium.org BUG=121897 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167551

Patch Set 1 #

Patch Set 2 : Total rewrite :) #

Patch Set 3 : fix bug #

Patch Set 4 : raise exception on unknown tool #

Total comments: 16

Patch Set 5 : Fix some odds and ends #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : Evil typobug #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+93 lines, -69 lines) Patch
M scripts/slave/compile.py View 1 2 3 4 5 6 18 chunks +86 lines, -63 lines 2 comments Download
M scripts/slave/zip_build.py View 1 2 3 4 5 3 chunks +7 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
iannucci
PTAL. This is the part which actually implements the clobbering for our non-android builds.
8 years, 1 month ago (2012-11-05 21:58:07 UTC) #1
M-A Ruel
https://chromiumcodereview.appspot.com/11234013/diff/6001/scripts/slave/compile.py File scripts/slave/compile.py (right): https://chromiumcodereview.appspot.com/11234013/diff/6001/scripts/slave/compile.py#newcode562 scripts/slave/compile.py:562: clang_dir = os.path.abspath(os.path.join(options.src_dir, I guess adding "options.src_dir = os.path.abspath(options.src_dir)" ...
8 years, 1 month ago (2012-11-06 15:20:01 UTC) #2
iannucci
All fixed (with new patch, too :D). PTAL. I rebased the other patch too, so ...
8 years, 1 month ago (2012-11-13 20:09:51 UTC) #3
M-A Ruel
lgtm https://chromiumcodereview.appspot.com/11234013/diff/10001/scripts/slave/compile.py File scripts/slave/compile.py (right): https://chromiumcodereview.appspot.com/11234013/diff/10001/scripts/slave/compile.py#newcode745 scripts/slave/compile.py:745: command = ['ninja', '-C', options.target_output_dir] maybe relpath? I ...
8 years, 1 month ago (2012-11-13 21:40:57 UTC) #4
iannucci
https://chromiumcodereview.appspot.com/11234013/diff/10001/scripts/slave/compile.py File scripts/slave/compile.py (right): https://chromiumcodereview.appspot.com/11234013/diff/10001/scripts/slave/compile.py#newcode745 scripts/slave/compile.py:745: command = ['ninja', '-C', options.target_output_dir] On 2012/11/13 21:40:57, Marc-Antoine ...
8 years, 1 month ago (2012-11-13 22:04:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/11234013/16001
8 years, 1 month ago (2012-11-14 01:10:40 UTC) #6
commit-bot: I haz the power
Change committed as 167551
8 years, 1 month ago (2012-11-14 01:12:33 UTC) #7
Michael Starzinger
https://chromiumcodereview.appspot.com/11234013/diff/16001/scripts/slave/compile.py File scripts/slave/compile.py (right): https://chromiumcodereview.appspot.com/11234013/diff/16001/scripts/slave/compile.py#newcode713 scripts/slave/compile.py:713: ' in use any more. Asserting from orbit. It\'s ...
8 years, 1 month ago (2012-11-14 08:57:05 UTC) #8
Jakob Kummerow
8 years, 1 month ago (2012-11-14 09:12:05 UTC) #9
https://chromiumcodereview.appspot.com/11234013/diff/16001/scripts/slave/comp...
File scripts/slave/compile.py (right):

https://chromiumcodereview.appspot.com/11234013/diff/16001/scripts/slave/comp...
scripts/slave/compile.py:1097: raise NotImplementedError()
This gets hit by V8 Win builders:
http://build.chromium.org/p/client.v8/builders/V8%20Win32/builds/4630/steps/c...
We're setting --build_tool=vs as is required by the build_tool_map in line 1172
below.

Powered by Google App Engine
This is Rietveld 408576698