| 1 |
[ |
| 2 |
{ |
| 3 |
"cmd": [ |
| 4 |
"python3", |
| 5 |
"[START_DIR]/cache/work/skia/bin/fetch-gn" |
| 6 |
], |
| 7 |
"cwd": "[START_DIR]/cache/work/skia", |
| 8 |
"env": { |
| 9 |
"CHROME_HEADLESS": "1", |
| 10 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 11 |
}, |
| 12 |
"infra_step": true, |
| 13 |
"name": "fetch-gn" |
| 14 |
}, |
| 15 |
{ |
| 16 |
"cmd": [ |
| 17 |
"python3", |
| 18 |
"[START_DIR]/cache/work/skia/bin/fetch-ninja" |
| 19 |
], |
| 20 |
"cwd": "[START_DIR]/cache/work/skia", |
| 21 |
"env": { |
| 22 |
"CHROME_HEADLESS": "1", |
| 23 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 24 |
}, |
| 25 |
"infra_step": true, |
| 26 |
"name": "fetch-ninja" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"cmd": [], |
| 30 |
"name": "ensure xcode", |
| 31 |
"~followup_annotations": [ |
| 32 |
"@@@STEP_SUMMARY_TEXT@Ensuring Xcode version 16a242d in [START_DIR]/cache/Xcode.app@@@" |
| 33 |
] |
| 34 |
}, |
| 35 |
{ |
| 36 |
"cmd": [], |
| 37 |
"name": "ensure xcode.install infra/tools/mac_toolchain", |
| 38 |
"~followup_annotations": [ |
| 39 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 40 |
] |
| 41 |
}, |
| 42 |
{ |
| 43 |
"cmd": [ |
| 44 |
"vpython3", |
| 45 |
"-u", |
| 46 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 47 |
"--json-output", |
| 48 |
"/path/to/tmp/json", |
| 49 |
"ensure-directory", |
| 50 |
"--mode", |
| 51 |
"0o777", |
| 52 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a" |
| 53 |
], |
| 54 |
"infra_step": true, |
| 55 |
"name": "ensure xcode.install infra/tools/mac_toolchain.ensure package directory", |
| 56 |
"~followup_annotations": [ |
| 57 |
"@@@STEP_NEST_LEVEL@2@@@" |
| 58 |
] |
| 59 |
}, |
| 60 |
{ |
| 61 |
"cmd": [ |
| 62 |
"cipd", |
| 63 |
"ensure", |
| 64 |
"-root", |
| 65 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/066a48b36c73b8e8bb0048e40c54a55c86195561cf17d85788968b1a97fabe0a", |
| 66 |
"-ensure-file", |
| 67 |
"infra/tools/mac_toolchain/${platform} git_revision:0cb1e51344de158f72524c384f324465aebbcef2", |
| 68 |
"-max-threads", |
| 69 |
"0", |
| 70 |
"-json-output", |
| 71 |
"/path/to/tmp/json" |
| 72 |
], |
| 73 |
"infra_step": true, |
| 74 |
"name": "ensure xcode.install infra/tools/mac_toolchain.ensure_installed", |
| 75 |
"~followup_annotations": [ |
| 76 |
"@@@STEP_NEST_LEVEL@2@@@", |
| 77 |
"@@@[email protected]@{@@@", |
| 78 |
"@@@[email protected]@ \"result\": {@@@", |
| 79 |
"@@@[email protected]@ \"\": [@@@", |
| 80 |
"@@@[email protected]@ {@@@", |
| 81 |
"@@@[email protected]@ \"instance_id\": \"resolved-instance_id-of-git_revision:0cb\",@@@", |
| 82 |
"@@@[email protected]@ \"package\": \"infra/tools/mac_toolchain/resolved-platform\"@@@", |
| 83 |
"@@@[email protected]@ }@@@", |
| 84 |
"@@@[email protected]@ ]@@@", |
| 85 |
"@@@[email protected]@ }@@@", |
| 86 |
"@@@[email protected]@}@@@", |
| 87 |
"@@@[email protected]@@@" |
| 88 |
] |
| 89 |
}, |
| 90 |
{ |
| 91 |
"cmd": [ |
| 92 |
"vpython3", |
| 93 |
"-u", |
| 94 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 95 |
"--json-output", |
| 96 |
"/path/to/tmp/json", |
| 97 |
"listdir", |
| 98 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain" |
| 99 |
], |
| 100 |
"infra_step": true, |
| 101 |
"name": "ensure xcode.locate mac_toolchain", |
| 102 |
"~followup_annotations": [ |
| 103 |
"@@@STEP_NEST_LEVEL@1@@@", |
| 104 |
"@@@STEP_LOG_LINE@listdir@[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123@@@", |
| 105 |
"@@@STEP_LOG_END@listdir@@@" |
| 106 |
] |
| 107 |
}, |
| 108 |
{ |
| 109 |
"cmd": [ |
| 110 |
"ls", |
| 111 |
"-R", |
| 112 |
"[START_DIR]/cipd_tool" |
| 113 |
], |
| 114 |
"name": "ensure xcode.ls -R cipd_tool", |
| 115 |
"~followup_annotations": [ |
| 116 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 117 |
] |
| 118 |
}, |
| 119 |
{ |
| 120 |
"cmd": [ |
| 121 |
"ls", |
| 122 |
"-R", |
| 123 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain" |
| 124 |
], |
| 125 |
"name": "ensure xcode.ls -R cipd_tool (2)", |
| 126 |
"~followup_annotations": [ |
| 127 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 128 |
] |
| 129 |
}, |
| 130 |
{ |
| 131 |
"cmd": [ |
| 132 |
"ls", |
| 133 |
"-alh", |
| 134 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain" |
| 135 |
], |
| 136 |
"name": "ensure xcode.ls -alh mac_toolchain", |
| 137 |
"~followup_annotations": [ |
| 138 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 139 |
] |
| 140 |
}, |
| 141 |
{ |
| 142 |
"cmd": [ |
| 143 |
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/abc123/mac_toolchain", |
| 144 |
"install", |
| 145 |
"-kind", |
| 146 |
"ios", |
| 147 |
"-xcode-version", |
| 148 |
"16a242d", |
| 149 |
"-output-dir", |
| 150 |
"[START_DIR]/cache/Xcode.app" |
| 151 |
], |
| 152 |
"name": "ensure xcode.install xcode", |
| 153 |
"~followup_annotations": [ |
| 154 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 155 |
] |
| 156 |
}, |
| 157 |
{ |
| 158 |
"cmd": [ |
| 159 |
"sudo", |
| 160 |
"xcode-select", |
| 161 |
"-switch", |
| 162 |
"[START_DIR]/cache/Xcode.app" |
| 163 |
], |
| 164 |
"name": "ensure xcode.select xcode", |
| 165 |
"~followup_annotations": [ |
| 166 |
"@@@STEP_NEST_LEVEL@1@@@" |
| 167 |
] |
| 168 |
}, |
| 169 |
{ |
| 170 |
"cmd": [ |
| 171 |
"[START_DIR]/cache/work/skia/bin/gn", |
| 172 |
"gen", |
| 173 |
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-Metal/Debug", |
| 174 |
"--args=cc=\"clang\" cxx=\"clang++\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=16a242d\", \"-O1\"] is_trivial_abi=true link_pool_depth=2 skia_use_client_icu=true skia_use_gl=false skia_use_libgrapheme=true skia_use_metal=true target_cpu=\"x86_64\" werror=true" |
| 175 |
], |
| 176 |
"cwd": "[START_DIR]/cache/work/skia", |
| 177 |
"env": { |
| 178 |
"CHROME_HEADLESS": "1", |
| 179 |
"MACOSX_DEPLOYMENT_TARGET": "11.0", |
| 180 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cache/work/skia/third_party/ninja" |
| 181 |
}, |
| 182 |
"name": "gn gen" |
| 183 |
}, |
| 184 |
{ |
| 185 |
"cmd": [ |
| 186 |
"[START_DIR]/cache/work/skia/third_party/ninja/ninja", |
| 187 |
"-C", |
| 188 |
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-Metal/Debug" |
| 189 |
], |
| 190 |
"cwd": "[START_DIR]/cache/work/skia", |
| 191 |
"env": { |
| 192 |
"CHROME_HEADLESS": "1", |
| 193 |
"MACOSX_DEPLOYMENT_TARGET": "11.0", |
| 194 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/cache/work/skia/third_party/ninja" |
| 195 |
}, |
| 196 |
"name": "ninja" |
| 197 |
}, |
| 198 |
{ |
| 199 |
"cmd": [ |
| 200 |
"python3", |
| 201 |
"RECIPE_MODULE[skia::build]/resources/copy_build_products.py", |
| 202 |
"[START_DIR]/cache/work/skia/out/Build-Mac-Clang-x86_64-Debug-Metal/Debug", |
| 203 |
"[START_DIR]/[SWARM_OUT_DIR]/out/Debug", |
| 204 |
"dm,dm.exe,dm.app,nanobench.app,get_images_from_skps,get_images_from_skps.exe,nanobench,nanobench.exe,*.so,*.dll,*.dylib,skottie_tool,lib/*.so,run_testlab" |
| 205 |
], |
| 206 |
"infra_step": true, |
| 207 |
"name": "copy build products" |
| 208 |
}, |
| 209 |
{ |
| 210 |
"name": "$result" |
| 211 |
} |
| 212 |
] |