OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
5 "-u", | |
6 "[BUILD]/scripts/slave/bot_update.py", | |
7 "--master", | |
8 "tryserver.webrtc", | |
9 "--builder", | |
10 "android_gn", | |
11 "--slave", | |
12 "slavename", | |
13 "--spec", | |
14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}, {'deps_
file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https://chrome
-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = ['android'
]", | |
15 "--root", | |
16 "src", | |
17 "--revision_mapping_file", | |
18 "{\"src\": \"got_revision\"}", | |
19 "--issue", | |
20 "666666", | |
21 "--patchset", | |
22 "1", | |
23 "--rietveld_server", | |
24 "https://fake.rietveld.url", | |
25 "--output_json", | |
26 "/path/to/tmp/json", | |
27 "--revision", | |
28 "src@12345" | |
29 ], | |
30 "cwd": "[SLAVE_BUILD]", | |
31 "name": "bot_update", | |
32 "~followup_annotations": [ | |
33 "@@@STEP_TEXT@Some step text@@@", | |
34 "@@@STEP_LOG_LINE@json.output@{@@@", | |
35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
36 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
39 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
40 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\"@@@", | |
41 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
42 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
43 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
44 "@@@STEP_LOG_LINE@json.output@}@@@", | |
45 "@@@STEP_LOG_END@json.output@@@", | |
46 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
47 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | |
48 ] | |
49 }, | |
50 { | |
51 "cmd": [ | |
52 "python", | |
53 "-u", | |
54 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py", | |
55 "[SLAVE_BUILD]/src/out" | |
56 ], | |
57 "cwd": "[SLAVE_BUILD]", | |
58 "name": "clean test output files" | |
59 }, | |
60 { | |
61 "cmd": [ | |
62 "python", | |
63 "-u", | |
64 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | |
65 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", | |
66 "[SLAVE_BUILD]/src/out/Debug/test_logs", | |
67 "[SLAVE_BUILD]/src/out/build_product.zip", | |
68 "[SLAVE_BUILD]/src" | |
69 ], | |
70 "cwd": "[SLAVE_BUILD]", | |
71 "name": "clean local files", | |
72 "~followup_annotations": [ | |
73 "@@@STEP_LOG_LINE@python.inline@@@@", | |
74 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | |
75 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | |
76 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | |
77 "@@@STEP_LOG_LINE@python.inline@try:@@@", | |
78 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | |
79 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | |
80 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | |
81 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | |
82 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | |
83 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | |
84 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | |
85 "@@@STEP_LOG_END@python.inline@@@" | |
86 ] | |
87 }, | |
88 { | |
89 "cmd": [ | |
90 "python", | |
91 "-u", | |
92 "[DEPOT_TOOLS]/gclient.py", | |
93 "runhooks" | |
94 ], | |
95 "cwd": "[SLAVE_BUILD]", | |
96 "env": { | |
97 "GYP_CHROMIUM_NO_ACTION": "1", | |
98 "GYP_CROSSCOMPILE": "1", | |
99 "GYP_DEFINES": "OS=android component=static_library dcheck_always_on=1 fas
tbuild=1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1", | |
100 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
101 }, | |
102 "name": "gclient runhooks" | |
103 }, | |
104 { | |
105 "cmd": [ | |
106 "python", | |
107 "-u", | |
108 "[DEPOT_TOOLS]/gn.py", | |
109 "--root=[SLAVE_BUILD]/src", | |
110 "gen", | |
111 "//out/Debug", | |
112 "--args=is_debug=true target_os=\"android\" target_cpu=\"arm\" use_goma=tr
ue goma_dir=\"[BUILD]/goma\" build_with_chromium=false" | |
113 ], | |
114 "cwd": "[SLAVE_BUILD]", | |
115 "name": "gn" | |
116 }, | |
117 { | |
118 "cmd": [ | |
119 "python", | |
120 "-u", | |
121 "[BUILD]/scripts/slave/compile.py", | |
122 "--target", | |
123 "Debug", | |
124 "--src-dir", | |
125 "[SLAVE_BUILD]/src", | |
126 "--build-tool", | |
127 "ninja", | |
128 "--compiler", | |
129 "goma", | |
130 "--goma-dir", | |
131 "[BUILD]/goma", | |
132 "--goma-fail-fast", | |
133 "--goma-disable-local-fallback", | |
134 "--", | |
135 "all" | |
136 ], | |
137 "cwd": "[SLAVE_BUILD]", | |
138 "env": { | |
139 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
140 }, | |
141 "name": "compile" | |
142 } | |
143 ] | |
OLD | NEW |