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

Side by Side Diff: scripts/slave/recipes/ios/try.expected/gyp_goma.json

Issue 2133483002: Fix configuration of goma in iOS recipes. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: improve wording in comment Created 4 years, 5 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 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py", 4 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/host_info.py",
5 "--json-file", 5 "--json-file",
6 "/path/to/tmp/json" 6 "/path/to/tmp/json"
7 ], 7 ],
8 "name": "host and tools info", 8 "name": "host and tools info",
9 "~followup_annotations": [ 9 "~followup_annotations": [
10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@", 10 "@@@STEP_TEXT@<br />OS X 1.2.3, Xcode 6.7.8 (5D342509a)@@@",
(...skipping 11 matching lines...) Expand all
22 ] 22 ]
23 }, 23 },
24 { 24 {
25 "cmd": [ 25 "cmd": [
26 "python", 26 "python",
27 "-u", 27 "-u",
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
29 "--master", 29 "--master",
30 "tryserver.fake", 30 "tryserver.fake",
31 "--builder", 31 "--builder",
32 "ios-simulator-gn", 32 "ios-simulator",
33 "--slave", 33 "--slave",
34 "fake-vm", 34 "fake-vm",
35 "--spec", 35 "--spec",
36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url' : 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo. chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m irror.golo.chromium.org/chrome/trunk/src'}, {'custom_deps': {'src/chrome/test/da ta/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchp lugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src /chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': No ne, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/ plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_tes t': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/ data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/ test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_deco der': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_dec oder': None}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src-internal', 'url ': 'svn://svn-mirror.golo.chromium.org/chrome-internal/trunk/src-internal'}]\nta rget_os = ['ios']", 36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'custom_vars': {'googlecode_url' : 'svn://svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo. chromium.org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chr omium.org/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/t runk'}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-m irror.golo.chromium.org/chrome/trunk/src'}, {'custom_deps': {'src/chrome/test/da ta/firefox2_profile/searchplugins': None, 'src/chrome/test/data/firefox2_searchp lugins': None, 'src/chrome/test/data/firefox3_profile/searchplugins': None, 'src /chrome/test/data/firefox3_searchplugins': None, 'src/chrome/test/data/osdd': No ne, 'src/chrome/test/data/perf/frame_rate/private': None, 'src/chrome/test/data/ plugin': None, 'src/chrome/test/data/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src/data/mach_ports': None, 'src/data/memory_tes t': None, 'src/data/mozilla_js_tests': None, 'src/data/page_cycler': None, 'src/ data/selenium_core': None, 'src/data/tab_switching': None, 'src/tools/grit/grit/ test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webkit/data/ico_deco der': None, 'src/webkit/data/test_shell/plugins': None, 'src/webkit/data/xbm_dec oder': None}, 'deps_file': 'DEPS', 'managed': True, 'name': 'src-internal', 'url ': 'svn://svn-mirror.golo.chromium.org/chrome-internal/trunk/src-internal'}]\nta rget_os = ['ios']",
37 "--root", 37 "--root",
38 "src", 38 "src",
39 "--revision_mapping_file", 39 "--revision_mapping_file",
40 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision \", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/ tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_ revision\"}", 40 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision \", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/ tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_ revision\"}",
41 "--git-cache-dir", 41 "--git-cache-dir",
42 "[GIT_CACHE]", 42 "[GIT_CACHE]",
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" , 128 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" ,
129 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@", 129 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276} \"@@@",
130 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@" 130 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb 994259692140934\"@@@"
131 ] 131 ]
132 }, 132 },
133 { 133 {
134 "cmd": [ 134 "cmd": [
135 "python", 135 "python",
136 "-u", 136 "-u",
137 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 137 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
138 "[SLAVE_BUILD]/src/ios/build/bots/chromium.mac/ios-simulator-gn.json", 138 "[SLAVE_BUILD]/src/ios/build/bots/chromium.mac/ios-simulator.json",
139 "/path/to/tmp/json" 139 "/path/to/tmp/json"
140 ], 140 ],
141 "name": "read build config", 141 "name": "read build config",
142 "~followup_annotations": [ 142 "~followup_annotations": [
143 "@@@STEP_LOG_LINE@json.output@{@@@", 143 "@@@STEP_LOG_LINE@json.output@{@@@",
144 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": [], @@@", 144 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": [@@@",
145 "@@@STEP_LOG_LINE@json.output@ \"OS=ios\", @@@",
146 "@@@STEP_LOG_LINE@json.output@ \"gomadir=$(goma_dir)\", @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"target_subarch=both\", @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"use_goma=1\"@@@",
149 "@@@STEP_LOG_LINE@json.output@ ], @@@",
145 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"ninja\", @@@", 150 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"ninja\", @@@",
146 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@", 151 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
147 "@@@STEP_LOG_LINE@json.output@ \"gn_args\": [@@@", 152 "@@@STEP_LOG_LINE@json.output@ \"gn_args\": [], @@@",
148 "@@@STEP_LOG_LINE@json.output@ \"target_os=\\\"ios\\\"\", @@@", 153 "@@@STEP_LOG_LINE@json.output@ \"mb_type\": \"gyp\", @@@",
149 "@@@STEP_LOG_LINE@json.output@ \"ios_enable_code_signing=false\", @@@",
150 "@@@STEP_LOG_LINE@json.output@ \"use_goma=true\"@@@",
151 "@@@STEP_LOG_LINE@json.output@ ], @@@",
152 "@@@STEP_LOG_LINE@json.output@ \"mb_type\": \"gn\", @@@",
153 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@", 154 "@@@STEP_LOG_LINE@json.output@ \"sdk\": \"iphonesimulator8.0\", @@@",
154 "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@", 155 "@@@STEP_LOG_LINE@json.output@ \"tests\": [@@@",
155 "@@@STEP_LOG_LINE@json.output@ {@@@", 156 "@@@STEP_LOG_LINE@json.output@ {@@@",
156 "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake tests\", @@@", 157 "@@@STEP_LOG_LINE@json.output@ \"app\": \"fake tests\", @@@",
157 "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@" , 158 "@@@STEP_LOG_LINE@json.output@ \"device type\": \"fake device\", @@@" ,
158 "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@", 159 "@@@STEP_LOG_LINE@json.output@ \"os\": \"8.1\"@@@",
159 "@@@STEP_LOG_LINE@json.output@ }@@@", 160 "@@@STEP_LOG_LINE@json.output@ }@@@",
160 "@@@STEP_LOG_LINE@json.output@ ], @@@", 161 "@@@STEP_LOG_LINE@json.output@ ], @@@",
161 "@@@STEP_LOG_LINE@json.output@ \"use_analyze\": true, @@@", 162 "@@@STEP_LOG_LINE@json.output@ \"use_analyze\": true, @@@",
162 "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@ @@", 163 "@@@STEP_LOG_LINE@json.output@ \"xcode version\": \"fake xcode version\"@ @@",
163 "@@@STEP_LOG_LINE@json.output@}@@@", 164 "@@@STEP_LOG_LINE@json.output@}@@@",
164 "@@@STEP_LOG_END@json.output@@@" 165 "@@@STEP_LOG_END@json.output@@@"
165 ] 166 ]
166 }, 167 },
167 { 168 {
168 "cmd": [ 169 "cmd": [
169 "echo", 170 "echo",
170 "-e", 171 "-e",
171 "{\n \"GYP_DEFINES\": [], \n \"additional_compile_targets\": [\n \"Al l\"\n ], \n \"compiler\": \"ninja\", \n \"configuration\": \"Debug\", \n \"e nv\": {}, \n \"gn_args\": [\n \"target_os=\\\"ios\\\"\", \n \"ios_enable_ code_signing=false\", \n \"use_goma=true\"\n ], \n \"mastername\": \"chromi um.mac\", \n \"mb_type\": \"gn\", \n \"sdk\": \"iphonesimulator8.0\", \n \"te sts\": [\n {\n \"app\": \"fake tests\", \n \"device type\": \"fake device\", \n \"os\": \"8.1\"\n }\n ], \n \"triggered bots\": {}, \n \ "use_analyze\": true, \n \"xcode version\": \"fake xcode version\"\n}" 172 "{\n \"GYP_DEFINES\": [\n \"OS=ios\", \n \"gomadir=$(goma_dir)\", \ n \"target_subarch=both\", \n \"use_goma=1\"\n ], \n \"additional_compil e_targets\": [\n \"All\"\n ], \n \"compiler\": \"ninja\", \n \"configurati on\": \"Debug\", \n \"env\": {}, \n \"gn_args\": [], \n \"mastername\": \"chr omium.mac\", \n \"mb_type\": \"gyp\", \n \"sdk\": \"iphonesimulator8.0\", \n \"tests\": [\n {\n \"app\": \"fake tests\", \n \"device type\": \"f ake device\", \n \"os\": \"8.1\"\n }\n ], \n \"triggered bots\": {}, \ n \"use_analyze\": true, \n \"xcode version\": \"fake xcode version\"\n}"
172 ], 173 ],
173 "name": "finalize build config" 174 "name": "finalize build config"
174 }, 175 },
175 { 176 {
176 "cmd": [ 177 "cmd": [
177 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py", 178 "RECIPE_PACKAGE_REPO[build]/scripts/slave/ios/find_xcode.py",
178 "--json-file", 179 "--json-file",
179 "/path/to/tmp/json", 180 "/path/to/tmp/json",
180 "--version", 181 "--version",
181 "fake xcode version" 182 "fake xcode version"
182 ], 183 ],
183 "name": "find xcode", 184 "name": "find xcode",
184 "~followup_annotations": [ 185 "~followup_annotations": [
185 "@@@STEP_LOG_LINE@json.output@{}@@@", 186 "@@@STEP_LOG_LINE@json.output@{}@@@",
186 "@@@STEP_LOG_END@json.output@@@" 187 "@@@STEP_LOG_END@json.output@@@"
187 ] 188 ]
188 }, 189 },
189 { 190 {
190 "cmd": [
191 "python",
192 "-u",
193 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
194 "runhooks"
195 ],
196 "cwd": "[SLAVE_BUILD]/src",
197 "env": {
198 "GYP_CHROMIUM_NO_ACTION": "1",
199 "GYP_CROSSCOMPILE": "1",
200 "GYP_DEFINES": "",
201 "GYP_GENERATORS": "ninja",
202 "LANDMINES_VERBOSE": "1",
203 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
204 },
205 "name": "gclient runhooks (with patch)",
206 "~followup_annotations": [
207 "@@@STEP_TEXT@<br />GYP_DEFINES:<br /><br />GYP_CHROMIUM_NO_ACTION=1@@@"
208 ]
209 },
210 {
211 "cmd": [], 191 "cmd": [],
212 "name": "ensure_goma" 192 "name": "ensure_goma"
213 }, 193 },
214 { 194 {
215 "cmd": [ 195 "cmd": [
216 "python", 196 "python",
217 "-u", 197 "-u",
218 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py", 198 "RECIPE_MODULE[build::cipd]/resources/bootstrap.py",
219 "--platform", 199 "--platform",
220 "mac-amd64", 200 "mac-amd64",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 "@@@STEP_LOG_LINE@json.output@ }@@@", 238 "@@@STEP_LOG_LINE@json.output@ }@@@",
259 "@@@STEP_LOG_LINE@json.output@ ]@@@", 239 "@@@STEP_LOG_LINE@json.output@ ]@@@",
260 "@@@STEP_LOG_LINE@json.output@}@@@", 240 "@@@STEP_LOG_LINE@json.output@}@@@",
261 "@@@STEP_LOG_END@json.output@@@" 241 "@@@STEP_LOG_END@json.output@@@"
262 ] 242 ]
263 }, 243 },
264 { 244 {
265 "cmd": [ 245 "cmd": [
266 "python", 246 "python",
267 "-u", 247 "-u",
248 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
249 "runhooks"
250 ],
251 "cwd": "[SLAVE_BUILD]/src",
252 "env": {
253 "GYP_CHROMIUM_NO_ACTION": "1",
254 "GYP_CROSSCOMPILE": "1",
255 "GYP_DEFINES": "OS=ios gomadir=$(goma_dir) target_subarch=both use_goma=1" ,
256 "GYP_GENERATORS": "ninja",
257 "LANDMINES_VERBOSE": "1",
258 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
259 },
260 "name": "gclient runhooks (with patch)",
261 "~followup_annotations": [
262 "@@@STEP_TEXT@<br />GYP_DEFINES:<br />OS=ios<br />gomadir=$(goma_dir)<br / >target_subarch=both<br />use_goma=1<br />GYP_CHROMIUM_NO_ACTION=1@@@"
263 ]
264 },
265 {
266 "cmd": [
267 "python",
268 "-u",
268 "[SLAVE_BUILD]/src/tools/mb/mb.py", 269 "[SLAVE_BUILD]/src/tools/mb/mb.py",
269 "gen", 270 "gen",
270 "-m", 271 "-m",
271 "chromium.mac", 272 "chromium.mac",
272 "-b", 273 "-b",
273 "ios-simulator-gn", 274 "ios-simulator",
274 "--config-file", 275 "--config-file",
275 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl", 276 "[SLAVE_BUILD]/src/tools/mb/mb_config.pyl",
276 "--goma-dir", 277 "--goma-dir",
277 "[CACHE]/cipd/goma", 278 "[CACHE]/cipd/goma",
278 "//out/Debug-iphonesimulator" 279 "//out/Debug-iphonesimulator"
279 ], 280 ],
280 "env": { 281 "env": {
281 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 282 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
282 }, 283 },
283 "name": "generate_build_files (with patch)" 284 "name": "generate_build_files (with patch)"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 }, 325 },
325 { 326 {
326 "cmd": [ 327 "cmd": [
327 "python", 328 "python",
328 "-u", 329 "-u",
329 "[SLAVE_BUILD]/src/tools/mb/mb.py", 330 "[SLAVE_BUILD]/src/tools/mb/mb.py",
330 "analyze", 331 "analyze",
331 "-m", 332 "-m",
332 "chromium.mac", 333 "chromium.mac",
333 "-b", 334 "-b",
334 "ios-simulator-gn", 335 "ios-simulator",
335 "-v", 336 "-v",
336 "//out/None", 337 "//out/Release",
337 "{\"additional_compile_targets\": [\"All\", \"fake tests\"], \"files\": [\ "foo.cc\"], \"test_targets\": [\"fake tests\"]}", 338 "{\"additional_compile_targets\": [\"All\", \"fake tests\"], \"files\": [\ "foo.cc\"], \"test_targets\": [\"fake tests\"]}",
338 "/path/to/tmp/json" 339 "/path/to/tmp/json"
339 ], 340 ],
340 "env": { 341 "env": {
341 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 342 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
342 }, 343 },
343 "name": "analyze", 344 "name": "analyze",
344 "~followup_annotations": [ 345 "~followup_annotations": [
345 "@@@STEP_TEXT@No compile necessary@@@", 346 "@@@STEP_TEXT@No compile necessary@@@",
346 "@@@STEP_LOG_LINE@json.output@{@@@", 347 "@@@STEP_LOG_LINE@json.output@{@@@",
(...skipping 23 matching lines...) Expand all
370 "~followup_annotations": [ 371 "~followup_annotations": [
371 "@@@STEP_TEXT@This test was skipped because it was not affected.@@@" 372 "@@@STEP_TEXT@This test was skipped because it was not affected.@@@"
372 ] 373 ]
373 }, 374 },
374 { 375 {
375 "name": "$result", 376 "name": "$result",
376 "recipe_result": null, 377 "recipe_result": null,
377 "status_code": 0 378 "status_code": 0
378 } 379 }
379 ] 380 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/ios/try.expected/gn.json ('k') | scripts/slave/recipes/ios/unified_builder_tester.expected/goma.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698