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

Side by Side Diff: scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_all_exes.json

Issue 485873004: Adds ability for builders to only compile targets affected by change (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: merge 2 trunk Created 6 years, 4 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "diff", 5 "diff",
6 "--cached", 6 "--cached",
7 "--name-only" 7 "--name-only"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]", 9 "cwd": "[SLAVE_BUILD]",
10 "name": "git diff to analyze patch", 10 "name": "git diff to analyze patch",
11 "stdout": "/path/to/tmp/" 11 "stdout": "/path/to/tmp/"
12 }, 12 },
13 { 13 {
14 "cmd": [ 14 "cmd": [
15 "python", 15 "python",
16 "-u", 16 "-u",
17 "[SLAVE_BUILD]/build/gyp_chromium", 17 "[SLAVE_BUILD]/build/gyp_chromium",
18 "--analyzer", 18 "--analyzer",
19 "{\"files\": [\"foo.cc\"], \"targets\": [\"foo\", \"bar\"]}", 19 "{\"files\": [\"foo.cc\"], \"targets\": []}",
20 "/path/to/tmp/json" 20 "/path/to/tmp/json"
21 ], 21 ],
22 "env": { 22 "env": {
23 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=x64 use_goma=1" 23 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=x64 use_goma=1"
24 }, 24 },
25 "name": "analyze", 25 "name": "analyze",
26 "~followup_annotations": [ 26 "~followup_annotations": [
27 "@@@STEP_LOG_LINE@json.output@{@@@", 27 "@@@STEP_LOG_LINE@json.output@{@@@",
28 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency (all)\", @@ @", 28 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency (all)\"@@@" ,
29 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
30 "@@@STEP_LOG_LINE@json.output@ \"foo\"@@@",
31 "@@@STEP_LOG_LINE@json.output@ ]@@@",
32 "@@@STEP_LOG_LINE@json.output@}@@@", 29 "@@@STEP_LOG_LINE@json.output@}@@@",
33 "@@@STEP_LOG_END@json.output@@@" 30 "@@@STEP_LOG_END@json.output@@@"
34 ] 31 ]
35 }, 32 },
36 { 33 {
37 "cmd": [ 34 "cmd": [
38 "echo", 35 "echo",
39 "Why hello, there." 36 "Why hello, there."
40 ], 37 ],
41 "name": "hello" 38 "name": "hello"
42 } 39 }
43 ] 40 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698