OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
7 "--master", | 7 "--master", |
8 "client.webrtc", | 8 "client.webrtc", |
9 "--builder", | 9 "--builder", |
10 "Android32 GN", | 10 "Android32 GN", |
11 "--slave", | 11 "--slave", |
12 "slavename", | 12 "slavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.co
m/external/webrtc'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limi
ted', 'url': 'https://chrome-internal.googlesource.com/chrome/deps/webrtc-limite
d'}]\ntarget_os = ['android']", | 14 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
True, 'name': 'src', 'url': 'https://chromium.googlesource.com/external/webrtc'}
, {'deps_file': 'DEPS', 'managed': True, 'name': 'webrtc-limited', 'url': 'https
://chrome-internal.googlesource.com/chrome/deps/webrtc-limited'}]\ntarget_os = [
'android']", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"src\": \"got_revision\"}", | 18 "{\"src\": \"got_revision\"}", |
19 "--git-cache-dir", | 19 "--git-cache-dir", |
20 "[ROOT]/b/build/slave/cache_dir", | 20 "[GIT_CACHE]", |
21 "--output_json", | 21 "--output_json", |
22 "/path/to/tmp/json", | 22 "/path/to/tmp/json", |
23 "--revision", | 23 "--revision", |
24 "src@12345", | 24 "src@12345", |
25 "--output_manifest" | 25 "--output_manifest" |
26 ], | 26 ], |
| 27 "cwd": "[SLAVE_BUILD]", |
27 "env": { | 28 "env": { |
28 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 29 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
29 }, | 30 }, |
30 "name": "bot_update", | 31 "name": "bot_update", |
31 "~followup_annotations": [ | 32 "~followup_annotations": [ |
32 "@@@STEP_TEXT@Some step text@@@", | 33 "@@@STEP_TEXT@Some step text@@@", |
33 "@@@STEP_LOG_LINE@json.output@{@@@", | 34 "@@@STEP_LOG_LINE@json.output@{@@@", |
34 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 35 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
35 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | 36 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
36 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", | 37 "@@@STEP_LOG_LINE@json.output@ \"src\": \"12345\"@@@", |
(...skipping 16 matching lines...) Expand all Loading... |
53 "@@@STEP_LOG_END@json.output@@@", | 54 "@@@STEP_LOG_END@json.output@@@", |
54 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | 55 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", |
55 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | 56 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" |
56 ] | 57 ] |
57 }, | 58 }, |
58 { | 59 { |
59 "cmd": [ | 60 "cmd": [ |
60 "python", | 61 "python", |
61 "-u", | 62 "-u", |
62 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", | 63 "RECIPE_MODULE[build::webrtc]/resources/cleanup_files.py", |
63 "[CWD]/src/out" | 64 "[SLAVE_BUILD]/src/out" |
64 ], | 65 ], |
| 66 "cwd": "[SLAVE_BUILD]", |
65 "name": "clean test output files" | 67 "name": "clean test output files" |
66 }, | 68 }, |
67 { | 69 { |
68 "cmd": [ | 70 "cmd": [ |
69 "python", | 71 "python", |
70 "-u", | 72 "-u", |
71 "\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", | 73 "\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", |
72 "[CWD]/src/out/Release/debug_info_dumps", | 74 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
73 "[CWD]/src/out/Release/test_logs", | 75 "[SLAVE_BUILD]/src/out/Release/test_logs", |
74 "[CWD]/src/out/build_product.zip", | 76 "[SLAVE_BUILD]/src/out/build_product.zip", |
75 "[CWD]/src" | 77 "[SLAVE_BUILD]/src" |
76 ], | 78 ], |
| 79 "cwd": "[SLAVE_BUILD]", |
77 "name": "clean local files", | 80 "name": "clean local files", |
78 "~followup_annotations": [ | 81 "~followup_annotations": [ |
79 "@@@STEP_LOG_LINE@python.inline@@@@", | 82 "@@@STEP_LOG_LINE@python.inline@@@@", |
80 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 83 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
81 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 84 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
82 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 85 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
83 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 86 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
84 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 87 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
85 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 88 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
86 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 89 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
87 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 90 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
88 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 91 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
89 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 92 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
90 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 93 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
91 "@@@STEP_LOG_END@python.inline@@@" | 94 "@@@STEP_LOG_END@python.inline@@@" |
92 ] | 95 ] |
93 }, | 96 }, |
94 { | 97 { |
95 "cmd": [ | 98 "cmd": [ |
96 "python", | 99 "python", |
97 "-u", | 100 "-u", |
98 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 101 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
99 "runhooks" | 102 "runhooks" |
100 ], | 103 ], |
| 104 "cwd": "[SLAVE_BUILD]", |
101 "env": { | 105 "env": { |
102 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 106 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
103 "GYP_CHROMIUM_NO_ACTION": "1", | 107 "GYP_CHROMIUM_NO_ACTION": "1", |
104 "GYP_CROSSCOMPILE": "1", | 108 "GYP_CROSSCOMPILE": "1", |
105 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
ROOT]/b/build/goma' target_arch=arm use_goma=1", | 109 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
106 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 110 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
107 }, | 111 }, |
108 "name": "gclient runhooks" | 112 "name": "gclient runhooks" |
109 }, | 113 }, |
110 { | 114 { |
111 "cmd": [ | 115 "cmd": [ |
112 "python", | 116 "python", |
113 "-u", | 117 "-u", |
114 "[ROOT]/b/depot_tools/gn.py", | 118 "[DEPOT_TOOLS]/gn.py", |
115 "--root=[CWD]/src", | 119 "--root=[SLAVE_BUILD]/src", |
116 "gen", | 120 "gen", |
117 "//out/Release", | 121 "//out/Release", |
118 "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\" use_goma=t
rue goma_dir=\"[ROOT]/b/build/goma\"" | 122 "--args=is_debug=false target_os=\"android\" target_cpu=\"arm\" use_goma=t
rue goma_dir=\"[BUILD]/goma\"" |
119 ], | 123 ], |
| 124 "cwd": "[SLAVE_BUILD]", |
120 "name": "gn" | 125 "name": "gn" |
121 }, | 126 }, |
122 { | 127 { |
123 "cmd": [ | 128 "cmd": [ |
124 "python", | 129 "python", |
125 "-u", | 130 "-u", |
126 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | 131 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
127 "--show-path", | 132 "--show-path", |
128 "python", | 133 "python", |
129 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", | 134 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
130 "--gsutil-py-path", | 135 "--gsutil-py-path", |
131 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | 136 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
132 "--ninja-path", | 137 "--ninja-path", |
133 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", | 138 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
134 "--target", | 139 "--target", |
135 "Release", | 140 "Release", |
136 "--src-dir", | 141 "--src-dir", |
137 "[CWD]/src", | 142 "[SLAVE_BUILD]/src", |
138 "--goma-cache-dir", | 143 "--goma-cache-dir", |
139 "[ROOT]/b/build/slave/goma_cache", | 144 "[GOMA_CACHE]", |
140 "--build-tool", | 145 "--build-tool", |
141 "ninja", | 146 "ninja", |
142 "--compiler", | 147 "--compiler", |
143 "goma", | 148 "goma", |
144 "--goma-jsonstatus", | 149 "--goma-jsonstatus", |
145 "/path/to/tmp/json", | 150 "/path/to/tmp/json", |
146 "--goma-service-account-json-file", | 151 "--goma-service-account-json-file", |
147 "/creds/service_accounts/service-account-goma-client.json", | 152 "/creds/service_accounts/service-account-goma-client.json", |
148 "--goma-dir", | 153 "--goma-dir", |
149 "[ROOT]/b/build/goma", | 154 "[BUILD]/goma", |
150 "--", | 155 "--", |
151 "all" | 156 "all" |
152 ], | 157 ], |
| 158 "cwd": "[SLAVE_BUILD]", |
153 "env": { | 159 "env": { |
154 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 160 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
155 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 161 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
156 }, | 162 }, |
157 "name": "compile", | 163 "name": "compile", |
158 "~followup_annotations": [ | 164 "~followup_annotations": [ |
159 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 165 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
160 "@@@STEP_LOG_END@json.output (invalid)@@@" | 166 "@@@STEP_LOG_END@json.output (invalid)@@@" |
161 ] | 167 ] |
162 }, | 168 }, |
163 { | 169 { |
164 "name": "$result", | 170 "name": "$result", |
165 "recipe_result": null, | 171 "recipe_result": null, |
166 "status_code": 0 | 172 "status_code": 0 |
167 } | 173 } |
168 ] | 174 ] |
OLD | NEW |