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

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

Powered by Google App Engine
This is Rietveld 408576698