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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Mac-Clang-x86_64-Debug-CommandBuffer.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fixes, add simulation test to presubmit Created 4 years, 4 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
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
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",
7 "[CUSTOM_/_B_WORK]",
8 "511"
9 ],
10 "name": "makedirs checkout_path",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config",
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': 'src', 'url': 'https://chromium. googlesource.com/chromium/src.git'}]\ntarget_os = ['llvm']"
32 ],
33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": {
35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
37 "PYTHONPATH": "[BUILD]/scripts"
38 },
39 "name": "gclient setup"
40 },
41 {
42 "cmd": [
43 "python",
44 "-u",
45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
46 "sync",
47 "--nohooks",
48 "--force",
49 "--verbose",
50 "--delete_unversioned_trees",
51 "--revision",
52 "skia@abc123",
53 "--revision",
54 "src@origin/lkgr",
55 "--output-json",
56 "/path/to/tmp/json"
57 ],
58 "cwd": "[CUSTOM_/_B_WORK]",
59 "env": {
60 "CHROME_HEADLESS": "1",
61 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
62 "PYTHONPATH": "[BUILD]/scripts"
63 },
64 "name": "gclient sync",
65 "~followup_annotations": [
66 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
68 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
69 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
70 "@@@STEP_LOG_LINE@json.output@ }, @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
73 "@@@STEP_LOG_LINE@json.output@ }@@@",
74 "@@@STEP_LOG_LINE@json.output@ }@@@",
75 "@@@STEP_LOG_LINE@json.output@}@@@",
76 "@@@STEP_LOG_END@json.output@@@",
77 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
78 ]
79 },
80 {
81 "cmd": [
82 "python",
83 "-u",
84 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
85 "runhooks"
86 ],
87 "cwd": "[CUSTOM_/_B_WORK]",
88 "env": {
89 "GYP_CHROMIUM_NO_ACTION": "0",
90 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
91 },
92 "name": "gclient runhooks"
93 },
94 {
95 "cmd": [
96 "python",
97 "-u",
98 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py",
99 "/path/to/tmp/json",
100 "Build-Mac-Clang-x86_64-Debug-CommandBuffer"
101 ],
102 "cwd": "[CUSTOM_/_B_WORK]/skia",
103 "name": "exec buildbot_spec.py",
104 "~followup_annotations": [
105 "@@@STEP_LOG_LINE@json.output@{@@@",
106 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
108 "@@@STEP_LOG_LINE@json.output@ ], @@@",
109 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
110 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"Clang\", @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
112 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"CommandBuffer\", @@@ ",
113 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
114 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Mac\", @@@",
115 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86_64\"@@@",
117 "@@@STEP_LOG_LINE@json.output@ }, @@@",
118 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
119 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
120 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
121 "@@@STEP_LOG_LINE@json.output@ ], @@@",
122 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
123 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
125 "@@@STEP_LOG_LINE@json.output@ \"CC\": \"/usr/bin/clang\", @@@",
126 "@@@STEP_LOG_LINE@json.output@ \"CXX\": \"/usr/bin/clang++\", @@@",
127 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_arch_type=x86_64 skia_clang_build=1 skia_command_buffer=1 skia_warnings_as_errors=1\"@@@",
128 "@@@STEP_LOG_LINE@json.output@ }, @@@",
129 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
130 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
131 "@@@STEP_LOG_LINE@json.output@ ], @@@",
132 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
133 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
134 "@@@STEP_LOG_LINE@json.output@}@@@",
135 "@@@STEP_LOG_END@json.output@@@"
136 ]
137 },
138 {
139 "cmd": [
140 "make",
141 "most"
142 ],
143 "cwd": "[CUSTOM_/_B_WORK]/skia",
144 "env": {
145 "BUILDTYPE": "Debug",
146 "CC": "/usr/bin/clang",
147 "CHROME_HEADLESS": "1",
148 "CHROME_PATH": "[SLAVE_BUILD]/src",
149 "CXX": "/usr/bin/clang++",
150 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1",
151 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
152 "PYTHONPATH": "[BUILD]/scripts",
153 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer"
154 },
155 "name": "build most"
156 },
157 {
158 "cmd": [
159 "python",
160 "-u",
161 "[CUSTOM_/_B_WORK]/skia/tools/build_command_buffer.py",
162 "--chrome-dir",
163 "[CUSTOM_/_B_WORK]",
164 "--output-dir",
165 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug",
166 "--chrome-build-type",
167 "Debug",
168 "--no-sync"
169 ],
170 "env": {
171 "BUILDTYPE": "Debug",
172 "CC": "/usr/bin/clang",
173 "CHROME_HEADLESS": "1",
174 "CXX": "/usr/bin/clang++",
175 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_command_buff er=1 skia_warnings_as_errors=1",
176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
177 "PYTHONPATH": "[BUILD]/scripts",
178 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-Comma ndBuffer"
179 },
180 "name": "build command_buffer"
181 },
182 {
183 "cmd": [
184 "python",
185 "-u",
186 "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",
187 "[CUSTOM_/_B_WORK]/skia/out/Build-Mac-Clang-x86_64-Debug-CommandBuffer/Deb ug",
188 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
189 ],
190 "name": "copy build products",
191 "~followup_annotations": [
192 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
193 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
194 "@@@STEP_LOG_LINE@python.inline@import os@@@",
195 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
196 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
199 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
200 "@@@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']@@@",
201 "@@@STEP_LOG_LINE@python.inline@@@@",
202 "@@@STEP_LOG_LINE@python.inline@try:@@@",
203 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
204 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
205 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
206 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
207 "@@@STEP_LOG_LINE@python.inline@@@@",
208 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
209 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
210 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
211 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
212 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
213 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
214 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
215 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
216 "@@@STEP_LOG_END@python.inline@@@"
217 ]
218 },
219 {
220 "name": "$result",
221 "recipe_result": null,
222 "status_code": 0
223 }
224 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698