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 10 matching lines...) Expand all Loading... |
21 "@@@STEP_LOG_END@python.inline@@@" | 21 "@@@STEP_LOG_END@python.inline@@@" |
22 ] | 22 ] |
23 }, | 23 }, |
24 { | 24 { |
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'},
{'deps_file': 'DEPS', 'managed': False, 'name': 'pdfium', 'url': 'https://pdfium
.googlesource.com/pdfium.git'}]" | 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git',
'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi
t'}, {'deps_file': '.DEPS.git', 'managed': False, 'name': 'pdfium', 'url': 'http
s://pdfium.googlesource.com/pdfium.git'}]" |
32 ], | 32 ], |
33 "cwd": "[CUSTOM_/_B_WORK]", | 33 "cwd": "[CUSTOM_/_B_WORK]", |
34 "env": { | 34 "env": { |
35 "BUILDTYPE": "Release", | 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-GCC-x86_64-Release-PD
Fium" | 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
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 "--verbose", |
| 49 "--with_branch_heads", |
48 "--nohooks", | 50 "--nohooks", |
| 51 "-j8", |
| 52 "--reset", |
49 "--force", | 53 "--force", |
50 "--verbose", | 54 "--upstream", |
| 55 "--no-nag-max", |
51 "--delete_unversioned_trees", | 56 "--delete_unversioned_trees", |
52 "--revision", | 57 "--revision", |
53 "skia@abc123", | 58 "skia@abc123", |
54 "--revision", | 59 "--revision", |
55 "pdfium@origin/master", | 60 "pdfium@origin/master", |
56 "--output-json", | 61 "--output-json", |
57 "/path/to/tmp/json" | 62 "/path/to/tmp/json" |
58 ], | 63 ], |
59 "cwd": "[CUSTOM_/_B_WORK]", | 64 "cwd": "[CUSTOM_/_B_WORK]", |
60 "env": { | 65 "env": { |
61 "BUILDTYPE": "Release", | 66 "BUILDTYPE": "Release", |
62 "CHROME_HEADLESS": "1", | 67 "CHROME_HEADLESS": "1", |
63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 68 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", |
64 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 69 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
65 }, | 70 }, |
66 "name": "gclient sync", | 71 "name": "gclient sync", |
67 "~followup_annotations": [ | 72 "~followup_annotations": [ |
68 "@@@STEP_LOG_LINE@json.output@{@@@", | 73 "@@@STEP_LOG_LINE@json.output@{@@@", |
69 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
70 "@@@STEP_LOG_LINE@json.output@ \"pdfium/\": {@@@", | 75 "@@@STEP_LOG_LINE@json.output@ \"pdfium/\": {@@@", |
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": 52055@@@", | 76 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d69d97171c17fdb12a52f7
8847e2ee2f0594eff1\"@@@", |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 77 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", | 78 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", |
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", | 79 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b
694580e5d17ad10748\"@@@", |
75 "@@@STEP_LOG_LINE@json.output@ }@@@", | 80 "@@@STEP_LOG_LINE@json.output@ }@@@", |
76 "@@@STEP_LOG_LINE@json.output@ }@@@", | 81 "@@@STEP_LOG_LINE@json.output@ }@@@", |
77 "@@@STEP_LOG_LINE@json.output@}@@@", | 82 "@@@STEP_LOG_LINE@json.output@}@@@", |
78 "@@@STEP_LOG_END@json.output@@@", | 83 "@@@STEP_LOG_END@json.output@@@", |
79 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" | 84 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1
0748\"@@@" |
80 ] | 85 ] |
81 }, | 86 }, |
82 { | 87 { |
83 "cmd": [ | 88 "cmd": [ |
| 89 "python", |
| 90 "-u", |
| 91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 92 "recurse", |
| 93 "git", |
| 94 "config", |
| 95 "user.name", |
| 96 "local_bot" |
| 97 ], |
| 98 "cwd": "[CUSTOM_/_B_WORK]", |
| 99 "env": { |
| 100 "BUILDTYPE": "Release", |
| 101 "CHROME_HEADLESS": "1", |
| 102 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 103 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
| 104 }, |
| 105 "name": "gclient recurse (git config user.name)" |
| 106 }, |
| 107 { |
| 108 "cmd": [ |
| 109 "python", |
| 110 "-u", |
| 111 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| 112 "recurse", |
| 113 "git", |
| 114 "config", |
| 115 "user.email", |
| 116 "local_bot@example.com" |
| 117 ], |
| 118 "cwd": "[CUSTOM_/_B_WORK]", |
| 119 "env": { |
| 120 "BUILDTYPE": "Release", |
| 121 "CHROME_HEADLESS": "1", |
| 122 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
| 123 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
| 124 }, |
| 125 "name": "gclient recurse (git config user.email)" |
| 126 }, |
| 127 { |
| 128 "cmd": [ |
84 "gclient", | 129 "gclient", |
85 "runhook", | 130 "runhook", |
86 "gn_linux64" | 131 "gn_linux64" |
87 ], | 132 ], |
88 "cwd": "[CUSTOM_/_B_WORK]/pdfium", | 133 "cwd": "[CUSTOM_/_B_WORK]/pdfium", |
89 "env": { | 134 "env": { |
90 "BUILDTYPE": "Release", | 135 "BUILDTYPE": "Release", |
91 "CHROME_HEADLESS": "1", | 136 "CHROME_HEADLESS": "1", |
92 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 137 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
93 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 138 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
94 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 139 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
95 }, | 140 }, |
96 "name": "runhook" | 141 "name": "runhook" |
97 }, | 142 }, |
98 { | 143 { |
99 "cmd": [ | 144 "cmd": [ |
100 "python", | 145 "python", |
101 "build/linux/sysroot_scripts/install-sysroot.py", | 146 "build/linux/sysroot_scripts/install-sysroot.py", |
102 "--arch=amd64" | 147 "--arch=amd64" |
103 ], | 148 ], |
104 "cwd": "[CUSTOM_/_B_WORK]/pdfium", | 149 "cwd": "[CUSTOM_/_B_WORK]/pdfium", |
105 "env": { | 150 "env": { |
106 "BUILDTYPE": "Release", | 151 "BUILDTYPE": "Release", |
107 "CHROME_HEADLESS": "1", | 152 "CHROME_HEADLESS": "1", |
108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 153 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
109 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 154 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
110 }, | 155 }, |
111 "name": "sysroot" | 156 "name": "sysroot" |
112 }, | 157 }, |
113 { | 158 { |
114 "cmd": [ | 159 "cmd": [ |
115 "gn", | 160 "gn", |
116 "gen", | 161 "gen", |
117 "out/skia", | 162 "out/skia", |
118 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins=
false is_component_build=false is_debug=false" | 163 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins=
false is_component_build=false is_debug=false" |
119 ], | 164 ], |
120 "cwd": "[CUSTOM_/_B_WORK]/pdfium", | 165 "cwd": "[CUSTOM_/_B_WORK]/pdfium", |
121 "env": { | 166 "env": { |
122 "BUILDTYPE": "Release", | 167 "BUILDTYPE": "Release", |
123 "CHROME_HEADLESS": "1", | 168 "CHROME_HEADLESS": "1", |
124 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", | 169 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", |
125 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 170 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
126 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 171 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
127 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 172 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
128 }, | 173 }, |
129 "name": "gn_gen" | 174 "name": "gn_gen" |
130 }, | 175 }, |
131 { | 176 { |
132 "cmd": [ | 177 "cmd": [ |
133 "python", | 178 "python", |
134 "-u", | 179 "-u", |
135 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 180 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
136 "[CUSTOM_/_B_WORK]/pdfium/DEPS", | 181 "[CUSTOM_/_B_WORK]/pdfium/DEPS", |
137 "/path/to/tmp/" | 182 "/path/to/tmp/" |
138 ], | 183 ], |
139 "name": "read PDFium DEPS" | 184 "name": "read PDFium DEPS" |
140 }, | 185 }, |
141 { | 186 { |
142 "cmd": [ | 187 "cmd": [ |
143 "python", | 188 "python", |
144 "-u", | 189 "-u", |
145 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 190 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
146 "'skia_revision': '164710'", | 191 "'skia_revision': '9046e2e693bb92a76e972b694580e5d17ad10748'", |
147 "[CUSTOM_/_B_WORK]/pdfium/DEPS" | 192 "[CUSTOM_/_B_WORK]/pdfium/DEPS" |
148 ], | 193 ], |
149 "name": "write PDFium DEPs" | 194 "name": "write PDFium DEPs" |
150 }, | 195 }, |
151 { | 196 { |
152 "cmd": [ | 197 "cmd": [ |
153 "gclient", | 198 "gclient", |
154 "sync" | 199 "sync" |
155 ], | 200 ], |
156 "cwd": "[CUSTOM_/_B_WORK]/pdfium", | 201 "cwd": "[CUSTOM_/_B_WORK]/pdfium", |
157 "env": { | 202 "env": { |
158 "BUILDTYPE": "Release", | 203 "BUILDTYPE": "Release", |
159 "CHROME_HEADLESS": "1", | 204 "CHROME_HEADLESS": "1", |
160 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 205 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
161 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 206 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
162 }, | 207 }, |
163 "name": "sync_pdfium" | 208 "name": "sync_pdfium" |
164 }, | 209 }, |
165 { | 210 { |
166 "cmd": [ | 211 "cmd": [ |
167 "ninja", | 212 "ninja", |
168 "-C", | 213 "-C", |
169 "out/skia", | 214 "out/skia", |
170 "-j100" | 215 "-j100" |
171 ], | 216 ], |
172 "cwd": "[CUSTOM_/_B_WORK]/pdfium", | 217 "cwd": "[CUSTOM_/_B_WORK]/pdfium", |
173 "env": { | 218 "env": { |
174 "BUILDTYPE": "Release", | 219 "BUILDTYPE": "Release", |
175 "CHROME_HEADLESS": "1", | 220 "CHROME_HEADLESS": "1", |
176 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", | 221 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", |
177 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", | 222 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", |
178 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]", | 223 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep
ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", |
179 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" | 224 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD
Fium" |
180 }, | 225 }, |
181 "name": "build_pdfium" | 226 "name": "build_pdfium" |
182 }, | 227 }, |
183 { | 228 { |
184 "cmd": [ | 229 "cmd": [ |
185 "python", | 230 "python", |
186 "-u", | 231 "-u", |
187 "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", | 232 "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", |
188 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium/Release
", | 233 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PDFium/Release
", |
(...skipping 27 matching lines...) Expand all Loading... |
216 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", | 261 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", |
217 "@@@STEP_LOG_END@python.inline@@@" | 262 "@@@STEP_LOG_END@python.inline@@@" |
218 ] | 263 ] |
219 }, | 264 }, |
220 { | 265 { |
221 "name": "$result", | 266 "name": "$result", |
222 "recipe_result": null, | 267 "recipe_result": null, |
223 "status_code": 0 | 268 "status_code": 0 |
224 } | 269 } |
225 ] | 270 ] |
OLD | NEW |