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

Side by Side Diff: scripts/slave/recipe_modules/filter/example.expected/analyzes_error.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\": null}", 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_TEXT@Error: ERROR@@@", 27 "@@@STEP_TEXT@Error: ERROR@@@",
28 "@@@STEP_LOG_LINE@json.output@{@@@", 28 "@@@STEP_LOG_LINE@json.output@{@@@",
29 "@@@STEP_LOG_LINE@json.output@ \"error\": \"ERROR\"@@@", 29 "@@@STEP_LOG_LINE@json.output@ \"error\": \"ERROR\"@@@",
30 "@@@STEP_LOG_LINE@json.output@}@@@", 30 "@@@STEP_LOG_LINE@json.output@}@@@",
31 "@@@STEP_LOG_END@json.output@@@" 31 "@@@STEP_LOG_END@json.output@@@"
32 ] 32 ]
33 }, 33 },
34 { 34 {
35 "cmd": [ 35 "cmd": [
36 "echo", 36 "echo",
37 "Why hello, there." 37 "Why hello, there."
38 ], 38 ],
39 "name": "hello" 39 "name": "hello"
40 } 40 }
41 ] 41 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698