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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot.json

Issue 2352653002: GN: remove old Android recipe code. (Closed)
Patch Set: missing json 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
(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.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]"
32 ],
33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": {
35 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
39 },
40 "name": "gclient setup"
41 },
42 {
43 "cmd": [
44 "python",
45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync",
48 "--verbose",
49 "--with_branch_heads",
50 "--nohooks",
51 "-j8",
52 "--reset",
53 "--force",
54 "--upstream",
55 "--no-nag-max",
56 "--delete_unversioned_trees",
57 "--revision",
58 "skia@abc123",
59 "--output-json",
60 "/path/to/tmp/json"
61 ],
62 "cwd": "[CUSTOM_/_B_WORK]",
63 "env": {
64 "BUILDTYPE": "Debug",
65 "CHROME_HEADLESS": "1",
66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]",
67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
68 },
69 "name": "gclient sync",
70 "~followup_annotations": [
71 "@@@STEP_LOG_LINE@json.output@{@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
75 "@@@STEP_LOG_LINE@json.output@ }@@@",
76 "@@@STEP_LOG_LINE@json.output@ }@@@",
77 "@@@STEP_LOG_LINE@json.output@}@@@",
78 "@@@STEP_LOG_END@json.output@@@",
79 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad1 0748\"@@@"
80 ]
81 },
82 {
83 "cmd": [
84 "python",
85 "-u",
86 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
87 "recurse",
88 "git",
89 "config",
90 "user.name",
91 "local_bot"
92 ],
93 "cwd": "[CUSTOM_/_B_WORK]",
94 "env": {
95 "BUILDTYPE": "Debug",
96 "CHROME_HEADLESS": "1",
97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
98 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
99 },
100 "name": "gclient recurse (git config user.name)"
101 },
102 {
103 "cmd": [
104 "python",
105 "-u",
106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
107 "recurse",
108 "git",
109 "config",
110 "user.email",
111 "local_bot@example.com"
112 ],
113 "cwd": "[CUSTOM_/_B_WORK]",
114 "env": {
115 "BUILDTYPE": "Debug",
116 "CHROME_HEADLESS": "1",
117 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
119 },
120 "name": "gclient recurse (git config user.email)"
121 },
122 {
123 "cmd": [
124 "python",
125 "-u",
126 "[DEPOT_TOOLS]/apply_issue.py",
127 "-r",
128 "[CUSTOM_/_B_WORK]/skia",
129 "-i",
130 "500",
131 "-p",
132 "1",
133 "-s",
134 "https://codereview.chromium.org",
135 "--no-auth"
136 ],
137 "name": "apply_issue",
138 "~followup_annotations": [
139 "@@@STEP_LINK@Applied issue 500@https://codereview.chromium.org/500@@@"
140 ]
141 },
142 {
143 "cmd": [
144 "which",
145 "adb"
146 ],
147 "name": "which adb",
148 "stdout": "/path/to/tmp/",
149 "~followup_annotations": [
150 "step returned non-zero exit code: 1",
151 "@@@STEP_EXCEPTION@@@"
152 ]
153 },
154 {
155 "cmd": [
156 "python",
157 "-u",
158 "import json\nimport subprocess\nimport sys\n\nccache = None\ntry:\n ccac he = subprocess.check_output(['which', 'ccache']).rstrip()\nexcept:\n pass\npri nt json.dumps({'ccache': ccache})\n"
159 ],
160 "env": {
161 "BUILDTYPE": "Debug",
162 "CHROME_HEADLESS": "1",
163 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
164 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
165 },
166 "name": "has ccache?",
167 "stdout": "/path/to/tmp/json",
168 "~followup_annotations": [
169 "@@@STEP_LOG_LINE@json.output@{@@@",
170 "@@@STEP_LOG_LINE@json.output@ \"ccache\": \"/usr/bin/ccache\"@@@",
171 "@@@STEP_LOG_LINE@json.output@}@@@",
172 "@@@STEP_LOG_END@json.output@@@",
173 "@@@STEP_LOG_LINE@python.inline@import json@@@",
174 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
175 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
176 "@@@STEP_LOG_LINE@python.inline@@@@",
177 "@@@STEP_LOG_LINE@python.inline@ccache = None@@@",
178 "@@@STEP_LOG_LINE@python.inline@try:@@@",
179 "@@@STEP_LOG_LINE@python.inline@ ccache = subprocess.check_output(['which ', 'ccache']).rstrip()@@@",
180 "@@@STEP_LOG_LINE@python.inline@except:@@@",
181 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
182 "@@@STEP_LOG_LINE@python.inline@print json.dumps({'ccache': ccache})@@@",
183 "@@@STEP_LOG_END@python.inline@@@"
184 ]
185 },
186 {
187 "cmd": [
188 "[CUSTOM_/_B_WORK]/skia/platform_tools/android/bin/android_ninja",
189 "most",
190 "-d",
191 "arm_v7_neon",
192 "--gcc"
193 ],
194 "cwd": "[CUSTOM_/_B_WORK]/skia",
195 "env": {
196 "ANDROID_HOME": "[SLAVE_BUILD]/android_sdk/android-sdk",
197 "ANDROID_MAKE_CCACHE": "/usr/bin/ccache",
198 "ANDROID_SDK_ROOT": "[SLAVE_BUILD]/android_sdk/android-sdk",
199 "BUILDTYPE": "Debug",
200 "CHROME_HEADLESS": "1",
201 "GYP_DEFINES": "skia_arch_type=arm skia_warnings_as_errors=1",
202 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]",
203 "SKIA_ANDROID_VERBOSE_SETUP": "1",
204 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Androi d-Trybot"
205 },
206 "name": "build most"
207 },
208 {
209 "cmd": [
210 "python",
211 "-u",
212 "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",
213 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-GCC-Arm7-Debug-Android-Trybot/Deb ug",
214 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
215 ],
216 "name": "copy build products",
217 "~followup_annotations": [
218 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
219 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
220 "@@@STEP_LOG_LINE@python.inline@import os@@@",
221 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
222 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
223 "@@@STEP_LOG_LINE@python.inline@@@@",
224 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
225 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
226 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe' , 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.ex e', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iO SShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']@@@",
227 "@@@STEP_LOG_LINE@python.inline@@@@",
228 "@@@STEP_LOG_LINE@python.inline@try:@@@",
229 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
230 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
231 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
232 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
233 "@@@STEP_LOG_LINE@python.inline@@@@",
234 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@ @",
235 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
236 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
237 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.r elpath(f, src))@@@",
238 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(d st_path)):@@@",
239 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path ))@@@",
240 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
241 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
242 "@@@STEP_LOG_END@python.inline@@@"
243 ]
244 },
245 {
246 "name": "$result",
247 "recipe_result": null,
248 "status_code": 0
249 }
250 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698