1[ 2 { 3 "cmd": [], 4 "name": "Docker setup" 5 }, 6 { 7 "cmd": [ 8 "python3", 9 "RECIPE_MODULE[skia::docker]/resources/get_uid_gid.py" 10 ], 11 "name": "Docker setup.Get uid and gid", 12 "~followup_annotations": [ 13 "@@@STEP_NEST_LEVEL@1@@@" 14 ] 15 }, 16 { 17 "cmd": [ 18 "vpython3", 19 "-u", 20 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", 21 "--json-output", 22 "/path/to/tmp/json", 23 "ensure-directory", 24 "--mode", 25 "0o777", 26 "[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86-Debug-Docker/Debug" 27 ], 28 "infra_step": true, 29 "name": "Docker setup.mkdirs out_dir", 30 "~followup_annotations": [ 31 "@@@STEP_NEST_LEVEL@1@@@" 32 ] 33 }, 34 { 35 "cmd": [ 36 "chmod", 37 "777", 38 "[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86-Debug-Docker/Debug" 39 ], 40 "infra_step": true, 41 "name": "Docker setup.chmod 777 [START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86-Debug-Docker/Debug", 42 "~followup_annotations": [ 43 "@@@STEP_NEST_LEVEL@1@@@" 44 ] 45 }, 46 { 47 "cmd": [ 48 "chmod", 49 "755", 50 "[START_DIR]/cache/work" 51 ], 52 "infra_step": true, 53 "name": "Docker setup.chmod 755 [START_DIR]/cache/work", 54 "~followup_annotations": [ 55 "@@@STEP_NEST_LEVEL@1@@@" 56 ] 57 }, 58 { 59 "cmd": [ 60 "chmod", 61 "0755", 62 "RECIPE_MODULE[skia::build]/resources/docker-compile.sh" 63 ], 64 "infra_step": true, 65 "name": "Docker setup.chmod 0755 RECIPE_MODULE[skia::build]/resources/docker-compile.sh", 66 "~followup_annotations": [ 67 "@@@STEP_NEST_LEVEL@1@@@" 68 ] 69 }, 70 { 71 "cmd": [ 72 "docker", 73 "run", 74 "--shm-size=2gb", 75 "--rm", 76 "--user", 77 "13:17", 78 "--mount", 79 "type=bind,source=[START_DIR]/cache/work,target=/SRC", 80 "--mount", 81 "type=bind,source=[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86-Debug-Docker/Debug,target=/OUT", 82 "gcr.io/skia-public/gcc-debian11-x86@sha256:eb30682887c4c74c95f769aacab8a1a170eb561536ded87f0914f88b7243ba23", 83 "/SRC/../RECIPE_MODULE[skia::build]/resources/docker-compile.sh", 84 "cc=\"gcc\" cxx=\"g++\" extra_cflags=[\"-O1\",\"-g1\",\"-DREBUILD_IF_CHANGED_docker_image=gcr.io/skia-public/gcc-debian11-x86@sha256:eb30682887c4c74c95f769aacab8a1a170eb561536ded87f0914f88b7243ba23\"] extra_ldflags=[] target_cpu=\"x86\" werror=true" 85 ], 86 "env": { 87 "CHROME_HEADLESS": "1", 88 "DOCKER_CONFIG": "/home/chrome-bot/.docker", 89 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 90 }, 91 "name": "Run build script in Docker" 92 }, 93 { 94 "cmd": [ 95 "python3", 96 "RECIPE_MODULE[skia::build]/resources/copy_build_products.py", 97 "[START_DIR]/cache/work/skia/out/Build-Debian11-GCC-x86-Debug-Docker/Debug", 98 "[START_DIR]/[SWARM_OUT_DIR]/out/Debug", 99 "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" 100 ], 101 "infra_step": true, 102 "name": "copy build products" 103 }, 104 { 105 "name": "$result" 106 } 107]