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

Side by Side Diff: scripts/slave/recipe_modules/filter/example.expected/analyzes_matches_compile_targets.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
(Empty)
1 [
2 {
3 "cmd": [
4 "git",
5 "diff",
6 "--cached",
7 "--name-only"
8 ],
9 "cwd": "[SLAVE_BUILD]",
10 "name": "git diff to analyze patch",
11 "stdout": "/path/to/tmp/"
12 },
13 {
14 "cmd": [
15 "python",
16 "-u",
17 "[SLAVE_BUILD]/build/gyp_chromium",
18 "--analyzer",
19 "{\"files\": [\"foo.cc\"], \"targets\": []}",
20 "/path/to/tmp/json"
21 ],
22 "env": {
23 "GYP_DEFINES": "component=static_library gomadir='[BUILD]/goma' target_arc h=x64 use_goma=1"
24 },
25 "name": "analyze",
26 "~followup_annotations": [
27 "@@@STEP_LOG_LINE@json.output@{@@@",
28 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
29 "@@@STEP_LOG_LINE@json.output@ \"bar\"@@@",
30 "@@@STEP_LOG_LINE@json.output@ ], @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"status\": \"Found dependency\", @@@",
32 "@@@STEP_LOG_LINE@json.output@ \"targets\": [@@@",
33 "@@@STEP_LOG_LINE@json.output@ \"foo\"@@@",
34 "@@@STEP_LOG_LINE@json.output@ ]@@@",
35 "@@@STEP_LOG_LINE@json.output@}@@@",
36 "@@@STEP_LOG_END@json.output@@@"
37 ]
38 },
39 {
40 "cmd": [
41 "echo",
42 "Why hello, there."
43 ],
44 "name": "hello"
45 }
46 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698