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

Side by Side Diff: scripts/slave/recipes/cronet.expected/android_cronet_arm64_builder__dbg_.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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 | Annotate | Revision Log
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 "[SLAVE_BUILD]" 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'):@ @@",
(...skipping 18 matching lines...) Expand all
37 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']", 38 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']",
38 "--root", 39 "--root",
39 "src", 40 "src",
40 "--revision_mapping_file", 41 "--revision_mapping_file",
41 "{}", 42 "{}",
42 "--output_json", 43 "--output_json",
43 "/path/to/tmp/json", 44 "/path/to/tmp/json",
44 "--revision", 45 "--revision",
45 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" 46 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
46 ], 47 ],
48 "cwd": "[SLAVE_BUILD]",
47 "name": "bot_update", 49 "name": "bot_update",
48 "~followup_annotations": [ 50 "~followup_annotations": [
49 "@@@STEP_LOG_LINE@json.output@{@@@", 51 "@@@STEP_LOG_LINE@json.output@{@@@",
50 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
51 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
52 "@@@STEP_LOG_LINE@json.output@}@@@", 54 "@@@STEP_LOG_LINE@json.output@}@@@",
53 "@@@STEP_LOG_END@json.output@@@" 55 "@@@STEP_LOG_END@json.output@@@"
54 ] 56 ]
55 }, 57 },
56 { 58 {
57 "cmd": [ 59 "cmd": [
58 "python", 60 "python",
59 "-u", 61 "-u",
60 "[DEPOT_TOOLS]/gclient.py", 62 "[DEPOT_TOOLS]/gclient.py",
61 "config", 63 "config",
62 "--spec", 64 "--spec",
63 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']" 65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarg et_os = ['android']"
64 ], 66 ],
67 "cwd": "[SLAVE_BUILD]",
65 "name": "gclient setup" 68 "name": "gclient setup"
66 }, 69 },
67 { 70 {
68 "cmd": [ 71 "cmd": [
69 "python", 72 "python",
70 "-u", 73 "-u",
71 "[DEPOT_TOOLS]/gclient.py", 74 "[DEPOT_TOOLS]/gclient.py",
72 "sync", 75 "sync",
73 "--nohooks", 76 "--nohooks",
74 "--force", 77 "--force",
75 "--verbose", 78 "--verbose",
76 "--delete_unversioned_trees", 79 "--delete_unversioned_trees",
77 "--revision", 80 "--revision",
78 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 81 "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
79 "--output-json", 82 "--output-json",
80 "/path/to/tmp/json" 83 "/path/to/tmp/json"
81 ], 84 ],
85 "cwd": "[SLAVE_BUILD]",
82 "name": "gclient sync", 86 "name": "gclient sync",
83 "~followup_annotations": [ 87 "~followup_annotations": [
84 "@@@STEP_LOG_LINE@json.output@{@@@", 88 "@@@STEP_LOG_LINE@json.output@{@@@",
85 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 89 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
86 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 90 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
87 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 91 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", 92 "@@@STEP_LOG_LINE@json.output@ }, @@@",
89 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 93 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
90 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 94 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
91 "@@@STEP_LOG_LINE@json.output@ }, @@@", 95 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 23 matching lines...) Expand all
115 { 119 {
116 "cmd": [ 120 "cmd": [
117 "python", 121 "python",
118 "-u", 122 "-u",
119 "\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", 123 "\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",
120 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", 124 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
121 "[SLAVE_BUILD]/src/out/Debug/test_logs", 125 "[SLAVE_BUILD]/src/out/Debug/test_logs",
122 "[SLAVE_BUILD]/src/out/build_product.zip", 126 "[SLAVE_BUILD]/src/out/build_product.zip",
123 "[SLAVE_BUILD]/src" 127 "[SLAVE_BUILD]/src"
124 ], 128 ],
129 "cwd": "[SLAVE_BUILD]",
125 "name": "clean local files", 130 "name": "clean local files",
126 "~followup_annotations": [ 131 "~followup_annotations": [
127 "@@@STEP_LOG_LINE@python.inline@@@@", 132 "@@@STEP_LOG_LINE@python.inline@@@@",
128 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 133 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
129 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 134 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
130 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
131 "@@@STEP_LOG_LINE@python.inline@try:@@@", 136 "@@@STEP_LOG_LINE@python.inline@try:@@@",
132 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 137 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
133 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 138 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
134 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 139 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
135 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 140 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
136 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 141 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
137 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 142 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
138 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 143 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
139 "@@@STEP_LOG_END@python.inline@@@" 144 "@@@STEP_LOG_END@python.inline@@@"
140 ] 145 ]
141 }, 146 },
142 { 147 {
143 "cmd": [ 148 "cmd": [
144 "python", 149 "python",
145 "-u", 150 "-u",
146 "[DEPOT_TOOLS]/gclient.py", 151 "[DEPOT_TOOLS]/gclient.py",
147 "runhooks" 152 "runhooks"
148 ], 153 ],
154 "cwd": "[SLAVE_BUILD]",
149 "env": { 155 "env": {
150 "GYP_CROSSCOMPILE": "1", 156 "GYP_CROSSCOMPILE": "1",
151 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' ta rget_arch=arm64 use_goma=1 use_icu_alternatives_on_android=1", 157 "GYP_DEFINES": "OS=android component=static_library disable_file_support=1 disable_ftp_support=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' ta rget_arch=arm64 use_goma=1 use_icu_alternatives_on_android=1",
152 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 158 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
153 }, 159 },
154 "name": "gclient runhooks" 160 "name": "gclient runhooks"
155 }, 161 },
156 { 162 {
157 "cmd": [ 163 "cmd": [
158 "python", 164 "python",
159 "-u", 165 "-u",
160 "[BUILD]/scripts/slave/compile.py", 166 "[BUILD]/scripts/slave/compile.py",
161 "--target", 167 "--target",
162 "Debug", 168 "Debug",
163 "--src-dir", 169 "--src-dir",
164 "[SLAVE_BUILD]/src", 170 "[SLAVE_BUILD]/src",
165 "--build-tool", 171 "--build-tool",
166 "ninja", 172 "ninja",
167 "--compiler", 173 "--compiler",
168 "goma", 174 "goma",
169 "--goma-dir", 175 "--goma-dir",
170 "[BUILD]/goma", 176 "[BUILD]/goma",
171 "--clobber", 177 "--clobber",
172 "--", 178 "--",
173 "cronet_package", 179 "cronet_package",
174 "cronet_sample_test_apk", 180 "cronet_sample_test_apk",
175 "cronet_test_instrumentation_apk" 181 "cronet_test_instrumentation_apk"
176 ], 182 ],
183 "cwd": "[SLAVE_BUILD]",
177 "env": { 184 "env": {
178 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 185 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
179 }, 186 },
180 "name": "compile" 187 "name": "compile"
181 }, 188 },
182 { 189 {
183 "cmd": [ 190 "cmd": [
184 "python", 191 "python",
185 "-u", 192 "-u",
186 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 193 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
187 "--", 194 "--",
188 "[DEPOT_TOOLS]/gsutil.py", 195 "[DEPOT_TOOLS]/gsutil.py",
189 "--force-version", 196 "--force-version",
190 "3.25", 197 "3.25",
191 "--", 198 "--",
192 "cp", 199 "cp",
193 "[SLAVE_BUILD]/src/out/Debug/cronet/VERSION", 200 "[SLAVE_BUILD]/src/out/Debug/cronet/VERSION",
194 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00/VERSION" 201 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00/VERSION"
195 ], 202 ],
203 "cwd": "[SLAVE_BUILD]",
196 "name": "gsutil upload_cronet_version", 204 "name": "gsutil upload_cronet_version",
197 "~followup_annotations": [ 205 "~followup_annotations": [
198 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@" 206 "@@@STEP_LINK@Cronet version@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00/VERSION@@@"
199 ] 207 ]
200 }, 208 },
201 { 209 {
202 "cmd": [ 210 "cmd": [
203 "python", 211 "python",
204 "-u", 212 "-u",
205 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 213 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
206 "--", 214 "--",
207 "[DEPOT_TOOLS]/gsutil.py", 215 "[DEPOT_TOOLS]/gsutil.py",
208 "--force-version", 216 "--force-version",
209 "3.25", 217 "3.25",
210 "--", 218 "--",
211 "cp", 219 "cp",
212 "-R", 220 "-R",
213 "[SLAVE_BUILD]/src/out/Debug/cronet", 221 "[SLAVE_BUILD]/src/out/Debug/cronet",
214 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00" 222 "gs://chromium-cronet/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8a d589c8a00"
215 ], 223 ],
224 "cwd": "[SLAVE_BUILD]",
216 "name": "gsutil upload_cronet_package", 225 "name": "gsutil upload_cronet_package",
217 "~followup_annotations": [ 226 "~followup_annotations": [
218 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@" 227 "@@@STEP_LINK@Cronet package@https://storage.cloud.google.com/chromium-cro net/android/cronet-Debug-4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00@@@"
219 ] 228 ]
220 } 229 }
221 ] 230 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698