| 1 |
[ |
| 2 |
{ |
| 3 |
"cmd": [ |
| 4 |
"python3", |
| 5 |
"RECIPE_MODULE[skia::checkout]/resources/assert_git_cipd.py" |
| 6 |
], |
| 7 |
"env": { |
| 8 |
"CHROME_HEADLESS": "1", |
| 9 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 10 |
}, |
| 11 |
"name": "Assert that Git is from CIPD" |
| 12 |
}, |
| 13 |
{ |
| 14 |
"cmd": [ |
| 15 |
"vpython3", |
| 16 |
"-u", |
| 17 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 18 |
"--json-output", |
| 19 |
"/path/to/tmp/json", |
| 20 |
"ensure-directory", |
| 21 |
"--mode", |
| 22 |
"0o777", |
| 23 |
"[START_DIR]" |
| 24 |
], |
| 25 |
"infra_step": true, |
| 26 |
"name": "makedirs checkout_path" |
| 27 |
}, |
| 28 |
{ |
| 29 |
"cmd": [ |
| 30 |
"vpython3", |
| 31 |
"-u", |
| 32 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 33 |
"--json-output", |
| 34 |
"/path/to/tmp/json", |
| 35 |
"remove", |
| 36 |
"[START_DIR]/.gclient_entries" |
| 37 |
], |
| 38 |
"infra_step": true, |
| 39 |
"name": "remove [START_DIR]/.gclient_entries" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"cmd": [ |
| 43 |
"vpython3", |
| 44 |
"-u", |
| 45 |
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| 46 |
"--spec-path", |
| 47 |
"cache_dir = '[START_DIR]/cache/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]", |
| 48 |
"--patch_root", |
| 49 |
"skia", |
| 50 |
"--revision_mapping_file", |
| 51 |
"{\"got_revision\": \"skia\"}", |
| 52 |
"--git-cache-dir", |
| 53 |
"[START_DIR]/cache/git", |
| 54 |
"--cleanup-dir", |
| 55 |
"[CLEANUP]/bot_update", |
| 56 |
"--output_json", |
| 57 |
"/path/to/tmp/json", |
| 58 |
"--revision", |
| 59 |
"skia@abc123", |
| 60 |
"--download_topics" |
| 61 |
], |
| 62 |
"env": { |
| 63 |
"CHROME_HEADLESS": "1", |
| 64 |
"DEPOT_TOOLS_COLLECT_METRICS": "0", |
| 65 |
"GIT_BACKENDINFO": "1", |
| 66 |
"GIT_DAPPER_TRACE": "1", |
| 67 |
"GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| 68 |
"GIT_HTTP_LOW_SPEED_TIME": "1800", |
| 69 |
"GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO", |
| 70 |
"GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event", |
| 71 |
"GIT_TRACE_CURL": "[CLEANUP]/trace-curl", |
| 72 |
"GIT_TRACE_CURL_NO_DATA": "1", |
| 73 |
"GIT_TRACE_PACKET": "[CLEANUP]/trace-packet" |
| 74 |
}, |
| 75 |
"env_suffixes": { |
| 76 |
"DEPOT_TOOLS_UPDATE": [ |
| 77 |
"0" |
| 78 |
], |
| 79 |
"PATH": [ |
| 80 |
"RECIPE_REPO[depot_tools]" |
| 81 |
] |
| 82 |
}, |
| 83 |
"infra_step": true, |
| 84 |
"name": "bot_update", |
| 85 |
"~followup_annotations": [ |
| 86 |
"@@@STEP_TEXT@Some step text@@@", |
| 87 |
"@@@[email protected]@{@@@", |
| 88 |
"@@@[email protected]@ \"did_run\": true,@@@", |
| 89 |
"@@@[email protected]@ \"fixed_revisions\": {@@@", |
| 90 |
"@@@[email protected]@ \"skia\": \"abc123\"@@@", |
| 91 |
"@@@[email protected]@ },@@@", |
| 92 |
"@@@[email protected]@ \"manifest\": {@@@", |
| 93 |
"@@@[email protected]@ \"skia\": {@@@", |
| 94 |
"@@@[email protected]@ \"repository\": \"https://fake.org/skia.git\",@@@", |
| 95 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 96 |
"@@@[email protected]@ }@@@", |
| 97 |
"@@@[email protected]@ },@@@", |
| 98 |
"@@@[email protected]@ \"patch_root\": \"skia\",@@@", |
| 99 |
"@@@[email protected]@ \"properties\": {@@@", |
| 100 |
"@@@[email protected]@ \"got_revision\": \"abc123\",@@@", |
| 101 |
"@@@[email protected]@ \"got_revision_cp\": \"refs/heads/main@{#164710}\"@@@", |
| 102 |
"@@@[email protected]@ },@@@", |
| 103 |
"@@@[email protected]@ \"root\": \"skia\",@@@", |
| 104 |
"@@@[email protected]@ \"source_manifest\": {@@@", |
| 105 |
"@@@[email protected]@ \"directories\": {@@@", |
| 106 |
"@@@[email protected]@ \"skia\": {@@@", |
| 107 |
"@@@[email protected]@ \"git_checkout\": {@@@", |
| 108 |
"@@@[email protected]@ \"repo_url\": \"https://fake.org/skia.git\",@@@", |
| 109 |
"@@@[email protected]@ \"revision\": \"abc123\"@@@", |
| 110 |
"@@@[email protected]@ }@@@", |
| 111 |
"@@@[email protected]@ }@@@", |
| 112 |
"@@@[email protected]@ },@@@", |
| 113 |
"@@@[email protected]@ \"version\": 0@@@", |
| 114 |
"@@@[email protected]@ },@@@", |
| 115 |
"@@@[email protected]@ \"step_text\": \"Some step text\"@@@", |
| 116 |
"@@@[email protected]@}@@@", |
| 117 |
"@@@[email protected]@@@", |
| 118 |
"@@@SET_BUILD_PROPERTY@got_revision@\"abc123\"@@@", |
| 119 |
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#164710}\"@@@" |
| 120 |
] |
| 121 |
}, |
| 122 |
{ |
| 123 |
"cmd": [ |
| 124 |
"python3", |
| 125 |
"RECIPE_MODULE[skia::infra]/resources/copytree.py", |
| 126 |
"[START_DIR]/k/skia", |
| 127 |
"[START_DIR]/skia" |
| 128 |
], |
| 129 |
"name": "copy Skia repository checkout from [START_DIR]/k/skia to [START_DIR]/skia" |
| 130 |
}, |
| 131 |
{ |
| 132 |
"cmd": [ |
| 133 |
"vpython3", |
| 134 |
"-u", |
| 135 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 136 |
"--json-output", |
| 137 |
"/path/to/tmp/json", |
| 138 |
"rmtree", |
| 139 |
"[START_DIR]/k/skia" |
| 140 |
], |
| 141 |
"infra_step": true, |
| 142 |
"name": "remove [START_DIR]/k/skia" |
| 143 |
}, |
| 144 |
{ |
| 145 |
"cmd": [ |
| 146 |
"vpython3", |
| 147 |
"-u", |
| 148 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 149 |
"--json-output", |
| 150 |
"/path/to/tmp/json", |
| 151 |
"ensure-directory", |
| 152 |
"--mode", |
| 153 |
"0o777", |
| 154 |
"[START_DIR]/tmp" |
| 155 |
], |
| 156 |
"infra_step": true, |
| 157 |
"name": "makedirs tmp_dir" |
| 158 |
}, |
| 159 |
{ |
| 160 |
"cmd": [ |
| 161 |
"python3", |
| 162 |
"[START_DIR]/skia/bin/fetch-gn" |
| 163 |
], |
| 164 |
"cwd": "[START_DIR]/skia", |
| 165 |
"env": { |
| 166 |
"CHROME_HEADLESS": "1", |
| 167 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 168 |
}, |
| 169 |
"infra_step": true, |
| 170 |
"name": "fetch-gn" |
| 171 |
}, |
| 172 |
{ |
| 173 |
"cmd": [ |
| 174 |
"python3", |
| 175 |
"[START_DIR]/skia/bin/fetch-ninja" |
| 176 |
], |
| 177 |
"cwd": "[START_DIR]/skia", |
| 178 |
"env": { |
| 179 |
"CHROME_HEADLESS": "1", |
| 180 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 181 |
}, |
| 182 |
"infra_step": true, |
| 183 |
"name": "fetch-ninja" |
| 184 |
}, |
| 185 |
{ |
| 186 |
"cmd": [ |
| 187 |
"vpython3", |
| 188 |
"-u", |
| 189 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 190 |
"--json-output", |
| 191 |
"/path/to/tmp/json", |
| 192 |
"copy", |
| 193 |
"[START_DIR]/skia/infra/bots/assets/clang_linux/VERSION", |
| 194 |
"/path/to/tmp/" |
| 195 |
], |
| 196 |
"infra_step": true, |
| 197 |
"name": "Get clang_linux VERSION", |
| 198 |
"~followup_annotations": [ |
| 199 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 200 |
"@@@STEP_LOG_END@VERSION@@@" |
| 201 |
] |
| 202 |
}, |
| 203 |
{ |
| 204 |
"cmd": [ |
| 205 |
"[START_DIR]/ccache_linux/bin/ccache", |
| 206 |
"-s" |
| 207 |
], |
| 208 |
"cwd": "[START_DIR]/skia", |
| 209 |
"env": { |
| 210 |
"CCACHE_COMPILERCHECK": "content", |
| 211 |
"CCACHE_DIR": "[START_DIR]/cache/ccache", |
| 212 |
"CCACHE_MAXFILES": "0", |
| 213 |
"CCACHE_MAXSIZE": "75G", |
| 214 |
"CHROME_HEADLESS": "1", |
| 215 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/skia/third_party/ninja" |
| 216 |
}, |
| 217 |
"name": "ccache stats-start" |
| 218 |
}, |
| 219 |
{ |
| 220 |
"cmd": [ |
| 221 |
"[START_DIR]/skia/bin/gn", |
| 222 |
"gen", |
| 223 |
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-NoPatch/Release", |
| 224 |
"--args=cc=\"[START_DIR]/clang_linux/bin/clang\" cc_wrapper=\"[START_DIR]/ccache_linux/bin/ccache\" cxx=\"[START_DIR]/clang_linux/bin/clang++\" extra_cflags=[\"-B[START_DIR]/clang_linux/bin\", \"-DPLACEHOLDER_clang_linux_version=42\"] extra_ldflags=[\"-B[START_DIR]/clang_linux/bin\", \"-fuse-ld=lld\", \"-L[START_DIR]/clang_linux/lib\"] is_debug=false is_trivial_abi=true link_pool_depth=2 skia_use_client_icu=true skia_use_libgrapheme=true target_cpu=\"arm\" werror=true" |
| 225 |
], |
| 226 |
"cwd": "[START_DIR]/skia", |
| 227 |
"env": { |
| 228 |
"CCACHE_COMPILERCHECK": "content", |
| 229 |
"CCACHE_DIR": "[START_DIR]/cache/ccache", |
| 230 |
"CCACHE_MAXFILES": "0", |
| 231 |
"CCACHE_MAXSIZE": "75G", |
| 232 |
"CHROME_HEADLESS": "1", |
| 233 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/skia/third_party/ninja" |
| 234 |
}, |
| 235 |
"name": "gn gen" |
| 236 |
}, |
| 237 |
{ |
| 238 |
"cmd": [ |
| 239 |
"[START_DIR]/skia/third_party/ninja/ninja", |
| 240 |
"-C", |
| 241 |
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-NoPatch/Release" |
| 242 |
], |
| 243 |
"cwd": "[START_DIR]/skia", |
| 244 |
"env": { |
| 245 |
"CCACHE_COMPILERCHECK": "content", |
| 246 |
"CCACHE_DIR": "[START_DIR]/cache/ccache", |
| 247 |
"CCACHE_MAXFILES": "0", |
| 248 |
"CCACHE_MAXSIZE": "75G", |
| 249 |
"CHROME_HEADLESS": "1", |
| 250 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/skia/third_party/ninja" |
| 251 |
}, |
| 252 |
"name": "ninja" |
| 253 |
}, |
| 254 |
{ |
| 255 |
"cmd": [ |
| 256 |
"[START_DIR]/ccache_linux/bin/ccache", |
| 257 |
"-s" |
| 258 |
], |
| 259 |
"cwd": "[START_DIR]/skia", |
| 260 |
"env": { |
| 261 |
"CCACHE_COMPILERCHECK": "content", |
| 262 |
"CCACHE_DIR": "[START_DIR]/cache/ccache", |
| 263 |
"CCACHE_MAXFILES": "0", |
| 264 |
"CCACHE_MAXSIZE": "75G", |
| 265 |
"CHROME_HEADLESS": "1", |
| 266 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/skia/third_party/ninja" |
| 267 |
}, |
| 268 |
"name": "ccache stats-end" |
| 269 |
}, |
| 270 |
{ |
| 271 |
"cmd": [ |
| 272 |
"python3", |
| 273 |
"RECIPE_MODULE[skia::build]/resources/copy_build_products.py", |
| 274 |
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-Release-NoPatch/Release", |
| 275 |
"[START_DIR]/[SWARM_OUT_DIR]", |
| 276 |
"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" |
| 277 |
], |
| 278 |
"infra_step": true, |
| 279 |
"name": "copy build products" |
| 280 |
}, |
| 281 |
{ |
| 282 |
"name": "$result" |
| 283 |
} |
| 284 |
] |