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

Side by Side Diff: scripts/slave/recipes/dart/dartium_android_builder.expected/dartium_builder_basic.json

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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 os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[CWD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
9 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
10 "~followup_annotations": [ 11 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
22 "@@@STEP_LOG_END@python.inline@@@" 23 "@@@STEP_LOG_END@python.inline@@@"
23 ] 24 ]
24 }, 25 },
25 { 26 {
26 "cmd": [ 27 "cmd": [
27 "python", 28 "python",
28 "-u", 29 "-u",
29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
30 "config", 31 "config",
31 "--spec", 32 "--spec",
32 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'dartium.deps', 'url': 'https://dart.googlecode .com/svn/trunk/deps/dartium.deps'}]\ntarget_os = ['android']" 33 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'dartium.deps', 'url': 'https://dart.googlecode.com/svn/trunk/deps /dartium.deps'}]\ntarget_os = ['android']"
33 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
34 "env": { 36 "env": {
35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
36 }, 38 },
37 "name": "gclient setup" 39 "name": "gclient setup"
38 }, 40 },
39 { 41 {
40 "cmd": [ 42 "cmd": [
41 "python", 43 "python",
42 "-u", 44 "-u",
43 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 45 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
44 "sync", 46 "sync",
45 "--nohooks", 47 "--nohooks",
46 "--force", 48 "--force",
47 "--verbose", 49 "--verbose",
48 "--delete_unversioned_trees", 50 "--delete_unversioned_trees",
49 "--revision", 51 "--revision",
50 "dartium.deps@34567", 52 "dartium.deps@34567",
51 "--revision", 53 "--revision",
52 "src/dart@34567", 54 "src/dart@34567",
53 "--output-json", 55 "--output-json",
54 "/path/to/tmp/json" 56 "/path/to/tmp/json"
55 ], 57 ],
58 "cwd": "[SLAVE_BUILD]",
56 "env": { 59 "env": {
57 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 60 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
58 }, 61 },
59 "name": "gclient sync", 62 "name": "gclient sync",
60 "~followup_annotations": [ 63 "~followup_annotations": [
61 "@@@STEP_LOG_LINE@json.output@{@@@", 64 "@@@STEP_LOG_LINE@json.output@{@@@",
62 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
63 "@@@STEP_LOG_LINE@json.output@ \"dartium.deps/\": {@@@", 66 "@@@STEP_LOG_LINE@json.output@ \"dartium.deps/\": {@@@",
64 "@@@STEP_LOG_LINE@json.output@ \"revision\": 10382@@@", 67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 10382@@@",
65 "@@@STEP_LOG_LINE@json.output@ }, @@@", 68 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 24 matching lines...) Expand all
90 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", 93 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
91 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", 94 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
92 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 95 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
93 ] 96 ]
94 }, 97 },
95 { 98 {
96 "cmd": [ 99 "cmd": [
97 "python", 100 "python",
98 "-u", 101 "-u",
99 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n", 102 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw ith('.pyc'):\n os.remove(os.path.join(base, f))\n",
100 "[CWD]/src/out/Release/debug_info_dumps", 103 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
101 "[CWD]/src/out/Release/test_logs", 104 "[SLAVE_BUILD]/src/out/Release/test_logs",
102 "[CWD]/src/out/build_product.zip", 105 "[SLAVE_BUILD]/src/out/build_product.zip",
103 "[CWD]/src" 106 "[SLAVE_BUILD]/src"
104 ], 107 ],
108 "cwd": "[SLAVE_BUILD]",
105 "name": "clean local files", 109 "name": "clean local files",
106 "~followup_annotations": [ 110 "~followup_annotations": [
107 "@@@STEP_LOG_LINE@python.inline@@@@", 111 "@@@STEP_LOG_LINE@python.inline@@@@",
108 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 112 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
109 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 113 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
110 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 114 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
111 "@@@STEP_LOG_LINE@python.inline@try:@@@", 115 "@@@STEP_LOG_LINE@python.inline@try:@@@",
112 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 116 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
113 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 117 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
114 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 118 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
115 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 119 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
116 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 120 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
117 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 121 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
118 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 122 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
119 "@@@STEP_LOG_END@python.inline@@@" 123 "@@@STEP_LOG_END@python.inline@@@"
120 ] 124 ]
121 }, 125 },
122 { 126 {
123 "cmd": [ 127 "cmd": [
124 "python", 128 "python",
125 "-u", 129 "-u",
126 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 130 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
127 "runhooks" 131 "runhooks"
128 ], 132 ],
133 "cwd": "[SLAVE_BUILD]",
129 "env": { 134 "env": {
130 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 135 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
131 "GYP_CROSSCOMPILE": "1", 136 "GYP_CROSSCOMPILE": "1",
132 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ ROOT]/b/build/goma' target_arch=arm use_goma=1", 137 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1",
133 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 138 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
134 }, 139 },
135 "name": "gclient runhooks" 140 "name": "gclient runhooks"
136 }, 141 },
137 { 142 {
138 "cmd": [ 143 "cmd": [
139 "python", 144 "python",
140 "-u", 145 "-u",
141 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 146 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
142 "--show-path", 147 "--show-path",
143 "python", 148 "python",
144 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 149 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
145 "--gsutil-py-path", 150 "--gsutil-py-path",
146 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 151 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
147 "--ninja-path", 152 "--ninja-path",
148 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 153 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
149 "--target", 154 "--target",
150 "Release", 155 "Release",
151 "--src-dir", 156 "--src-dir",
152 "[CWD]/src", 157 "[SLAVE_BUILD]/src",
153 "--goma-cache-dir", 158 "--goma-cache-dir",
154 "[ROOT]/b/build/slave/goma_cache", 159 "[GOMA_CACHE]",
155 "--build-tool", 160 "--build-tool",
156 "ninja", 161 "ninja",
157 "--compiler", 162 "--compiler",
158 "goma", 163 "goma",
159 "--goma-jsonstatus", 164 "--goma-jsonstatus",
160 "/path/to/tmp/json", 165 "/path/to/tmp/json",
161 "--goma-service-account-json-file", 166 "--goma-service-account-json-file",
162 "/creds/service_accounts/service-account-goma-client.json", 167 "/creds/service_accounts/service-account-goma-client.json",
163 "--goma-dir", 168 "--goma-dir",
164 "[ROOT]/b/build/goma", 169 "[BUILD]/goma",
165 "--", 170 "--",
166 "content_shell_apk" 171 "content_shell_apk"
167 ], 172 ],
173 "cwd": "[SLAVE_BUILD]",
168 "env": { 174 "env": {
169 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 175 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
170 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 176 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
171 }, 177 },
172 "name": "compile", 178 "name": "compile",
173 "~followup_annotations": [ 179 "~followup_annotations": [
174 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 180 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
175 "@@@STEP_LOG_END@json.output (invalid)@@@" 181 "@@@STEP_LOG_END@json.output (invalid)@@@"
176 ] 182 ]
177 }, 183 },
178 { 184 {
179 "cmd": [ 185 "cmd": [
180 "python", 186 "python",
181 "-u", 187 "-u",
182 "[CWD]/src/dart/tools/bots/dartium_android.py", 188 "[SLAVE_BUILD]/src/dart/tools/bots/dartium_android.py",
183 "--build-products-dir", 189 "--build-products-dir",
184 "[CWD]/src/out/Release" 190 "[SLAVE_BUILD]/src/out/Release"
185 ], 191 ],
192 "cwd": "[SLAVE_BUILD]",
186 "name": "dartium_test" 193 "name": "dartium_test"
187 }, 194 },
188 { 195 {
189 "name": "$result", 196 "name": "$result",
190 "recipe_result": null, 197 "recipe_result": null,
191 "status_code": 0 198 "status_code": 0
192 } 199 }
193 ] 200 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698