blob: 3046bac31067b03b9e8c9eb9b6ef1cd43ce519cd [file] [log] [blame]
[
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/cache/work/skia/infra/bots/assets/android_ndk_linux/VERSION",
"/path/to/tmp/"
],
"infra_step": true,
"name": "Get android_ndk_linux VERSION",
"~followup_annotations": [
"@@@STEP_LOG_LINE@VERSION@42@@@",
"@@@STEP_LOG_END@VERSION@@@"
]
},
{
"cmd": [
"python3",
"[START_DIR]/cache/work/skia/bin/fetch-gn"
],
"cwd": "[START_DIR]/cache/work/skia",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
},
"infra_step": true,
"name": "fetch-gn"
},
{
"cmd": [
"python3",
"[START_DIR]/cache/work/skia/bin/fetch-ninja"
],
"cwd": "[START_DIR]/cache/work/skia",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
},
"infra_step": true,
"name": "fetch-ninja"
},
{
"cmd": [
"[START_DIR]/cache/work/skia/bin/gn",
"gen",
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-OptimizeForSize-Android_NoPatch/OptimizeForSize",
"--args=extra_cflags=[\"-DREBUILD_IF_CHANGED_ndk_version=42\"] extra_ldflags=[\"-Wl,--build-id=sha1\"] is_debug=false ndk=\"[START_DIR]/android_ndk_linux\" skia_enable_optimize_size=true skia_use_jpeg_gainmaps=false skia_use_runtime_icu=true target_cpu=\"arm\" werror=true"
],
"cwd": "[START_DIR]/cache/work/skia",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
},
"name": "gn gen"
},
{
"cmd": [
"ninja",
"-C",
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-OptimizeForSize-Android_NoPatch/OptimizeForSize"
],
"cwd": "[START_DIR]/cache/work/skia",
"env": {
"CHROME_HEADLESS": "1",
"PATH": "<PATH>:RECIPE_REPO[depot_tools]"
},
"name": "ninja"
},
{
"cmd": [
"python3",
"RECIPE_MODULE[skia::build]/resources/copy_build_products.py",
"[START_DIR]/cache/work/skia/out/Build-Debian10-Clang-arm-OptimizeForSize-Android_NoPatch/OptimizeForSize",
"[START_DIR]/[SWARM_OUT_DIR]/out/OptimizeForSize",
"dm,nanobench,skottie_tool_gpu"
],
"infra_step": true,
"name": "copy build products"
},
{
"name": "$result"
}
]