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": "Debug", | 113 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
114 "CHROME_HEADLESS": "1", | |
115 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE", | |
116 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | |
117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U
SE_DISCARDABLE_SCALEDIMAGECACHE" | |
119 }, | 114 }, |
120 "name": "fetch-gn" | 115 "name": "fetch-gn" |
121 }, | 116 }, |
122 { | 117 { |
123 "cmd": [ | 118 "cmd": [ |
124 "gn", | 119 "gn", |
125 "gen", | 120 "gen", |
126 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug", | 121 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug", |
127 "--args=cc=\"gcc\" compiler_prefix=\"\" cxx=\"g++\" extra_cflags=\"-DSK_US
E_DISCARDABLE_SCALEDIMAGECACHE\" is_debug=true" | 122 "--args=cc=\"gcc\" compiler_prefix=\"\" cxx=\"g++\" extra_cflags=\"-DSK_US
E_DISCARDABLE_SCALEDIMAGECACHE\" is_debug=true" |
128 ], | 123 ], |
129 "cwd": "[CUSTOM_/_B_WORK]/skia", | 124 "cwd": "[CUSTOM_/_B_WORK]/skia", |
130 "env": { | 125 "env": { |
131 "BUILDTYPE": "Debug", | 126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
132 "CHROME_HEADLESS": "1", | |
133 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE", | |
134 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | |
135 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
136 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U
SE_DISCARDABLE_SCALEDIMAGECACHE" | |
137 }, | 127 }, |
138 "name": "gn gen" | 128 "name": "gn gen" |
139 }, | 129 }, |
140 { | 130 { |
141 "cmd": [ | 131 "cmd": [ |
142 "ninja", | 132 "ninja", |
143 "-C", | 133 "-C", |
144 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug" | 134 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug" |
145 ], | 135 ], |
146 "cwd": "[CUSTOM_/_B_WORK]/skia", | 136 "cwd": "[CUSTOM_/_B_WORK]/skia", |
147 "env": { | 137 "env": { |
148 "BUILDTYPE": "Debug", | 138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]" |
149 "CHROME_HEADLESS": "1", | |
150 "CPPFLAGS": "-DSK_USE_DISCARDABLE_SCALEDIMAGECACHE", | |
151 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | |
152 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | |
153 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_U
SE_DISCARDABLE_SCALEDIMAGECACHE" | |
154 }, | 139 }, |
155 "name": "ninja" | 140 "name": "ninja" |
156 }, | 141 }, |
157 { | 142 { |
158 "cmd": [ | 143 "cmd": [ |
159 "python", | 144 "python", |
160 "-u", | 145 "-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", | 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", |
162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug", | 147 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Debug-SK_USE_DISCARDAB
LE_SCALEDIMAGECACHE/Debug", |
163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 148 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" |
(...skipping 26 matching lines...) Expand all Loading... |
190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 175 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
191 "@@@STEP_LOG_END@python.inline@@@" | 176 "@@@STEP_LOG_END@python.inline@@@" |
192 ] | 177 ] |
193 }, | 178 }, |
194 { | 179 { |
195 "name": "$result", | 180 "name": "$result", |
196 "recipe_result": null, | 181 "recipe_result": null, |
197 "status_code": 0 | 182 "status_code": 0 |
198 } | 183 } |
199 ] | 184 ] |
OLD | NEW |