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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 ], | 133 ], |
134 "cwd": "[CUSTOM_/_B_WORK]", | 134 "cwd": "[CUSTOM_/_B_WORK]", |
135 "env": { | 135 "env": { |
136 "GYP_CHROMIUM_NO_ACTION": "0", | 136 "GYP_CHROMIUM_NO_ACTION": "0", |
137 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 137 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
138 }, | 138 }, |
139 "name": "gclient runhooks" | 139 "name": "gclient runhooks" |
140 }, | 140 }, |
141 { | 141 { |
142 "cmd": [ | 142 "cmd": [ |
143 "make", | |
144 "most" | |
145 ], | |
146 "cwd": "[CUSTOM_/_B_WORK]/skia", | |
147 "env": { | |
148 "BUILDTYPE": "Debug", | |
149 "CC": "/usr/bin/clang", | |
150 "CHROME_HEADLESS": "1", | |
151 "CHROME_PATH": "[SLAVE_BUILD]/src", | |
152 "CXX": "/usr/bin/clang++", | |
153 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff
er=1 skia_warnings_as_errors=1", | |
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": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | |
156 }, | |
157 "name": "build most" | |
158 }, | |
159 { | |
160 "cmd": [ | |
161 "python", | 143 "python", |
162 "-u", | 144 "-u", |
163 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py", | 145 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py", |
164 "--chrome-dir", | 146 "--chrome-dir", |
165 "[CUSTOM_/_B_WORK]", | 147 "[CUSTOM_/_B_WORK]", |
166 "--output-dir", | 148 "--output-dir", |
167 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 149 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
168 "--chrome-build-type", | 150 "--chrome-build-type", |
169 "Debug", | 151 "Debug", |
170 "--no-sync" | 152 "--no-sync", |
| 153 "--make-output-dir" |
171 ], | 154 ], |
172 "env": { | 155 "env": { |
173 "BUILDTYPE": "Debug", | 156 "BUILDTYPE": "Debug", |
174 "CC": "/usr/bin/clang", | |
175 "CHROME_HEADLESS": "1", | 157 "CHROME_HEADLESS": "1", |
176 "CHROME_PATH": "[SLAVE_BUILD]/src", | |
177 "CXX": "/usr/bin/clang++", | |
178 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff
er=1 skia_warnings_as_errors=1", | |
179 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | 158 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
180 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" | 159 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma
ndBuffer" |
181 }, | 160 }, |
182 "name": "build command_buffer" | 161 "name": "build command_buffer" |
183 }, | 162 }, |
184 { | 163 { |
185 "cmd": [ | 164 "cmd": [ |
| 165 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 166 ], |
| 167 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 168 "env": { |
| 169 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
| 170 }, |
| 171 "name": "fetch-gn" |
| 172 }, |
| 173 { |
| 174 "cmd": [ |
| 175 "gn", |
| 176 "gen", |
| 177 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
| 178 "--args=cc=\"clang\" cxx=\"clang++\"" |
| 179 ], |
| 180 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 181 "env": { |
| 182 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
| 183 }, |
| 184 "name": "gn gen" |
| 185 }, |
| 186 { |
| 187 "cmd": [ |
| 188 "ninja", |
| 189 "-C", |
| 190 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug" |
| 191 ], |
| 192 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 193 "env": { |
| 194 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" |
| 195 }, |
| 196 "name": "ninja" |
| 197 }, |
| 198 { |
| 199 "cmd": [ |
186 "python", | 200 "python", |
187 "-u", | 201 "-u", |
188 "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", | 202 "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", |
189 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", | 203 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb
ug", |
190 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 204 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
191 ], | 205 ], |
192 "name": "copy build products", | 206 "name": "copy build products", |
193 "~followup_annotations": [ | 207 "~followup_annotations": [ |
194 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 208 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
195 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 209 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 21 matching lines...) Expand all Loading... |
217 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 231 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
218 "@@@STEP_LOG_END@python.inline@@@" | 232 "@@@STEP_LOG_END@python.inline@@@" |
219 ] | 233 ] |
220 }, | 234 }, |
221 { | 235 { |
222 "name": "$result", | 236 "name": "$result", |
223 "recipe_result": null, | 237 "recipe_result": null, |
224 "status_code": 0 | 238 "status_code": 0 |
225 } | 239 } |
226 ] | 240 ] |
OLD | NEW |