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

Side by Side Diff: infra/bots/recipes/swarm_compile.expected/Build-Ubuntu-Clang-arm64-Debug-GN_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
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 17 matching lines...) Expand all
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.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]" 31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.gi t'}]"
32 ], 32 ],
33 "cwd": "[CUSTOM_/_B_WORK]", 33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": { 34 "env": {
35 "BUILDTYPE": "Debug", 35 "BUILDTYPE": "Debug",
36 "CHROME_HEADLESS": "1", 36 "CHROME_HEADLESS": "1",
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]", 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-AS AN" 38 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_ Android-Trybot"
39 }, 39 },
40 "name": "gclient setup" 40 "name": "gclient setup"
41 }, 41 },
42 { 42 {
43 "cmd": [ 43 "cmd": [
44 "python", 44 "python",
45 "-u", 45 "-u",
46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 46 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
47 "sync", 47 "sync",
48 "--verbose", 48 "--verbose",
49 "--with_branch_heads", 49 "--with_branch_heads",
50 "--nohooks", 50 "--nohooks",
51 "-j8", 51 "-j8",
52 "--reset", 52 "--reset",
53 "--force", 53 "--force",
54 "--upstream", 54 "--upstream",
55 "--no-nag-max", 55 "--no-nag-max",
56 "--delete_unversioned_trees", 56 "--delete_unversioned_trees",
57 "--revision", 57 "--revision",
58 "skia@abc123", 58 "skia@abc123",
59 "--output-json", 59 "--output-json",
60 "/path/to/tmp/json" 60 "/path/to/tmp/json"
61 ], 61 ],
62 "cwd": "[CUSTOM_/_B_WORK]", 62 "cwd": "[CUSTOM_/_B_WORK]",
63 "env": { 63 "env": {
64 "BUILDTYPE": "Debug", 64 "BUILDTYPE": "Debug",
65 "CHROME_HEADLESS": "1", 65 "CHROME_HEADLESS": "1",
66 "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]",
67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-AS AN" 67 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_ Android-Trybot"
68 }, 68 },
69 "name": "gclient sync", 69 "name": "gclient sync",
70 "~followup_annotations": [ 70 "~followup_annotations": [
71 "@@@STEP_LOG_LINE@json.output@{@@@", 71 "@@@STEP_LOG_LINE@json.output@{@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 72 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 73 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b 694580e5d17ad10748\"@@@",
75 "@@@STEP_LOG_LINE@json.output@ }@@@", 75 "@@@STEP_LOG_LINE@json.output@ }@@@",
76 "@@@STEP_LOG_LINE@json.output@ }@@@", 76 "@@@STEP_LOG_LINE@json.output@ }@@@",
77 "@@@STEP_LOG_LINE@json.output@}@@@", 77 "@@@STEP_LOG_LINE@json.output@}@@@",
(...skipping 10 matching lines...) Expand all
88 "git", 88 "git",
89 "config", 89 "config",
90 "user.name", 90 "user.name",
91 "local_bot" 91 "local_bot"
92 ], 92 ],
93 "cwd": "[CUSTOM_/_B_WORK]", 93 "cwd": "[CUSTOM_/_B_WORK]",
94 "env": { 94 "env": {
95 "BUILDTYPE": "Debug", 95 "BUILDTYPE": "Debug",
96 "CHROME_HEADLESS": "1", 96 "CHROME_HEADLESS": "1",
97 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]", 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-Clang-x86_64-Debug-AS AN" 98 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_ Android-Trybot"
99 }, 99 },
100 "name": "gclient recurse (git config user.name)" 100 "name": "gclient recurse (git config user.name)"
101 }, 101 },
102 { 102 {
103 "cmd": [ 103 "cmd": [
104 "python", 104 "python",
105 "-u", 105 "-u",
106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 106 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
107 "recurse", 107 "recurse",
108 "git", 108 "git",
109 "config", 109 "config",
110 "user.email", 110 "user.email",
111 "local_bot@example.com" 111 "local_bot@example.com"
112 ], 112 ],
113 "cwd": "[CUSTOM_/_B_WORK]", 113 "cwd": "[CUSTOM_/_B_WORK]",
114 "env": { 114 "env": {
115 "BUILDTYPE": "Debug", 115 "BUILDTYPE": "Debug",
116 "CHROME_HEADLESS": "1", 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]", 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-Clang-x86_64-Debug-AS AN" 118 "SKIA_OUT": "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_ Android-Trybot"
119 }, 119 },
120 "name": "gclient recurse (git config user.email)" 120 "name": "gclient recurse (git config user.email)"
121 }, 121 },
122 { 122 {
123 "cmd": [ 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": [
124 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn" 144 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
125 ], 145 ],
126 "cwd": "[CUSTOM_/_B_WORK]/skia", 146 "cwd": "[CUSTOM_/_B_WORK]/skia",
127 "env": { 147 "env": {
128 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 148 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
129 }, 149 },
130 "name": "fetch-gn" 150 "name": "fetch-gn"
131 }, 151 },
132 { 152 {
133 "cmd": [ 153 "cmd": [
134 "gn", 154 "gn",
135 "gen", 155 "gen",
136 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug", 156 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Tryb ot/Debug",
137 "--args=cc=\"[SLAVE_BUILD]/clang_linux/bin/clang\" cxx=\"[SLAVE_BUILD]/cla ng_linux/bin/clang++\" extra_ldflags=\"-fuse-ld=lld\" sanitize=\"ASAN\"" 157 "--args=ndk=\"[SLAVE_BUILD]/android_ndk_linux\" target_cpu=\"arm64\""
138 ], 158 ],
139 "cwd": "[CUSTOM_/_B_WORK]/skia", 159 "cwd": "[CUSTOM_/_B_WORK]/skia",
140 "env": { 160 "env": {
141 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 161 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
142 }, 162 },
143 "name": "gn gen" 163 "name": "gn gen"
144 }, 164 },
145 { 165 {
146 "cmd": [ 166 "cmd": [
147 "ninja", 167 "ninja",
148 "-C", 168 "-C",
149 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug" 169 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Tryb ot/Debug"
150 ], 170 ],
151 "cwd": "[CUSTOM_/_B_WORK]/skia", 171 "cwd": "[CUSTOM_/_B_WORK]/skia",
152 "env": { 172 "env": {
153 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]" 173 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[depot_tools]"
154 }, 174 },
155 "name": "ninja" 175 "name": "ninja"
156 }, 176 },
157 { 177 {
158 "cmd": [ 178 "cmd": [
159 "python", 179 "python",
160 "-u", 180 "-u",
161 "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", 181 "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",
162 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-x86_64-Debug-ASAN/Debug", 182 "[CUSTOM_/_B_WORK]/skia/out/Build-Ubuntu-Clang-arm64-Debug-GN_Android-Tryb ot/Debug",
163 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug" 183 "[CUSTOM_[SWARM_OUT_DIR]]/out/Debug"
164 ], 184 ],
165 "name": "copy build products", 185 "name": "copy build products",
166 "~followup_annotations": [ 186 "~followup_annotations": [
167 "@@@STEP_LOG_LINE@python.inline@import errno@@@", 187 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
168 "@@@STEP_LOG_LINE@python.inline@import glob@@@", 188 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
169 "@@@STEP_LOG_LINE@python.inline@import os@@@", 189 "@@@STEP_LOG_LINE@python.inline@import os@@@",
170 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 190 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
171 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 191 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
172 "@@@STEP_LOG_LINE@python.inline@@@@", 192 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 17 matching lines...) Expand all
190 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@", 210 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
191 "@@@STEP_LOG_END@python.inline@@@" 211 "@@@STEP_LOG_END@python.inline@@@"
192 ] 212 ]
193 }, 213 },
194 { 214 {
195 "name": "$result", 215 "name": "$result",
196 "recipe_result": null, 216 "recipe_result": null,
197 "status_code": 0 217 "status_code": 0
198 } 218 }
199 ] 219 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698