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 "make", | 124 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
125 "most" | |
126 ], | 125 ], |
127 "cwd": "[CUSTOM_/_B_WORK]/skia", | 126 "cwd": "[CUSTOM_/_B_WORK]/skia", |
128 "env": { | 127 "env": { |
129 "BUILDTYPE": "Debug", | 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]" |
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" | |
135 }, | 129 }, |
136 "name": "build most" | 130 "name": "fetch-gn" |
137 }, | 131 }, |
138 { | 132 { |
139 "cmd": [ | 133 "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": [ |
140 "python", | 159 "python", |
141 "-u", | 160 "-u", |
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", | 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", |
143 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", | 162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86-Debug/Debug", |
144 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
145 ], | 164 ], |
146 "name": "copy build products", | 165 "name": "copy build products", |
147 "~followup_annotations": [ | 166 "~followup_annotations": [ |
148 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 167 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
149 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 168 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 21 matching lines...) Expand all Loading... |
171 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
172 "@@@STEP_LOG_END@python.inline@@@" | 191 "@@@STEP_LOG_END@python.inline@@@" |
173 ] | 192 ] |
174 }, | 193 }, |
175 { | 194 { |
176 "name": "$result", | 195 "name": "$result", |
177 "recipe_result": null, | 196 "recipe_result": null, |
178 "status_code": 0 | 197 "status_code": 0 |
179 } | 198 } |
180 ] | 199 ] |
OLD | NEW |