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

Side by Side Diff: scripts/slave/recipe_modules/cronet/example.expected/gn_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@@@",
(...skipping 10 matching lines...) Expand all
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_CHROMIUM_NO_ACTION": "1", 240 "GYP_CHROMIUM_NO_ACTION": "1",
187 "GYP_CROSSCOMPILE": "1", 241 "GYP_CROSSCOMPILE": "1",
188 "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=1 use_platform_icu_alternatives=1 ", 242 "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=1 use_platform_icu_alternati ves=1",
189 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 243 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
190 }, 244 },
191 "name": "gclient runhooks" 245 "name": "gclient runhooks"
192 }, 246 },
193 { 247 {
194 "cmd": [ 248 "cmd": [
195 "[SLAVE_BUILD]/src/buildtools/linux64/gn", 249 "[SLAVE_BUILD]/src/buildtools/linux64/gn",
196 "--root=[SLAVE_BUILD]/src", 250 "--root=[SLAVE_BUILD]/src",
197 "gen", 251 "gen",
198 "//out/Debug", 252 "//out/Debug",
199 "--args=disable_brotli_filter=true disable_file_support=true disable_ftp_s upport=true enable_websockets=false use_platform_icu_alternatives=true is_debug= true target_os=\"android\" target_cpu=\"arm\" use_goma=true goma_dir=\"[BUILD]/g oma\"" 253 "--args=disable_brotli_filter=true disable_file_support=true disable_ftp_s upport=true enable_websockets=false use_platform_icu_alternatives=true is_debug= true target_os=\"android\" target_cpu=\"arm\" use_goma=true goma_dir=\"[CACHE]/c ipd/goma\""
200 ], 254 ],
201 "name": "gn" 255 "name": "gn"
202 }, 256 },
203 { 257 {
204 "cmd": [ 258 "cmd": [
205 "python", 259 "python",
206 "-u", 260 "-u",
207 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 261 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
208 "--show-path", 262 "--show-path",
209 "python", 263 "python",
(...skipping 10 matching lines...) Expand all
220 "[GOMA_CACHE]", 274 "[GOMA_CACHE]",
221 "--build-tool", 275 "--build-tool",
222 "ninja", 276 "ninja",
223 "--compiler", 277 "--compiler",
224 "goma", 278 "goma",
225 "--goma-jsonstatus", 279 "--goma-jsonstatus",
226 "/path/to/tmp/json", 280 "/path/to/tmp/json",
227 "--goma-service-account-json-file", 281 "--goma-service-account-json-file",
228 "/creds/service_accounts/service-account-goma-client.json", 282 "/creds/service_accounts/service-account-goma-client.json",
229 "--goma-dir", 283 "--goma-dir",
230 "[BUILD]/goma", 284 "[CACHE]/cipd/goma",
231 "--", 285 "--",
232 "cronet_package", 286 "cronet_package",
233 "cronet_sample_test_apk", 287 "cronet_sample_test_apk",
234 "cronet_test_instrumentation_apk", 288 "cronet_test_instrumentation_apk",
235 "cronet_unittests", 289 "cronet_unittests",
236 "cronet_unittests_apk", 290 "cronet_unittests_apk",
237 "net_unittests", 291 "net_unittests",
238 "net_unittests_apk" 292 "net_unittests_apk"
239 ], 293 ],
240 "env": { 294 "env": {
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
643 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", 697 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@",
644 "@@@STEP_LOG_END@python.inline@@@" 698 "@@@STEP_LOG_END@python.inline@@@"
645 ] 699 ]
646 }, 700 },
647 { 701 {
648 "name": "$result", 702 "name": "$result",
649 "recipe_result": null, 703 "recipe_result": null,
650 "status_code": 0 704 "status_code": 0
651 } 705 }
652 ] 706 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/cronet/api.py ('k') | scripts/slave/recipe_modules/cronet/example.expected/local_test.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698