| 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 14 matching lines...) Expand all Loading... |
| 25 "cmd": [ | 25 "cmd": [ |
| 26 "python", | 26 "python", |
| 27 "-u", | 27 "-u", |
| 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 29 "config", | 29 "config", |
| 30 "--spec", | 30 "--spec", |
| 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\
ntarget_os = ['llvm']" | 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man
aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\
ntarget_os = ['llvm']" |
| 32 ], | 32 ], |
| 33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
| 34 "env": { | 34 "env": { |
| 35 "BUILDTYPE": "Debug", | 35 "BUILDTYPE": "Release", |
| 36 "CHROME_HEADLESS": "1", | 36 "CHROME_HEADLESS": "1", |
| 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", | 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", |
| 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 39 }, | 39 }, |
| 40 "name": "gclient setup" | 40 "name": "gclient setup" |
| 41 }, | 41 }, |
| 42 { | 42 { |
| 43 "cmd": [ | 43 "cmd": [ |
| 44 "python", | 44 "python", |
| 45 "-u", | 45 "-u", |
| 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 47 "sync", | 47 "sync", |
| 48 "--nohooks", | 48 "--nohooks", |
| 49 "--force", | 49 "--force", |
| 50 "--verbose", | 50 "--verbose", |
| 51 "--delete_unversioned_trees", | 51 "--delete_unversioned_trees", |
| 52 "--revision", | 52 "--revision", |
| 53 "skia@abc123", | 53 "skia@abc123", |
| 54 "--output-json", | 54 "--output-json", |
| 55 "/path/to/tmp/json" | 55 "/path/to/tmp/json" |
| 56 ], | 56 ], |
| 57 "cwd": "[CUSTOM_/_B_WORK]", | 57 "cwd": "[CUSTOM_/_B_WORK]", |
| 58 "env": { | 58 "env": { |
| 59 "BUILDTYPE": "Debug", | 59 "BUILDTYPE": "Release", |
| 60 "CHROME_HEADLESS": "1", | 60 "CHROME_HEADLESS": "1", |
| 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 62 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 63 }, | 63 }, |
| 64 "name": "gclient sync", | 64 "name": "gclient sync", |
| 65 "~followup_annotations": [ | 65 "~followup_annotations": [ |
| 66 "@@@STEP_LOG_LINE@json.output@{@@@", | 66 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
| 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", |
| 70 "@@@STEP_LOG_LINE@json.output@ }@@@", | 70 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 71 "@@@STEP_LOG_LINE@json.output@ }@@@", | 71 "@@@STEP_LOG_LINE@json.output@ }@@@", |
| 72 "@@@STEP_LOG_LINE@json.output@}@@@", | 72 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 73 "@@@STEP_LOG_END@json.output@@@", | 73 "@@@STEP_LOG_END@json.output@@@", |
| 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 74 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" |
| 75 ] | 75 ] |
| 76 }, | 76 }, |
| 77 { | 77 { |
| 78 "cmd": [ | 78 "cmd": [ |
| 79 "python", | 79 "python", |
| 80 "-u", | 80 "-u", |
| 81 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac
he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri
nt json.dumps({'ccache': ccache})\n" | 81 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac
he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri
nt json.dumps({'ccache': ccache})\n" |
| 82 ], | 82 ], |
| 83 "env": { | 83 "env": { |
| 84 "BUILDTYPE": "Debug", | 84 "BUILDTYPE": "Release", |
| 85 "CHROME_HEADLESS": "1", | 85 "CHROME_HEADLESS": "1", |
| 86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 86 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 87 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 88 }, | 88 }, |
| 89 "name": "has ccache?", | 89 "name": "has ccache?", |
| 90 "stdout": "/path/to/tmp/json", | 90 "stdout": "/path/to/tmp/json", |
| 91 "~followup_annotations": [ | 91 "~followup_annotations": [ |
| 92 "@@@STEP_LOG_LINE@json.output@{@@@", | 92 "@@@STEP_LOG_LINE@json.output@{@@@", |
| 93 "@@@STEP_LOG_LINE@json.output@ \"ccache\": \"/usr/bin/ccache\"@@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"ccache\": \"/usr/bin/ccache\"@@@", |
| 94 "@@@STEP_LOG_LINE@json.output@}@@@", | 94 "@@@STEP_LOG_LINE@json.output@}@@@", |
| 95 "@@@STEP_LOG_END@json.output@@@", | 95 "@@@STEP_LOG_END@json.output@@@", |
| 96 "@@@STEP_LOG_LINE@python.inline@import json@@@", | 96 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
| 97 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 97 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 98 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 98 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 99 "@@@STEP_LOG_LINE@python.inline@@@@", | 99 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 100 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@", | 100 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@", |
| 101 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 101 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 102 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which
', 'ccache']).rstrip()@@@", | 102 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which
', 'ccache']).rstrip()@@@", |
| 103 "@@@STEP_LOG_LINE@python.inline@except:@@@", | 103 "@@@STEP_LOG_LINE@python.inline@except:@@@", |
| 104 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 104 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 105 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", | 105 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", |
| 106 "@@@STEP_LOG_END@python.inline@@@" | 106 "@@@STEP_LOG_END@python.inline@@@" |
| 107 ] | 107 ] |
| 108 }, | 108 }, |
| 109 { | 109 { |
| 110 "cmd": [ | 110 "cmd": [ |
| 111 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" | 111 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
| 112 ], | 112 ], |
| 113 "cwd": "[CUSTOM_/_B_WORK]/skia", | 113 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 114 "env": { | 114 "env": { |
| 115 "BUILDTYPE": "Debug", | 115 "BUILDTYPE": "Release", |
| 116 "CC": "/usr/bin/clang", | 116 "CC": "/usr/bin/clang", |
| 117 "CHROME_HEADLESS": "1", | 117 "CHROME_HEADLESS": "1", |
| 118 "CXX": "/usr/bin/clang++", | 118 "CXX": "/usr/bin/clang++", |
| 119 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_
errors=1", | 119 "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=1", |
| 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 120 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 121 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 121 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 122 }, | 122 }, |
| 123 "name": "fetch-gn" | 123 "name": "fetch-gn" |
| 124 }, | 124 }, |
| 125 { | 125 { |
| 126 "cmd": [ | 126 "cmd": [ |
| 127 "gn", | 127 "gn", |
| 128 "gen", | 128 "gen", |
| 129 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 129 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", |
| 130 "--args=cc=\"clang\" cxx=\"clang++\" is_debug=true extra_cflags=\"-Qunused
-arguments\" compiler_prefix=\"/usr/bin/ccache\"" | 130 "--args=is_debug=false compiler_prefix=\"/usr/bin/ccache\" ndk=\"[SLAVE_BU
ILD]/android_ndk_linux\" target_cpu=\"arm64\"" |
| 131 ], | 131 ], |
| 132 "cwd": "[CUSTOM_/_B_WORK]/skia", | 132 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 133 "env": { | 133 "env": { |
| 134 "BUILDTYPE": "Debug", | 134 "BUILDTYPE": "Release", |
| 135 "CC": "/usr/bin/clang", | 135 "CC": "/usr/bin/clang", |
| 136 "CHROME_HEADLESS": "1", | 136 "CHROME_HEADLESS": "1", |
| 137 "CXX": "/usr/bin/clang++", | 137 "CXX": "/usr/bin/clang++", |
| 138 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_
errors=1", | 138 "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=1", |
| 139 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 139 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 140 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 140 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 141 }, | 141 }, |
| 142 "name": "gn gen" | 142 "name": "gn gen" |
| 143 }, | 143 }, |
| 144 { | 144 { |
| 145 "cmd": [ | 145 "cmd": [ |
| 146 "ninja", | 146 "ninja", |
| 147 "-C", | 147 "-C", |
| 148 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug" | 148 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease" |
| 149 ], | 149 ], |
| 150 "cwd": "[CUSTOM_/_B_WORK]/skia", | 150 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 151 "env": { | 151 "env": { |
| 152 "BUILDTYPE": "Debug", | 152 "BUILDTYPE": "Release", |
| 153 "CC": "/usr/bin/clang", | 153 "CC": "/usr/bin/clang", |
| 154 "CHROME_HEADLESS": "1", | 154 "CHROME_HEADLESS": "1", |
| 155 "CXX": "/usr/bin/clang++", | 155 "CXX": "/usr/bin/clang++", |
| 156 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_warnings_as_
errors=1", | 156 "GYP_DEFINES": "skia_clang_build=1 skia_warnings_as_errors=1", |
| 157 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 157 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
| 158 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN
" | 158 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-G
N_Android" |
| 159 }, | 159 }, |
| 160 "name": "ninja" | 160 "name": "ninja" |
| 161 }, | 161 }, |
| 162 { | 162 { |
| 163 "cmd": [ | 163 "cmd": [ |
| 164 "python", | 164 "python", |
| 165 "-u", | 165 "-u", |
| 166 "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", | 166 "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", |
| 167 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-GN/Debug", | 167 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Release-GN_Android/Re
lease", |
| 168 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" | 168 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
| 169 ], | 169 ], |
| 170 "name": "copy build products", | 170 "name": "copy build products", |
| 171 "~followup_annotations": [ | 171 "~followup_annotations": [ |
| 172 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 172 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
| 173 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 173 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
| 174 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 174 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
| 175 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 175 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
| 176 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 176 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 177 "@@@STEP_LOG_LINE@python.inline@@@@", | 177 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 178 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", | 178 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 195 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 195 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
| 196 "@@@STEP_LOG_END@python.inline@@@" | 196 "@@@STEP_LOG_END@python.inline@@@" |
| 197 ] | 197 ] |
| 198 }, | 198 }, |
| 199 { | 199 { |
| 200 "name": "$result", | 200 "name": "$result", |
| 201 "recipe_result": null, | 201 "recipe_result": null, |
| 202 "status_code": 0 | 202 "status_code": 0 |
| 203 } | 203 } |
| 204 ] | 204 ] |
| OLD | NEW |