OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", | 6 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.
path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not
a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
7 "[CUSTOM_/_B_WORK]", | 7 "[CUSTOM_/_B_WORK]", |
8 "511" | 8 "511" |
9 ], | 9 ], |
10 "name": "makedirs checkout_path", | 10 "name": "makedirs checkout_path", |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 136 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
137 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 137 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
138 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 138 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
139 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
140 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 140 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
141 "@@@STEP_LOG_END@python.inline@@@" | 141 "@@@STEP_LOG_END@python.inline@@@" |
142 ] | 142 ] |
143 }, | 143 }, |
144 { | 144 { |
145 "cmd": [ | 145 "cmd": [ |
146 "make", | 146 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
147 "dm" | |
148 ], | 147 ], |
149 "cwd": "[CUSTOM_/_B_WORK]/skia", | 148 "cwd": "[CUSTOM_/_B_WORK]/skia", |
150 "env": { | 149 "env": { |
151 "BUILDTYPE": "Debug", | 150 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
152 "CHROME_HEADLESS": "1", | |
153 "CHROME_PATH": "[SLAVE_BUILD]/src", | |
154 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | |
155 "SKIA_OUT": "[SLAVE_BUILD]/out" | |
156 }, | 151 }, |
157 "name": "build dm" | 152 "name": "fetch-gn" |
158 }, | 153 }, |
159 { | 154 { |
160 "cmd": [ | 155 "cmd": [ |
| 156 "gn", |
| 157 "gen", |
| 158 "[SLAVE_BUILD]/out/Debug", |
| 159 "--args=cc=\"gcc\" cxx=\"g++\"" |
| 160 ], |
| 161 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 162 "env": { |
| 163 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
| 164 }, |
| 165 "name": "gn gen" |
| 166 }, |
| 167 { |
| 168 "cmd": [ |
| 169 "ninja", |
| 170 "-C", |
| 171 "[SLAVE_BUILD]/out/Debug" |
| 172 ], |
| 173 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 174 "env": { |
| 175 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
| 176 }, |
| 177 "name": "ninja" |
| 178 }, |
| 179 { |
| 180 "cmd": [ |
161 "python", | 181 "python", |
162 "-u", | 182 "-u", |
163 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n 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.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", | 183 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc =
sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get
_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', '*
.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell
.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(
dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor patt
ern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f i
n 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.d
irname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n
shutil.move(f, dst_path)\n", |
164 "[SLAVE_BUILD]/out/Debug", | 184 "[SLAVE_BUILD]/out/Debug", |
165 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct" | 185 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct" |
166 ], | 186 ], |
167 "name": "copy build products", | 187 "name": "copy build products", |
168 "~followup_annotations": [ | 188 "~followup_annotations": [ |
169 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 189 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
170 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 190 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 1417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1588 "@@@STEP_LINK@shard #0 isolated out@blah@@@", | 1608 "@@@STEP_LINK@shard #0 isolated out@blah@@@", |
1589 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" | 1609 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta
sk/148aa78d7aa0000@@@" |
1590 ] | 1610 ] |
1591 }, | 1611 }, |
1592 { | 1612 { |
1593 "name": "$result", | 1613 "name": "$result", |
1594 "recipe_result": null, | 1614 "recipe_result": null, |
1595 "status_code": 0 | 1615 "status_code": 0 |
1596 } | 1616 } |
1597 ] | 1617 ] |
OLD | NEW |