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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "env": { | 114 "env": { |
115 "BUILDTYPE": "Debug", | 115 "BUILDTYPE": "Debug", |
116 "CHROME_HEADLESS": "1", | 116 "CHROME_HEADLESS": "1", |
117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", | 117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" | 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
119 }, | 119 }, |
120 "name": "gclient recurse (git config user.email)" | 120 "name": "gclient recurse (git config user.email)" |
121 }, | 121 }, |
122 { | 122 { |
123 "cmd": [ | 123 "cmd": [ |
124 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 124 "make", |
| 125 "most" |
125 ], | 126 ], |
126 "cwd": "[CUSTOM_/_B_WORK]/skia", | 127 "cwd": "[CUSTOM_/_B_WORK]/skia", |
127 "env": { | 128 "env": { |
128 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | 129 "BUILDTYPE": "Debug", |
| 130 "CHROME_HEADLESS": "1", |
| 131 "CHROME_PATH": "[SLAVE_BUILD]/src", |
| 132 "GYP_DEFINES": "skia_arch_type=x86 skia_warnings_as_errors=1", |
| 133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 134 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug" |
129 }, | 135 }, |
130 "name": "fetch-gn" | 136 "name": "build most" |
131 }, | 137 }, |
132 { | 138 { |
133 "cmd": [ | 139 "cmd": [ |
134 "gn", | |
135 "gen", | |
136 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", | |
137 "--args=cc=\"gcc\" cxx=\"g++\" target_cpu=\"x86\"" | |
138 ], | |
139 "cwd": "[CUSTOM_/_B_WORK]/skia", | |
140 "env": { | |
141 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | |
142 }, | |
143 "name": "gn gen" | |
144 }, | |
145 { | |
146 "cmd": [ | |
147 "ninja", | |
148 "-C", | |
149 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug" | |
150 ], | |
151 "cwd": "[CUSTOM_/_B_WORK]/skia", | |
152 "env": { | |
153 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" | |
154 }, | |
155 "name": "ninja" | |
156 }, | |
157 { | |
158 "cmd": [ | |
159 "python", | 140 "python", |
160 "-u", | 141 "-u", |
161 "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", | 142 "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", |
162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", | 143 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", |
163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 144 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
164 ], | 145 ], |
165 "name": "copy build products", | 146 "name": "copy build products", |
166 "~followup_annotations": [ | 147 "~followup_annotations": [ |
167 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 148 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
168 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 149 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 21 matching lines...) Expand all Loading... |
190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 171 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
191 "@@@STEP_LOG_END@python.inline@@@" | 172 "@@@STEP_LOG_END@python.inline@@@" |
192 ] | 173 ] |
193 }, | 174 }, |
194 { | 175 { |
195 "name": "$result", | 176 "name": "$result", |
196 "recipe_result": null, | 177 "recipe_result": null, |
197 "status_code": 0 | 178 "status_code": 0 |
198 } | 179 } |
199 ] | 180 ] |
OLD | NEW |