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

Side by Side Diff: scripts/slave/recipes/chromium.expected/full_chromium_linux_Cast_Android__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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.linux", 8 "chromium.linux",
9 "--builder", 9 "--builder",
10 "Cast Android (dbg)", 10 "Cast Android (dbg)",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@HEAD" 22 "src@HEAD"
23 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
24 "name": "bot_update", 25 "name": "bot_update",
25 "~followup_annotations": [ 26 "~followup_annotations": [
26 "@@@STEP_TEXT@Some step text@@@", 27 "@@@STEP_TEXT@Some step text@@@",
27 "@@@STEP_LOG_LINE@json.output@{@@@", 28 "@@@STEP_LOG_LINE@json.output@{@@@",
28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 29 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 30 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 31 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 61 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
61 ] 62 ]
62 }, 63 },
63 { 64 {
64 "cmd": [ 65 "cmd": [
65 "python", 66 "python",
66 "-u", 67 "-u",
67 "[DEPOT_TOOLS]/gclient.py", 68 "[DEPOT_TOOLS]/gclient.py",
68 "runhooks" 69 "runhooks"
69 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
70 "env": { 72 "env": {
71 "GYP_CROSSCOMPILE": "1", 73 "GYP_CROSSCOMPILE": "1",
72 "GYP_DEFINES": "OS=android chromecast=1 component=static_library fastbuild =1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1", 74 "GYP_DEFINES": "OS=android chromecast=1 component=static_library fastbuild =1 gomadir='[BUILD]/goma' target_arch=arm use_goma=1",
73 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 75 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
74 }, 76 },
75 "name": "gclient runhooks" 77 "name": "gclient runhooks"
76 }, 78 },
77 { 79 {
78 "cmd": [ 80 "cmd": [
79 "python", 81 "python",
80 "-u", 82 "-u",
81 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 83 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
82 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json", 84 "[SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json",
83 "/path/to/tmp/json" 85 "/path/to/tmp/json"
84 ], 86 ],
87 "cwd": "[SLAVE_BUILD]",
85 "name": "read test spec", 88 "name": "read test spec",
86 "~followup_annotations": [ 89 "~followup_annotations": [
87 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@", 90 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.linux.json @@@",
88 "@@@STEP_LOG_LINE@json.output@{}@@@", 91 "@@@STEP_LOG_LINE@json.output@{}@@@",
89 "@@@STEP_LOG_END@json.output@@@" 92 "@@@STEP_LOG_END@json.output@@@"
90 ] 93 ]
91 }, 94 },
92 { 95 {
93 "cmd": [ 96 "cmd": [
94 "python", 97 "python",
95 "-u", 98 "-u",
96 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", 99 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py",
97 "--output", 100 "--output",
98 "/path/to/tmp/json", 101 "/path/to/tmp/json",
99 "--", 102 "--",
100 "--build-config-fs", 103 "--build-config-fs",
101 "Debug", 104 "Debug",
102 "--paths", 105 "--paths",
103 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", 106 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}",
104 "--properties", 107 "--properties",
105 "{\"buildername\": \"Cast Android (dbg)\", \"buildnumber\": 571, \"mastern ame\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\" : \"android\"}" 108 "{\"buildername\": \"Cast Android (dbg)\", \"buildnumber\": 571, \"mastern ame\": \"chromium.linux\", \"slavename\": \"TestSlavename\", \"target_platform\" : \"android\"}"
106 ], 109 ],
110 "cwd": "[SLAVE_BUILD]",
107 "name": "get compile targets for scripts", 111 "name": "get compile targets for scripts",
108 "~followup_annotations": [ 112 "~followup_annotations": [
109 "@@@STEP_LOG_LINE@json.output@{}@@@", 113 "@@@STEP_LOG_LINE@json.output@{}@@@",
110 "@@@STEP_LOG_END@json.output@@@" 114 "@@@STEP_LOG_END@json.output@@@"
111 ] 115 ]
112 }, 116 },
113 { 117 {
114 "cmd": [ 118 "cmd": [
115 "python", 119 "python",
116 "-u", 120 "-u",
117 "[BUILD]/scripts/slave/cleanup_temp.py" 121 "[BUILD]/scripts/slave/cleanup_temp.py"
118 ], 122 ],
123 "cwd": "[SLAVE_BUILD]",
119 "name": "cleanup_temp" 124 "name": "cleanup_temp"
120 }, 125 },
121 { 126 {
122 "cmd": [ 127 "cmd": [
123 "python", 128 "python",
124 "-u", 129 "-u",
125 "\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", 130 "\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",
126 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", 131 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
127 "[SLAVE_BUILD]/src/out/Debug/test_logs", 132 "[SLAVE_BUILD]/src/out/Debug/test_logs",
128 "[SLAVE_BUILD]/src/out/build_product.zip", 133 "[SLAVE_BUILD]/src/out/build_product.zip",
129 "[SLAVE_BUILD]/src" 134 "[SLAVE_BUILD]/src"
130 ], 135 ],
136 "cwd": "[SLAVE_BUILD]",
131 "name": "clean local files", 137 "name": "clean local files",
132 "~followup_annotations": [ 138 "~followup_annotations": [
133 "@@@STEP_LOG_LINE@python.inline@@@@", 139 "@@@STEP_LOG_LINE@python.inline@@@@",
134 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 140 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 141 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 142 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
137 "@@@STEP_LOG_LINE@python.inline@try:@@@", 143 "@@@STEP_LOG_LINE@python.inline@try:@@@",
138 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 144 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
139 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 145 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
140 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 146 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
141 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 147 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
142 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 148 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
143 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 149 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
144 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 150 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
145 "@@@STEP_LOG_END@python.inline@@@" 151 "@@@STEP_LOG_END@python.inline@@@"
146 ] 152 ]
147 }, 153 },
148 { 154 {
149 "allow_subannotations": false, 155 "allow_subannotations": false,
150 "cmd": [ 156 "cmd": [
151 "[SLAVE_BUILD]/src/build/tree_truth.sh", 157 "[SLAVE_BUILD]/src/build/tree_truth.sh",
152 "[SLAVE_BUILD]/src", 158 "[SLAVE_BUILD]/src",
153 "src" 159 "src"
154 ], 160 ],
161 "cwd": "[SLAVE_BUILD]",
155 "name": "tree truth steps" 162 "name": "tree truth steps"
156 }, 163 },
157 { 164 {
158 "cmd": [ 165 "cmd": [
159 "python", 166 "python",
160 "-u", 167 "-u",
161 "[BUILD]/scripts/slave/compile.py", 168 "[BUILD]/scripts/slave/compile.py",
162 "--target", 169 "--target",
163 "Debug", 170 "Debug",
164 "--src-dir", 171 "--src-dir",
165 "[SLAVE_BUILD]/src", 172 "[SLAVE_BUILD]/src",
166 "--build-tool", 173 "--build-tool",
167 "ninja", 174 "ninja",
168 "--compiler", 175 "--compiler",
169 "goma", 176 "goma",
170 "--goma-dir", 177 "--goma-dir",
171 "[BUILD]/goma", 178 "[BUILD]/goma",
172 "--" 179 "--"
173 ], 180 ],
181 "cwd": "[SLAVE_BUILD]",
174 "env": { 182 "env": {
175 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 183 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
176 }, 184 },
177 "name": "compile" 185 "name": "compile"
178 } 186 }
179 ] 187 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698