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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/local_test.json

Issue 2083963002: [cronet] Switch to ensure_goma. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove unused dependency. Created 4 years, 6 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 "python", 4 "python",
5 "-u", 5 "-u",
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 149 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
154 "@@@STEP_LOG_END@python.inline@@@" 154 "@@@STEP_LOG_END@python.inline@@@"
155 ] 155 ]
156 }, 156 },
157 { 157 {
158 "cmd": [],
159 "name": "ensure_goma"
160 },
161 {
162 "cmd": [
163 "python",
164 "-u",
165 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
166 "--platform",
167 "linux-amd64",
168 "--dest-directory",
169 "[SLAVE_BUILD]/cipd",
170 "--json-output",
171 "/path/to/tmp/json"
172 ],
173 "name": "ensure_goma.install cipd",
174 "~followup_annotations": [
175 "@@@STEP_NEST_LEVEL@1@@@",
176 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
177 "@@@STEP_LOG_LINE@json.output@{@@@",
178 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
179 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
180 "@@@STEP_LOG_LINE@json.output@}@@@",
181 "@@@STEP_LOG_END@json.output@@@"
182 ]
183 },
184 {
185 "cmd": [
186 "[SLAVE_BUILD]/cipd/cipd",
187 "ensure",
188 "--root",
189 "[CACHE]/cipd/goma",
190 "--list",
191 "infra_internal/goma/client/linux-amd64 release",
192 "--json-output",
193 "/path/to/tmp/json",
194 "--service-account-json",
195 "/creds/service_accounts/service-account-goma-client.json"
196 ],
197 "name": "ensure_goma.ensure_installed",
198 "~followup_annotations": [
199 "@@@STEP_NEST_LEVEL@1@@@",
200 "@@@STEP_LOG_LINE@json.output@{@@@",
201 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
202 "@@@STEP_LOG_LINE@json.output@ {@@@",
203 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
204 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
205 "@@@STEP_LOG_LINE@json.output@ }@@@",
206 "@@@STEP_LOG_LINE@json.output@ ]@@@",
207 "@@@STEP_LOG_LINE@json.output@}@@@",
208 "@@@STEP_LOG_END@json.output@@@"
209 ]
210 },
211 {
158 "cmd": [ 212 "cmd": [
159 "python", 213 "python",
160 "-u", 214 "-u",
161 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 215 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
162 "[SLAVE_BUILD]/src/out/Debug" 216 "[SLAVE_BUILD]/src/out/Debug"
163 ], 217 ],
164 "name": "rmtree clobber", 218 "name": "rmtree clobber",
165 "~followup_annotations": [ 219 "~followup_annotations": [
166 "@@@STEP_LOG_LINE@python.inline@@@@", 220 "@@@STEP_LOG_LINE@python.inline@@@@",
167 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 221 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
168 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 222 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
169 "@@@STEP_LOG_LINE@python.inline@@@@", 223 "@@@STEP_LOG_LINE@python.inline@@@@",
170 "@@@STEP_LOG_LINE@python.inline@@@@", 224 "@@@STEP_LOG_LINE@python.inline@@@@",
171 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 225 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
172 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 226 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
173 "@@@STEP_LOG_END@python.inline@@@" 227 "@@@STEP_LOG_END@python.inline@@@"
174 ] 228 ]
175 }, 229 },
176 { 230 {
177 "cmd": [ 231 "cmd": [
178 "python", 232 "python",
179 "-u", 233 "-u",
180 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 234 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
181 "runhooks" 235 "runhooks"
182 ], 236 ],
183 "cwd": "[SLAVE_BUILD]/src", 237 "cwd": "[SLAVE_BUILD]/src",
184 "env": { 238 "env": {
185 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
186 "GYP_CROSSCOMPILE": "1", 240 "GYP_CROSSCOMPILE": "1",
187 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter= 1 disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 g omadir='[BUILD]/goma' target_arch=arm use_goma=0 use_platform_icu_alternatives=1 ", 241 "GYP_DEFINES": "OS=android component=static_library disable_brotli_filter= 1 disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 g omadir='[CACHE]/cipd/goma' target_arch=arm use_goma=0 use_platform_icu_alternati ves=1",
188 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 242 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
189 }, 243 },
190 "name": "gclient runhooks" 244 "name": "gclient runhooks"
191 }, 245 },
192 { 246 {
193 "cmd": [ 247 "cmd": [
194 "python", 248 "python",
195 "-u", 249 "-u",
196 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 250 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
197 "--show-path", 251 "--show-path",
(...skipping 11 matching lines...) Expand all
209 "[GOMA_CACHE]", 263 "[GOMA_CACHE]",
210 "--build-tool", 264 "--build-tool",
211 "ninja", 265 "ninja",
212 "--compiler", 266 "--compiler",
213 "goma", 267 "goma",
214 "--goma-jsonstatus", 268 "--goma-jsonstatus",
215 "/path/to/tmp/json", 269 "/path/to/tmp/json",
216 "--goma-service-account-json-file", 270 "--goma-service-account-json-file",
217 "/creds/service_accounts/service-account-goma-client.json", 271 "/creds/service_accounts/service-account-goma-client.json",
218 "--goma-dir", 272 "--goma-dir",
219 "[BUILD]/goma", 273 "[CACHE]/cipd/goma",
220 "--", 274 "--",
221 "cronet_package", 275 "cronet_package",
222 "cronet_sample_test_apk", 276 "cronet_sample_test_apk",
223 "cronet_test_instrumentation_apk", 277 "cronet_test_instrumentation_apk",
224 "cronet_unittests", 278 "cronet_unittests",
225 "cronet_unittests_apk", 279 "cronet_unittests_apk",
226 "net_unittests", 280 "net_unittests",
227 "net_unittests_apk" 281 "net_unittests_apk"
228 ], 282 ],
229 "env": { 283 "env": {
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 686 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
633 "@@@STEP_LOG_END@python.inline@@@" 687 "@@@STEP_LOG_END@python.inline@@@"
634 ] 688 ]
635 }, 689 },
636 { 690 {
637 "name": "$result", 691 "name": "$result",
638 "recipe_result": null, 692 "recipe_result": null,
639 "status_code": 0 693 "status_code": 0
640 } 694 }
641 ] 695 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698