OLD | NEW |
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 Loading... |
37 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'dartium.deps', 'url': 'https://dart.googlecode.com/svn/trunk/deps/dartium.
deps'}]\ntarget_os = ['android']", | 38 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'dartium.deps', 'url': 'https://dart.googlecode.com/svn/trunk/deps/dartium.
deps'}]\ntarget_os = ['android']", |
38 "--root", | 39 "--root", |
39 "dartium.deps", | 40 "dartium.deps", |
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 "dartium.deps@34567" | 46 "dartium.deps@34567" |
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', 'managed': True, 'na
me': 'dartium.deps', 'url': 'https://dart.googlecode.com/svn/trunk/deps/dartium.
deps'}]\ntarget_os = ['android']" | 65 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na
me': 'dartium.deps', 'url': 'https://dart.googlecode.com/svn/trunk/deps/dartium.
deps'}]\ntarget_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 "dartium.deps@34567", | 81 "dartium.deps@34567", |
79 "--revision", | 82 "--revision", |
80 "src/dart@34567", | 83 "src/dart@34567", |
81 "--output-json", | 84 "--output-json", |
82 "/path/to/tmp/json" | 85 "/path/to/tmp/json" |
83 ], | 86 ], |
| 87 "cwd": "[SLAVE_BUILD]", |
84 "name": "gclient sync", | 88 "name": "gclient sync", |
85 "~followup_annotations": [ | 89 "~followup_annotations": [ |
86 "@@@STEP_LOG_LINE@json.output@{@@@", | 90 "@@@STEP_LOG_LINE@json.output@{@@@", |
87 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 91 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
88 "@@@STEP_LOG_LINE@json.output@ \"dartium.deps/\": {@@@", | 92 "@@@STEP_LOG_LINE@json.output@ \"dartium.deps/\": {@@@", |
89 "@@@STEP_LOG_LINE@json.output@ \"revision\": 10382@@@", | 93 "@@@STEP_LOG_LINE@json.output@ \"revision\": 10382@@@", |
90 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 94 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
91 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 95 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
92 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 96 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
93 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 97 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 26 matching lines...) Expand all Loading... |
120 { | 124 { |
121 "cmd": [ | 125 "cmd": [ |
122 "python", | 126 "python", |
123 "-u", | 127 "-u", |
124 "\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", | 128 "\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", |
125 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 129 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
126 "[SLAVE_BUILD]/src/out/Release/test_logs", | 130 "[SLAVE_BUILD]/src/out/Release/test_logs", |
127 "[SLAVE_BUILD]/src/out/build_product.zip", | 131 "[SLAVE_BUILD]/src/out/build_product.zip", |
128 "[SLAVE_BUILD]/src" | 132 "[SLAVE_BUILD]/src" |
129 ], | 133 ], |
| 134 "cwd": "[SLAVE_BUILD]", |
130 "name": "clean local files", | 135 "name": "clean local files", |
131 "~followup_annotations": [ | 136 "~followup_annotations": [ |
132 "@@@STEP_LOG_LINE@python.inline@@@@", | 137 "@@@STEP_LOG_LINE@python.inline@@@@", |
133 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 138 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
134 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 139 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 140 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
136 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 141 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
137 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 142 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
138 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
139 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
140 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 145 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
141 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 146 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
142 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 147 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
143 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 148 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
144 "@@@STEP_LOG_END@python.inline@@@" | 149 "@@@STEP_LOG_END@python.inline@@@" |
145 ] | 150 ] |
146 }, | 151 }, |
147 { | 152 { |
148 "cmd": [ | 153 "cmd": [ |
149 "python", | 154 "python", |
150 "-u", | 155 "-u", |
151 "[DEPOT_TOOLS]/gclient.py", | 156 "[DEPOT_TOOLS]/gclient.py", |
152 "runhooks" | 157 "runhooks" |
153 ], | 158 ], |
| 159 "cwd": "[SLAVE_BUILD]", |
154 "env": { | 160 "env": { |
155 "GYP_CROSSCOMPILE": "1", | 161 "GYP_CROSSCOMPILE": "1", |
156 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", | 162 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
157 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 163 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
158 }, | 164 }, |
159 "name": "gclient runhooks" | 165 "name": "gclient runhooks" |
160 }, | 166 }, |
161 { | 167 { |
162 "cmd": [ | 168 "cmd": [ |
163 "python", | 169 "python", |
164 "-u", | 170 "-u", |
165 "[BUILD]/scripts/slave/compile.py", | 171 "[BUILD]/scripts/slave/compile.py", |
166 "--target", | 172 "--target", |
167 "Release", | 173 "Release", |
168 "--src-dir", | 174 "--src-dir", |
169 "[SLAVE_BUILD]/src", | 175 "[SLAVE_BUILD]/src", |
170 "--build-tool", | 176 "--build-tool", |
171 "ninja", | 177 "ninja", |
172 "--compiler", | 178 "--compiler", |
173 "goma", | 179 "goma", |
174 "--goma-dir", | 180 "--goma-dir", |
175 "[BUILD]/goma", | 181 "[BUILD]/goma", |
176 "--", | 182 "--", |
177 "content_shell_apk" | 183 "content_shell_apk" |
178 ], | 184 ], |
| 185 "cwd": "[SLAVE_BUILD]", |
179 "env": { | 186 "env": { |
180 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 187 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
181 }, | 188 }, |
182 "name": "compile" | 189 "name": "compile" |
183 }, | 190 }, |
184 { | 191 { |
185 "cmd": [ | 192 "cmd": [ |
186 "python", | 193 "python", |
187 "-u", | 194 "-u", |
188 "[SLAVE_BUILD]/src/dart/tools/bots/dartium_android.py", | 195 "[SLAVE_BUILD]/src/dart/tools/bots/dartium_android.py", |
189 "--build-products-dir", | 196 "--build-products-dir", |
190 "[SLAVE_BUILD]/src/out/Release" | 197 "[SLAVE_BUILD]/src/out/Release" |
191 ], | 198 ], |
| 199 "cwd": "[SLAVE_BUILD]", |
192 "name": "dartium_test" | 200 "name": "dartium_test" |
193 } | 201 } |
194 ] | 202 ] |
OLD | NEW |