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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", | 103 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", |
104 "@@@STEP_LOG_END@python.inline@@@" | 104 "@@@STEP_LOG_END@python.inline@@@" |
105 ] | 105 ] |
106 }, | 106 }, |
107 { | 107 { |
108 "cmd": [ | 108 "cmd": [ |
109 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 109 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
110 ], | 110 ], |
111 "cwd": "[CUSTOM_/_B_WORK]/skia", | 111 "cwd": "[CUSTOM_/_B_WORK]/skia", |
112 "env": { | 112 "env": { |
113 "BUILDTYPE": "Release", | 113 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
114 "CHROME_HEADLESS": "1", | |
115 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors=
0", | |
116 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
117 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa
st" | |
118 }, | 114 }, |
119 "name": "fetch-gn" | 115 "name": "fetch-gn" |
120 }, | 116 }, |
121 { | 117 { |
122 "cmd": [ | 118 "cmd": [ |
123 "gn", | 119 "gn", |
124 "gen", | 120 "gen", |
125 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", | 121 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", |
126 "--args=cc=\"gcc\" compiler_prefix=\"\" cxx=\"g++\" extra_cflags=\"-march=
native -fomit-frame-pointer -O3\" is_debug=false" | 122 "--args=cc=\"gcc\" compiler_prefix=\"\" cxx=\"g++\" extra_cflags=\"-march=
native -fomit-frame-pointer -O3\" is_debug=false" |
127 ], | 123 ], |
128 "cwd": "[CUSTOM_/_B_WORK]/skia", | 124 "cwd": "[CUSTOM_/_B_WORK]/skia", |
129 "env": { | 125 "env": { |
130 "BUILDTYPE": "Release", | 126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
131 "CHROME_HEADLESS": "1", | |
132 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors=
0", | |
133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
134 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa
st" | |
135 }, | 127 }, |
136 "name": "gn gen" | 128 "name": "gn gen" |
137 }, | 129 }, |
138 { | 130 { |
139 "cmd": [ | 131 "cmd": [ |
140 "ninja", | 132 "ninja", |
141 "-C", | 133 "-C", |
142 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release" | 134 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release" |
143 ], | 135 ], |
144 "cwd": "[CUSTOM_/_B_WORK]/skia", | 136 "cwd": "[CUSTOM_/_B_WORK]/skia", |
145 "env": { | 137 "env": { |
146 "BUILDTYPE": "Release", | 138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
147 "CHROME_HEADLESS": "1", | |
148 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors=
0", | |
149 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
150 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa
st" | |
151 }, | 139 }, |
152 "name": "ninja" | 140 "name": "ninja" |
153 }, | 141 }, |
154 { | 142 { |
155 "cmd": [ | 143 "cmd": [ |
156 "python", | 144 "python", |
157 "-u", | 145 "-u", |
158 "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", | 146 "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", |
159 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", | 147 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", |
160 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" | 148 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
(...skipping 26 matching lines...) Expand all Loading... |
187 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 175 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
188 "@@@STEP_LOG_END@python.inline@@@" | 176 "@@@STEP_LOG_END@python.inline@@@" |
189 ] | 177 ] |
190 }, | 178 }, |
191 { | 179 { |
192 "name": "$result", | 180 "name": "$result", |
193 "recipe_result": null, | 181 "recipe_result": null, |
194 "status_code": 0 | 182 "status_code": 0 |
195 } | 183 } |
196 ] | 184 ] |
OLD | NEW |