| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 "GYP_DEFINES": "skia_arch_type=x86_64 skia_shared_lib=1 skia_warnings_as_e
rrors=1", | 125 "GYP_DEFINES": "skia_arch_type=x86_64 skia_shared_lib=1 skia_warnings_as_e
rrors=1", |
| 126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 127 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Sh
ared" | 127 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Sh
ared" |
| 128 }, | 128 }, |
| 129 "name": "build most" | 129 "name": "build most" |
| 130 }, | 130 }, |
| 131 { | 131 { |
| 132 "cmd": [ | 132 "cmd": [ |
| 133 "python", | 133 "python", |
| 134 "-u", | 134 "-u", |
| 135 "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', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']\n\ntry:\n
os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise
\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern
)\n for f in 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.makedi
rs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f,
dst_path)\n shutil.move(f, dst_path)\n", | 135 "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', 'nan
obench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so
', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.d
ll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EE
XIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.j
oin(src, pattern)\n for f in 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.dirname(dst_path))\n print 'Copying build product
%s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n", |
| 136 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Shared/Release
", | 136 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Shared/Release
", |
| 137 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" | 137 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
| 138 ], | 138 ], |
| 139 "name": "copy build products", | 139 "name": "copy build products", |
| 140 "~followup_annotations": [ | 140 "~followup_annotations": [ |
| 141 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 141 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
| 142 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 142 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
| 143 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 143 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 144 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 144 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 145 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 145 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 146 "@@@STEP_LOG_LINE@python.inline@@@@", | 146 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 147 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 147 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
| 148 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", | 148 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@", |
| 149 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe'
, 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li
b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe']@@@", | 149 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe'
, 'nanobench', 'nanobench.exe', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'li
b/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulk
an-1.dll']@@@", |
| 150 "@@@STEP_LOG_LINE@python.inline@@@@", | 150 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 151 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 151 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 152 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", | 152 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@", |
| 153 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", | 153 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@", |
| 154 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", | 154 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@", |
| 155 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | 155 "@@@STEP_LOG_LINE@python.inline@ raise@@@", |
| 156 "@@@STEP_LOG_LINE@python.inline@@@@", | 156 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 157 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", | 157 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@
@", |
| 158 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", | 158 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@", |
| 159 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", | 159 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@", |
| 160 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", | 160 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r
elpath(f, src))@@@", |
| 161 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", | 161 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d
st_path)):@@@", |
| 162 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", | 162 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path
))@@@", |
| 163 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", | 163 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s'
% (f, dst_path)@@@", |
| 164 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 164 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
| 165 "@@@STEP_LOG_END@python.inline@@@" | 165 "@@@STEP_LOG_END@python.inline@@@" |
| 166 ] | 166 ] |
| 167 }, | 167 }, |
| 168 { | 168 { |
| 169 "name": "$result", | 169 "name": "$result", |
| 170 "recipe_result": null, | 170 "recipe_result": null, |
| 171 "status_code": 0 | 171 "status_code": 0 |
| 172 } | 172 } |
| 173 ] | 173 ] |
| OLD | NEW |