Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1218)

Side by Side Diff: scripts/slave/recipes/skia/swarm_compile.expected/Build-Ubuntu-GCC-x86_64-Release-PDFium.json

Issue 2270963002: Make skia recipes explicitly set GIT_MODE (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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'}]\ntarget_os = ['llvm']" 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'}]\ntarget_os = ['llvm']"
32 ], 32 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 34 "env": {
35 "CHROME_HEADLESS": "1", 35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]/scripts" 37 "PYTHONPATH": "[BUILD]/scripts"
38 }, 38 },
39 "name": "gclient setup" 39 "name": "gclient setup"
40 }, 40 },
41 { 41 {
42 "cmd": [ 42 "cmd": [
43 "python", 43 "python",
44 "-u", 44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "sync", 46 "sync",
47 "--verbose",
48 "--with_branch_heads",
47 "--nohooks", 49 "--nohooks",
50 "-j8",
51 "--reset",
48 "--force", 52 "--force",
49 "--verbose", 53 "--upstream",
54 "--no-nag-max",
50 "--delete_unversioned_trees", 55 "--delete_unversioned_trees",
51 "--revision", 56 "--revision",
52 "skia@abc123", 57 "skia@abc123",
53 "--revision", 58 "--revision",
54 "pdfium@origin/master", 59 "pdfium@origin/master",
55 "--output-json", 60 "--output-json",
56 "/path/to/tmp/json" 61 "/path/to/tmp/json"
57 ], 62 ],
58 "cwd": "[CUSTOM_/_B_WORK]", 63 "cwd": "[CUSTOM_/_B_WORK]",
59 "env": { 64 "env": {
60 "CHROME_HEADLESS": "1", 65 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "PYTHONPATH": "[BUILD]/scripts" 67 "PYTHONPATH": "[BUILD]/scripts"
63 }, 68 },
64 "name": "gclient sync", 69 "name": "gclient sync",
65 "~followup_annotations": [ 70 "~followup_annotations": [
66 "@@@STEP_LOG_LINE@json.output@{@@@", 71 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"pdfium/\": {@@@", 73 "@@@STEP_LOG_LINE@json.output@ \"pdfium/\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 52055@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d69d97171c17fdb12a52f7 8847e2ee2f0594eff1\"@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@", 75 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 76 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 77 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
73 "@@@STEP_LOG_LINE@json.output@ }@@@", 78 "@@@STEP_LOG_LINE@json.output@ }@@@",
74 "@@@STEP_LOG_LINE@json.output@ }@@@", 79 "@@@STEP_LOG_LINE@json.output@ }@@@",
75 "@@@STEP_LOG_LINE@json.output@}@@@", 80 "@@@STEP_LOG_LINE@json.output@}@@@",
76 "@@@STEP_LOG_END@json.output@@@", 81 "@@@STEP_LOG_END@json.output@@@",
77 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 82 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@"
78 ] 83 ]
79 }, 84 },
80 { 85 {
81 "cmd": [ 86 "cmd": [
82 "python", 87 "python",
83 "-u", 88 "-u",
89 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
90 "recurse",
91 "git",
92 "config",
93 "user.name",
94 "local_bot"
95 ],
96 "cwd": "[CUSTOM_/_B_WORK]",
97 "env": {
98 "CHROME_HEADLESS": "1",
99 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
100 "PYTHONPATH": "[BUILD]/scripts"
101 },
102 "name": "gclient recurse (git config user.name)"
103 },
104 {
105 "cmd": [
106 "python",
107 "-u",
108 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
109 "recurse",
110 "git",
111 "config",
112 "user.email",
113 "local_bot@example.com"
114 ],
115 "cwd": "[CUSTOM_/_B_WORK]",
116 "env": {
117 "CHROME_HEADLESS": "1",
118 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
119 "PYTHONPATH": "[BUILD]/scripts"
120 },
121 "name": "gclient recurse (git config user.email)"
122 },
123 {
124 "cmd": [
125 "python",
126 "-u",
84 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py", 127 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py",
85 "/path/to/tmp/json", 128 "/path/to/tmp/json",
86 "Build-Ubuntu-GCC-x86_64-Release-PDFium" 129 "Build-Ubuntu-GCC-x86_64-Release-PDFium"
87 ], 130 ],
88 "cwd": "[CUSTOM_/_B_WORK]/skia", 131 "cwd": "[CUSTOM_/_B_WORK]/skia",
89 "name": "exec buildbot_spec.py", 132 "name": "exec buildbot_spec.py",
90 "~followup_annotations": [ 133 "~followup_annotations": [
91 "@@@STEP_LOG_LINE@json.output@{@@@", 134 "@@@STEP_LOG_LINE@json.output@{@@@",
92 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@", 135 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
93 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@", 136 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
(...skipping 29 matching lines...) Expand all
123 "cmd": [ 166 "cmd": [
124 "gclient", 167 "gclient",
125 "runhook", 168 "runhook",
126 "gn_linux64" 169 "gn_linux64"
127 ], 170 ],
128 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 171 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
129 "env": { 172 "env": {
130 "BUILDTYPE": "Release", 173 "BUILDTYPE": "Release",
131 "CHROME_HEADLESS": "1", 174 "CHROME_HEADLESS": "1",
132 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 175 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
134 "PYTHONPATH": "[BUILD]/scripts", 177 "PYTHONPATH": "[BUILD]/scripts",
135 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 178 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
136 }, 179 },
137 "name": "runhook" 180 "name": "runhook"
138 }, 181 },
139 { 182 {
140 "cmd": [ 183 "cmd": [
141 "gn", 184 "gn",
142 "gen", 185 "gen",
143 "out/skia", 186 "out/skia",
144 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins= false" 187 "--args=pdf_use_skia=true pdf_is_standalone=true clang_use_chrome_plugins= false"
145 ], 188 ],
146 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 189 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
147 "env": { 190 "env": {
148 "BUILDTYPE": "Release", 191 "BUILDTYPE": "Release",
149 "CHROME_HEADLESS": "1", 192 "CHROME_HEADLESS": "1",
150 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools", 193 "CHROMIUM_BUILDTOOLS_PATH": "[CUSTOM_/_B_WORK]/pdfium/buildtools",
151 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 194 "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]", 195 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
153 "PYTHONPATH": "[BUILD]/scripts", 196 "PYTHONPATH": "[BUILD]/scripts",
154 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 197 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
155 }, 198 },
156 "name": "gn_gen" 199 "name": "gn_gen"
157 }, 200 },
158 { 201 {
159 "cmd": [ 202 "cmd": [
160 "python", 203 "python",
161 "-u", 204 "-u",
162 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 205 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
163 "[CUSTOM_/_B_WORK]/pdfium/DEPS", 206 "[CUSTOM_/_B_WORK]/pdfium/DEPS",
164 "/path/to/tmp/" 207 "/path/to/tmp/"
165 ], 208 ],
166 "name": "read PDFium DEPS" 209 "name": "read PDFium DEPS"
167 }, 210 },
168 { 211 {
169 "cmd": [ 212 "cmd": [
170 "python", 213 "python",
171 "-u", 214 "-u",
172 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
173 "'skia_revision': '164710'", 216 "'skia_revision': '9046e2e693bb92a76e972b694580e5d17ad10748'",
174 "[CUSTOM_/_B_WORK]/pdfium/DEPS" 217 "[CUSTOM_/_B_WORK]/pdfium/DEPS"
175 ], 218 ],
176 "name": "write PDFium DEPs" 219 "name": "write PDFium DEPs"
177 }, 220 },
178 { 221 {
179 "cmd": [ 222 "cmd": [
180 "gclient", 223 "gclient",
181 "sync" 224 "sync"
182 ], 225 ],
183 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 226 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
184 "env": { 227 "env": {
185 "BUILDTYPE": "Release", 228 "BUILDTYPE": "Release",
186 "CHROME_HEADLESS": "1", 229 "CHROME_HEADLESS": "1",
187 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 230 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
188 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 231 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
189 "PYTHONPATH": "[BUILD]/scripts", 232 "PYTHONPATH": "[BUILD]/scripts",
190 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 233 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
191 }, 234 },
192 "name": "sync_pdfium" 235 "name": "sync_pdfium"
193 }, 236 },
194 { 237 {
195 "cmd": [ 238 "cmd": [
196 "ninja", 239 "ninja",
197 "-C", 240 "-C",
198 "out/skia", 241 "out/skia",
199 "-j100" 242 "-j100"
200 ], 243 ],
201 "cwd": "[CUSTOM_/_B_WORK]/pdfium", 244 "cwd": "[CUSTOM_/_B_WORK]/pdfium",
202 "env": { 245 "env": {
203 "BUILDTYPE": "Release", 246 "BUILDTYPE": "Release",
204 "CHROME_HEADLESS": "1", 247 "CHROME_HEADLESS": "1",
205 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1", 248 "GYP_DEFINES": "skia_arch_type=x86_64 skia_warnings_as_errors=1",
206 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]", 249 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
207 "PYTHONPATH": "[BUILD]/scripts", 250 "PYTHONPATH": "[BUILD]/scripts",
208 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium" 251 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-x86_64-Release-PD Fium"
209 }, 252 },
210 "name": "build_pdfium" 253 "name": "build_pdfium"
211 }, 254 },
212 { 255 {
213 "cmd": [ 256 "cmd": [
214 "python", 257 "python",
215 "-u", 258 "-u",
216 "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", 259 "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",
(...skipping 28 matching lines...) Expand all
245 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 288 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
246 "@@@STEP_LOG_END@python.inline@@@" 289 "@@@STEP_LOG_END@python.inline@@@"
247 ] 290 ]
248 }, 291 },
249 { 292 {
250 "name": "$result", 293 "name": "$result",
251 "recipe_result": null, 294 "recipe_result": null,
252 "status_code": 0 295 "status_code": 0
253 } 296 }
254 ] 297 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698