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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 "make", | 79 "python", |
80 "most" | 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" |
| 82 ], |
| 83 "env": { |
| 84 "BUILDTYPE": "Release", |
| 85 "CHROME_HEADLESS": "1", |
| 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-GCC-x86_64-Release-Fa
st" |
| 88 }, |
| 89 "name": "has ccache?", |
| 90 "stdout": "/path/to/tmp/json", |
| 91 "~followup_annotations": [ |
| 92 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| 93 "@@@STEP_LOG_END@json.output (invalid)@@@", |
| 94 "@@@STEP_LOG_LINE@python.inline@import json@@@", |
| 95 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
| 96 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
| 97 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 98 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@", |
| 99 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| 100 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which
', 'ccache']).rstrip()@@@", |
| 101 "@@@STEP_LOG_LINE@python.inline@except:@@@", |
| 102 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| 103 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@", |
| 104 "@@@STEP_LOG_END@python.inline@@@" |
| 105 ] |
| 106 }, |
| 107 { |
| 108 "cmd": [ |
| 109 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" |
81 ], | 110 ], |
82 "cwd": "[CUSTOM_/_B_WORK]/skia", | 111 "cwd": "[CUSTOM_/_B_WORK]/skia", |
83 "env": { | 112 "env": { |
84 "BUILDTYPE": "Release", | 113 "BUILDTYPE": "Release", |
85 "CHROME_HEADLESS": "1", | 114 "CHROME_HEADLESS": "1", |
86 "CHROME_PATH": "[SLAVE_BUILD]/src", | |
87 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors=
0", | 115 "GYP_DEFINES": "skia_arch_type=x86_64 skia_fast=1 skia_warnings_as_errors=
0", |
88 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 116 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
89 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa
st" | 117 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fa
st" |
90 }, | 118 }, |
91 "name": "build most" | 119 "name": "fetch-gn" |
92 }, | 120 }, |
93 { | 121 { |
94 "cmd": [ | 122 "cmd": [ |
| 123 "gn", |
| 124 "gen", |
| 125 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", |
| 126 "--args=is_debug=false cc=\"gcc -march=native -fomit-frame-pointer\" cxx=\
"g++ -march=native -fomit-frame-pointer\"" |
| 127 ], |
| 128 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 129 "env": { |
| 130 "BUILDTYPE": "Release", |
| 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 }, |
| 136 "name": "gn gen" |
| 137 }, |
| 138 { |
| 139 "cmd": [ |
| 140 "ninja", |
| 141 "-C", |
| 142 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release" |
| 143 ], |
| 144 "cwd": "[CUSTOM_/_B_WORK]/skia", |
| 145 "env": { |
| 146 "BUILDTYPE": "Release", |
| 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 }, |
| 152 "name": "ninja" |
| 153 }, |
| 154 { |
| 155 "cmd": [ |
95 "python", | 156 "python", |
96 "-u", | 157 "-u", |
97 "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", | 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", |
98 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", | 159 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-Fast/Release", |
99 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" | 160 "[CUSTOM_[SWARM_OUT_DIR]]/out/Release" |
100 ], | 161 ], |
101 "name": "copy build products", | 162 "name": "copy build products", |
102 "~followup_annotations": [ | 163 "~followup_annotations": [ |
103 "@@@STEP_LOG_LINE@python.inline@import errno@@@", | 164 "@@@STEP_LOG_LINE@python.inline@import errno@@@", |
104 "@@@STEP_LOG_LINE@python.inline@import glob@@@", | 165 "@@@STEP_LOG_LINE@python.inline@import glob@@@", |
(...skipping 21 matching lines...) Expand all Loading... |
126 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 187 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
127 "@@@STEP_LOG_END@python.inline@@@" | 188 "@@@STEP_LOG_END@python.inline@@@" |
128 ] | 189 ] |
129 }, | 190 }, |
130 { | 191 { |
131 "name": "$result", | 192 "name": "$result", |
132 "recipe_result": null, | 193 "recipe_result": null, |
133 "status_code": 0 | 194 "status_code": 0 |
134 } | 195 } |
135 ] | 196 ] |
OLD | NEW |