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

Issue 485873004: Adds ability for builders to only compile targets affected by change (Closed)

Created:
6 years, 4 months ago by sky
Modified:
6 years, 4 months ago
Reviewers:
iannucci
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Project:
tools
Visibility:
Public.

Description

Adds ability for builders to only compile targets affected by change Currently opt-in. BUG=109173 TEST=none R=iannucci@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=290920

Patch Set 1 #

Patch Set 2 : exclude_all #

Patch Set 3 : remove duplicates and make test more realistic #

Total comments: 13

Patch Set 4 : review feedback #

Patch Set 5 : merge 2 trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+940 lines, -704 lines) Patch
M scripts/slave/recipe_modules/filter/api.py View 1 5 chunks +21 lines, -6 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.py View 1 2 3 2 chunks +40 lines, -28 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/analyzes_error.json View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json View 2 chunks +2 lines, -5 lines 0 comments Download
A scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.json View 1 1 chunk +46 lines, -0 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_exes.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/analyzes_returns_true.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/bad_retcode_doesnt_fail.json View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/basic.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipe_modules/filter/example.expected/doesnt_match_exclusion.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.py View 1 2 3 4 9 chunks +96 lines, -12 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/arm.json View 1 chunk +1 line, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze.json View 1 chunk +1 line, -0 lines 0 comments Download
A scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets.json View 1 2 1 chunk +398 lines, -0 lines 0 comments Download
A scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_compile_targets_exclude_all.json View 1 2 3 4 1 chunk +303 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_with_filtered_tests_no_builder.json View 1 chunk +4 lines, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_failure.json View 1 chunk +1 line, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_arm_cross_compile.json View 1 chunk +1 line, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_linux_chromium_browser_asan_rel.json View 1 2 3 4 2 chunks +2 lines, -19 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win8_chromium_dbg.json View 2 chunks +1 line, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win8_chromium_rel.json View 2 chunks +1 line, -18 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_compile_dbg.json View 1 chunk +1 line, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_compile_rel.json View 1 chunk +1 line, -4 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_dbg.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_rel.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_rel_swarming.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_dbg.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_rel.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_chromium_x64_rel_swarming.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_win_no_bot_update.json View 3 chunks +1 line, -72 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/no_compile_because_of_analyze.json View 1 chunk +1 line, -0 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/persistent_failure_and_runhooks_2_fail_test.json View 3 chunks +1 line, -72 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
sky
Many of the diffs are because the chrome target isn't getting forced into the build ...
6 years, 4 months ago (2014-08-19 18:14:10 UTC) #1
iannucci
looks generally good with some grumblings. If this is super-urgent to land, I would accept ...
6 years, 4 months ago (2014-08-20 17:54:40 UTC) #2
sky
https://codereview.chromium.org/485873004/diff/40001/scripts/slave/recipe_modules/filter/example.py File scripts/slave/recipe_modules/filter/example.py (right): https://codereview.chromium.org/485873004/diff/40001/scripts/slave/recipe_modules/filter/example.py#newcode26 scripts/slave/recipe_modules/filter/example.py:26: api.filter.compile_targets) On 2014/08/20 17:54:39, iannucci wrote: > nit: these ...
6 years, 4 months ago (2014-08-20 20:26:33 UTC) #3
iannucci
lgtm, followups sgtm, I was just making sure we're all on the same page :D
6 years, 4 months ago (2014-08-20 20:40:09 UTC) #4
sky
The CQ bit was checked by sky@chromium.org
6 years, 4 months ago (2014-08-20 21:35:39 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sky@chromium.org/485873004/80001
6 years, 4 months ago (2014-08-20 21:36:29 UTC) #6
commit-bot: I haz the power
6 years, 4 months ago (2014-08-20 21:38:14 UTC) #7
Message was sent while issue was closed.
Committed patchset #5 (80001) as 290920

Powered by Google App Engine
This is Rietveld 408576698