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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Win-MSVC-x86-Debug.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_C:\\_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_C:\\\\_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]\ntarget_os = ['llvm']"
32 ],
33 "cwd": "[CUSTOM_C:\\_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 "--output-json",
54 "/path/to/tmp/json"
55 ],
56 "cwd": "[CUSTOM_C:\\_B_WORK]",
57 "env": {
58 "CHROME_HEADLESS": "1",
59 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
60 "PYTHONPATH": "[BUILD]\\scripts"
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@ }@@@",
70 "@@@STEP_LOG_LINE@json.output@}@@@",
71 "@@@STEP_LOG_END@json.output@@@",
72 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
73 ]
74 },
75 {
76 "cmd": [
77 "python",
78 "-u",
79 "[CUSTOM_C:\\_B_WORK]\\skia\\tools\\buildbot_spec.py",
80 "/path/to/tmp/json",
81 "Build-Win-MSVC-x86-Debug"
82 ],
83 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
84 "name": "exec buildbot_spec.py",
85 "~followup_annotations": [
86 "@@@STEP_LOG_LINE@json.output@{@@@",
87 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
89 "@@@STEP_LOG_LINE@json.output@ ], @@@",
90 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
91 "@@@STEP_LOG_LINE@json.output@ \"compiler\": \"MSVC\", @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
93 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
94 "@@@STEP_LOG_LINE@json.output@ \"os\": \"Win\", @@@",
95 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Build\", @@@",
96 "@@@STEP_LOG_LINE@json.output@ \"target_arch\": \"x86\"@@@",
97 "@@@STEP_LOG_LINE@json.output@ }, @@@",
98 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Debug\", @@@",
99 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
100 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
101 "@@@STEP_LOG_LINE@json.output@ ], @@@",
102 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
103 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
104 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
105 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"qt_sdk=C:/Qt/4.8.5/ s kia_arch_type=x86 skia_warnings_as_errors=1 skia_win_debuggers_path=c:/DbgHelp s kia_win_ltcg=0\"@@@",
106 "@@@STEP_LOG_LINE@json.output@ }, @@@",
107 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
108 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
109 "@@@STEP_LOG_LINE@json.output@ ], @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
111 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
112 "@@@STEP_LOG_LINE@json.output@}@@@",
113 "@@@STEP_LOG_END@json.output@@@"
114 ]
115 },
116 {
117 "cmd": [
118 "python",
119 "-u",
120 "[CUSTOM_C:\\_B_WORK]\\skia\\infra\\bots\\bootstrap_win_toolchain_json.py" ,
121 "--win_toolchain_json",
122 "[SLAVE_BUILD]\\src\\build\\win_toolchain.json",
123 "--depot_tools_parent_dir",
124 "[SLAVE_BUILD]"
125 ],
126 "name": "bootstrap win toolchain"
127 },
128 {
129 "cmd": [
130 "python",
131 "make.py",
132 "most"
133 ],
134 "cwd": "[CUSTOM_C:\\_B_WORK]\\skia",
135 "env": {
136 "BUILDTYPE": "Debug",
137 "CHROME_HEADLESS": "1",
138 "CHROME_PATH": "[SLAVE_BUILD]\\src",
139 "GYP_DEFINES": "qt_sdk=C:/Qt/4.8.5/ skia_arch_type=x86 skia_warnings_as_er rors=1 skia_win_debuggers_path=c:/DbgHelp skia_win_ltcg=0",
140 "PATH": "%(PATH)s;RECIPE_PACKAGE_REPO[depot_tools];RECIPE_PACKAGE_REPO[dep ot_tools]",
141 "PYTHONPATH": "[BUILD]\\scripts",
142 "SKIA_OUT": "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug"
143 },
144 "name": "build most"
145 },
146 {
147 "cmd": [
148 "python",
149 "-u",
150 "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",
151 "[CUSTOM_C:\\_B_WORK]\\skia\\out\\Build-Win-MSVC-x86-Debug\\Debug",
152 "[CUSTOM_[SWARM_OUT_DIR]]\\out\\Debug"
153 ],
154 "name": "copy build products",
155 "~followup_annotations": [
156 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
157 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
158 "@@@STEP_LOG_LINE@python.inline@import os@@@",
159 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
160 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
161 "@@@STEP_LOG_LINE@python.inline@@@@",
162 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
163 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
164 "@@@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']@@@",
165 "@@@STEP_LOG_LINE@python.inline@@@@",
166 "@@@STEP_LOG_LINE@python.inline@try:@@@",
167 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
168 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
169 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
170 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
171 "@@@STEP_LOG_LINE@python.inline@@@@",
172 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
173 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
174 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
175 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
176 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
177 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
178 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
179 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
180 "@@@STEP_LOG_END@python.inline@@@"
181 ]
182 },
183 {
184 "cmd": [
185 "python",
186 "-u",
187 "import psutil\nfor p in psutil.process_iter():\n try:\n if p.name in ('mspdbsrv.exe', 'vctip.exe', 'cl.exe', 'link.exe'):\n p.kill()\n except p sutil._error.AccessDenied:\n pass\n"
188 ],
189 "name": "cleanup",
190 "~followup_annotations": [
191 "@@@STEP_LOG_LINE@python.inline@import psutil@@@",
192 "@@@STEP_LOG_LINE@python.inline@for p in psutil.process_iter():@@@",
193 "@@@STEP_LOG_LINE@python.inline@ try:@@@",
194 "@@@STEP_LOG_LINE@python.inline@ if p.name in ('mspdbsrv.exe', 'vctip.e xe', 'cl.exe', 'link.exe'):@@@",
195 "@@@STEP_LOG_LINE@python.inline@ p.kill()@@@",
196 "@@@STEP_LOG_LINE@python.inline@ except psutil._error.AccessDenied:@@@",
197 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
198 "@@@STEP_LOG_END@python.inline@@@"
199 ]
200 },
201 {
202 "name": "$result",
203 "recipe_result": null,
204 "status_code": 0
205 }
206 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698