1[ 2 { 3 "cmd": [], 4 "name": "ensure xcode", 5 "~followup_annotations": [ 6 "@@@STEP_TEXT@Ensuring Xcode version 11e503a in [START_DIR]/cache/Xcode.app@@@" 7 ] 8 }, 9 { 10 "cmd": [ 11 "[START_DIR]/mac_toolchain/mac_toolchain", 12 "install", 13 "-kind", 14 "ios", 15 "-xcode-version", 16 "11e503a", 17 "-output-dir", 18 "[START_DIR]/cache/Xcode.app" 19 ], 20 "name": "ensure xcode.install xcode", 21 "~followup_annotations": [ 22 "@@@STEP_NEST_LEVEL@1@@@" 23 ] 24 }, 25 { 26 "cmd": [ 27 "sudo", 28 "xcode-select", 29 "-switch", 30 "[START_DIR]/cache/Xcode.app" 31 ], 32 "name": "ensure xcode.select xcode", 33 "~followup_annotations": [ 34 "@@@STEP_NEST_LEVEL@1@@@" 35 ] 36 }, 37 { 38 "cmd": [ 39 "python", 40 "-u", 41 "[START_DIR]/cache/work/skia/bin/fetch-gn" 42 ], 43 "cwd": "[START_DIR]/cache/work/skia", 44 "env": { 45 "CHROME_HEADLESS": "1", 46 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 47 }, 48 "infra_step": true, 49 "name": "fetch-gn" 50 }, 51 { 52 "cmd": [ 53 "[START_DIR]/ccache_mac/bin/ccache", 54 "-s" 55 ], 56 "cwd": "[START_DIR]/cache/work/skia", 57 "env": { 58 "CCACHE_COMPILERCHECK": "content", 59 "CCACHE_DIR": "[START_DIR]/cache/ccache", 60 "CCACHE_MAXFILES": "0", 61 "CCACHE_MAXSIZE": "50G", 62 "CHROME_HEADLESS": "1", 63 "IPHONEOS_DEPLOYMENT_TARGET": "11.0", 64 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 65 }, 66 "name": "ccache stats-start" 67 }, 68 { 69 "cmd": [ 70 "[START_DIR]/cache/work/skia/bin/gn", 71 "gen", 72 "[START_DIR]/cache/work/skia/out/Build-Mac-Xcode11.4.1-arm64-Debug-iOS/Debug", 73 "--args=cc_wrapper=\"[START_DIR]/ccache_mac/bin/ccache\" extra_cflags=[\"-DREBUILD_IF_CHANGED_xcode_build_version=11e503a\", \"-O1\"] skia_ios_identity=\".*GS9WA.*\" skia_ios_profile=\"[START_DIR]/provisioning_profile_ios/Upstream_Testing_Provisioning_Profile.mobileprovision\" target_cpu=\"arm64\" target_os=\"ios\" werror=true" 74 ], 75 "cwd": "[START_DIR]/cache/work/skia", 76 "env": { 77 "CCACHE_COMPILERCHECK": "content", 78 "CCACHE_DIR": "[START_DIR]/cache/ccache", 79 "CCACHE_MAXFILES": "0", 80 "CCACHE_MAXSIZE": "50G", 81 "CHROME_HEADLESS": "1", 82 "IPHONEOS_DEPLOYMENT_TARGET": "11.0", 83 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 84 }, 85 "name": "gn gen" 86 }, 87 { 88 "cmd": [ 89 "ninja", 90 "-C", 91 "[START_DIR]/cache/work/skia/out/Build-Mac-Xcode11.4.1-arm64-Debug-iOS/Debug" 92 ], 93 "cwd": "[START_DIR]/cache/work/skia", 94 "env": { 95 "CCACHE_COMPILERCHECK": "content", 96 "CCACHE_DIR": "[START_DIR]/cache/ccache", 97 "CCACHE_MAXFILES": "0", 98 "CCACHE_MAXSIZE": "50G", 99 "CHROME_HEADLESS": "1", 100 "IPHONEOS_DEPLOYMENT_TARGET": "11.0", 101 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 102 }, 103 "name": "ninja" 104 }, 105 { 106 "cmd": [ 107 "[START_DIR]/ccache_mac/bin/ccache", 108 "-s" 109 ], 110 "cwd": "[START_DIR]/cache/work/skia", 111 "env": { 112 "CCACHE_COMPILERCHECK": "content", 113 "CCACHE_DIR": "[START_DIR]/cache/ccache", 114 "CCACHE_MAXFILES": "0", 115 "CCACHE_MAXSIZE": "50G", 116 "CHROME_HEADLESS": "1", 117 "IPHONEOS_DEPLOYMENT_TARGET": "11.0", 118 "PATH": "<PATH>:RECIPE_REPO[depot_tools]" 119 }, 120 "name": "ccache stats-end" 121 }, 122 { 123 "cmd": [ 124 "python", 125 "-u", 126 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", 127 "[START_DIR]/cache/work/skia/out/Build-Mac-Xcode11.4.1-arm64-Debug-iOS/Debug", 128 "[START_DIR]/[SWARM_OUT_DIR]/out/Debug" 129 ], 130 "infra_step": true, 131 "name": "copy build products", 132 "~followup_annotations": [ 133 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 134 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 135 "@@@STEP_LOG_LINE@python.inline@import os@@@", 136 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 137 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 138 "@@@STEP_LOG_LINE@python.inline@@@@", 139 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", 140 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", 141 "@@@STEP_LOG_LINE@python.inline@build_products = ['dm', 'dm.exe', 'dm.app', 'fm', 'fm.exe', 'nanobench.app', 'get_images_from_skps', 'get_images_from_skps.exe', 'hello-opencl', 'hello-opencl.exe', 'nanobench', 'nanobench.exe', 'skpbench', 'skpbench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'skottie_tool', 'lib/*.so', 'run_testlab', 'skqp-universal-debug.apk']@@@", 142 "@@@STEP_LOG_LINE@python.inline@@@@", 143 "@@@STEP_LOG_LINE@python.inline@try:@@@", 144 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", 145 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", 146 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", 147 "@@@STEP_LOG_LINE@python.inline@ raise@@@", 148 "@@@STEP_LOG_LINE@python.inline@@@@", 149 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products:@@@", 150 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", 151 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", 152 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@", 153 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@", 154 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path))@@@", 155 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@", 156 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 157 "@@@STEP_LOG_END@python.inline@@@" 158 ] 159 }, 160 { 161 "name": "$result" 162 } 163]