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

Issue 11175016: Selective build clobbering feature (landmines.py and android build scripts). (Closed)

Created:
8 years, 2 months ago by iannucci
Modified:
8 years, 1 month ago
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Selective build clobbering feature (landmines.py and android build scripts). 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 has an basis landmines.py, and hooks the clobber mechanism to the android build scripts. The relevant cl which implements this for compile.py is here: https://chromiumcodereview.appspot.com/11234013/ I'm planning to also implement an informational invocation for gclient to let devs know about any potential landmines so they can decide if they need to clobber. R=cmp,maruel@chromium.org BUG=121897 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=166085

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix some nits... all this is going to be rewritten shortly #

Patch Set 3 : Total rewrite :). #

Total comments: 25

Patch Set 4 : fix bug when generator is make-android #

Patch Set 5 : some fixes for andriod #

Patch Set 6 : this is simpler #

Patch Set 7 : rebase #

Patch Set 8 : make landmines set prior to checking clobber #

Patch Set 9 : fix nits #

Total comments: 18

Patch Set 10 : Fix some things! #

Total comments: 1

Patch Set 11 : ich habe die nit fixiert #

Total comments: 13

Patch Set 12 : fix more #

Total comments: 3

Patch Set 13 : Fix memoize to really require no params #

Patch Set 14 : Rebase and add note to keep functions in sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+296 lines, -50 lines) Patch
M DEPS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +5 lines, -0 lines 0 comments Download
M build/android/buildbot/buildbot_functions.sh View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +31 lines, -16 lines 0 comments Download
M build/gyp_chromium View 1 2 3 chunks +2 lines, -34 lines 0 comments Download
A build/gyp_helper.py View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +48 lines, -0 lines 0 comments Download
A build/landmines.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +210 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (0 generated)
Isaac (away)
Saw this CL in my review list. I'd prefer this functionality be written in a ...
8 years, 2 months ago (2012-10-20 08:38:54 UTC) #1
iannucci
On 2012/10/20 08:38:54, Isaac wrote: > Saw this CL in my review list. > > ...
8 years, 2 months ago (2012-10-20 17:25:20 UTC) #2
cmp_google
https://chromiumcodereview.appspot.com/11175016/diff/1/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11175016/diff/1/build/landmines.py#newcode1 build/landmines.py:1: # Copyright (c) 2012 The Chromium Authors. All rights ...
8 years, 2 months ago (2012-10-20 22:27:15 UTC) #3
iannucci
Alright, how about this version? All the logic has moved into landmines.py, which runs as ...
8 years, 2 months ago (2012-10-24 00:09:15 UTC) #4
iannucci
On 2012/10/24 00:09:15, iannucci wrote: > Alright, how about this version? > > All the ...
8 years, 2 months ago (2012-10-24 00:10:38 UTC) #5
M-A Ruel
Purely style nits. https://chromiumcodereview.appspot.com/11175016/diff/4/build/gyp_helper.py File build/gyp_helper.py (right): https://chromiumcodereview.appspot.com/11175016/diff/4/build/gyp_helper.py#newcode1 build/gyp_helper.py:1: import os Copyright line. https://chromiumcodereview.appspot.com/11175016/diff/4/build/gyp_helper.py#newcode3 build/gyp_helper.py:3: ...
8 years, 2 months ago (2012-10-24 00:40:58 UTC) #6
iannucci
Nit fixes. Isaac, could you look at the android buildscript once more? I moved the ...
8 years, 2 months ago (2012-10-24 04:12:25 UTC) #7
Isaac (away)
Looking forward to this CL! Some style comments inline. Bigger picture questions: - Is this ...
8 years, 2 months ago (2012-10-24 04:54:07 UTC) #8
M-A Ruel
CL style is fine with me, I'll leave Isaac to do the proper review. https://chromiumcodereview.appspot.com/11175016/diff/4/build/gyp_helper.py ...
8 years, 2 months ago (2012-10-24 12:16:10 UTC) #9
iannucci
On 2012/10/24 04:54:07, Isaac wrote: > Looking forward to this CL! Some style comments inline. ...
8 years, 2 months ago (2012-10-24 18:42:45 UTC) #10
Isaac (away)
You missed gclient runhooks. But you cannot change the clobber on android to happen after ...
8 years, 2 months ago (2012-10-24 18:53:07 UTC) #11
Isaac (away)
OK I misunderstood this. The android stuff is OK. Let's fix comments and I'll take ...
8 years, 2 months ago (2012-10-24 19:23:29 UTC) #12
iannucci
Fixed a bunch of stuff... Had some questions inline. Thanks, Rob https://chromiumcodereview.appspot.com/11175016/diff/27001/build/android/buildbot/buildbot_functions.sh File build/android/buildbot/buildbot_functions.sh (right): ...
8 years, 2 months ago (2012-10-24 21:40:08 UTC) #13
Isaac (away)
My question is more -- why do we care about ordering? I would think non-ordered ...
8 years, 2 months ago (2012-10-25 00:15:13 UTC) #14
iannucci
Oh how about that! Didn't know about that... xor op makes sense :) I think ...
8 years, 2 months ago (2012-10-25 00:56:57 UTC) #15
Isaac (away)
Sounds like you have good reasons to use diff, so that sgtm. Will let maruel ...
8 years, 2 months ago (2012-10-25 07:48:28 UTC) #16
M-A Ruel
https://chromiumcodereview.appspot.com/11175016/diff/26002/build/gyp_helper.py File build/gyp_helper.py (right): https://chromiumcodereview.appspot.com/11175016/diff/26002/build/gyp_helper.py#newcode11 build/gyp_helper.py:11: CHROME_SRC = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) CHROME_SRC = os.path.dirname(SCRIPT_DIR) https://chromiumcodereview.appspot.com/11175016/diff/26002/build/landmines.py File ...
8 years, 1 month ago (2012-10-29 15:10:42 UTC) #17
iannucci
https://chromiumcodereview.appspot.com/11175016/diff/26002/build/gyp_helper.py File build/gyp_helper.py (right): https://chromiumcodereview.appspot.com/11175016/diff/26002/build/gyp_helper.py#newcode11 build/gyp_helper.py:11: CHROME_SRC = os.path.abspath(os.path.join(SCRIPT_DIR, os.pardir)) On 2012/10/29 15:10:43, Marc-Antoine Ruel ...
8 years, 1 month ago (2012-10-29 23:56:39 UTC) #18
M-A Ruel
The code looks good beside one last interrogation https://chromiumcodereview.appspot.com/11175016/diff/26002/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11175016/diff/26002/build/landmines.py#newcode151 build/landmines.py:151: if ...
8 years, 1 month ago (2012-10-30 00:53:09 UTC) #19
iannucci
On 2012/10/30 00:53:09, Marc-Antoine Ruel wrote: > The code looks good beside one last interrogation ...
8 years, 1 month ago (2012-10-31 01:14:55 UTC) #20
iannucci
On 2012/10/31 01:14:55, iannucci wrote: > On 2012/10/30 00:53:09, Marc-Antoine Ruel wrote: > > The ...
8 years, 1 month ago (2012-11-02 23:01:20 UTC) #21
M-A Ruel
lgtm, I don't mind.
8 years, 1 month ago (2012-11-05 14:44:45 UTC) #22
M-A Ruel
https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py#newcode31 build/landmines.py:31: """This decorator caches the return value of a parameterless ...
8 years, 1 month ago (2012-11-05 16:54:07 UTC) #23
M-A Ruel
https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py#newcode31 build/landmines.py:31: """This decorator caches the return value of a parameterless ...
8 years, 1 month ago (2012-11-05 17:40:22 UTC) #24
M-A Ruel
On 2012/11/05 17:40:22, Marc-Antoine Ruel wrote: > and realized that it doesn't work for bound ...
8 years, 1 month ago (2012-11-05 18:13:09 UTC) #25
iannucci
https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py File build/landmines.py (right): https://chromiumcodereview.appspot.com/11175016/diff/35001/build/landmines.py#newcode31 build/landmines.py:31: """This decorator caches the return value of a parameterless ...
8 years, 1 month ago (2012-11-05 18:36:27 UTC) #26
iannucci
Last comment fixed. Good to CQ?
8 years, 1 month ago (2012-11-05 20:13:48 UTC) #27
M-A Ruel
lgtm
8 years, 1 month ago (2012-11-05 20:16:12 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/iannucci@chromium.org/11175016/41002
8 years, 1 month ago (2012-11-05 21:45:05 UTC) #29
commit-bot: I haz the power
Change committed as 166085
8 years, 1 month ago (2012-11-06 00:13:29 UTC) #30
jochen (gone - plz use gerrit)
fyi, the .landmines files killed some of the webkit tests. I had to manually delete ...
8 years, 1 month ago (2012-11-06 15:50:20 UTC) #31
iannucci
Yeah I will. It's actually extract_build that's failing because it assumes that if it extracts ...
8 years, 1 month ago (2012-11-06 20:44:16 UTC) #32
iannucci
On 2012/11/06 20:44:16, iannucci wrote: > Yeah I will. It's actually extract_build that's failing because ...
8 years, 1 month ago (2012-11-13 20:13:11 UTC) #33
Isaac (away)
Please use fresh issue number to reland CL.
8 years, 1 month ago (2012-11-13 20:24:44 UTC) #34
iannucci
8 years, 1 month ago (2012-11-13 20:33:10 UTC) #35
On 2012/11/13 20:24:44, Isaac wrote:
> Please use fresh issue number to reland CL.

New cl here: https://codereview.chromium.org/11377141

Powered by Google App Engine
This is Rietveld 408576698