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

Side by Side Diff: scripts/slave/recipes/android/android_builder.expected/main_builder.json

Issue 24650004: Fix hack for test presentation in path api. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 7 years, 2 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 "[DEPOT_TOOLS_ROOT]/gclient.py", 6 "[DEPOT_TOOLS]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']" 9 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
10 ], 10 ],
11 "name": "gclient setup", 11 "name": "gclient setup",
12 "seed_steps": [ 12 "seed_steps": [
13 "gclient setup", 13 "gclient setup",
14 "gclient revert", 14 "gclient revert",
15 "gclient sync" 15 "gclient sync"
16 ] 16 ]
17 }, 17 },
18 { 18 {
19 "cmd": [ 19 "cmd": [
20 "python", 20 "python",
21 "-u", 21 "-u",
22 "[BUILD_ROOT]/scripts/slave/gclient_safe_revert.py", 22 "[BUILD]/scripts/slave/gclient_safe_revert.py",
23 ".", 23 ".",
24 "[DEPOT_TOOLS_ROOT]/gclient" 24 "[DEPOT_TOOLS]/gclient"
25 ], 25 ],
26 "name": "gclient revert" 26 "name": "gclient revert"
27 }, 27 },
28 { 28 {
29 "cmd": [ 29 "cmd": [
30 "python", 30 "python",
31 "-u", 31 "-u",
32 "[DEPOT_TOOLS_ROOT]/gclient.py", 32 "[DEPOT_TOOLS]/gclient.py",
33 "sync", 33 "sync",
34 "--nohooks", 34 "--nohooks",
35 "--revision", 35 "--revision",
36 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 36 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
37 "--output-json", 37 "--output-json",
38 "/path/to/tmp/json" 38 "/path/to/tmp/json"
39 ], 39 ],
40 "name": "gclient sync", 40 "name": "gclient sync",
41 "~followup_annotations": [ 41 "~followup_annotations": [
42 "@@@STEP_LOG_LINE@json.output@{@@@", 42 "@@@STEP_LOG_LINE@json.output@{@@@",
43 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {}@@@", 43 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {}@@@",
44 "@@@STEP_LOG_LINE@json.output@}@@@", 44 "@@@STEP_LOG_LINE@json.output@}@@@",
45 "@@@STEP_LOG_END@json.output@@@" 45 "@@@STEP_LOG_END@json.output@@@"
46 ] 46 ]
47 }, 47 },
48 { 48 {
49 "cmd": [ 49 "cmd": [
50 "[SLAVE_BUILD_ROOT]/src/repo/build/dump_app_manifest_vars.py", 50 "[SLAVE_BUILD]/src/repo/build/dump_app_manifest_vars.py",
51 "-b", 51 "-b",
52 "builder_name", 52 "builder_name",
53 "-v", 53 "-v",
54 "[SLAVE_BUILD_ROOT]/src/chrome/VERSION", 54 "[SLAVE_BUILD]/src/chrome/VERSION",
55 "--output-json", 55 "--output-json",
56 "/path/to/tmp/json" 56 "/path/to/tmp/json"
57 ], 57 ],
58 "name": "get app_manifest_vars", 58 "name": "get app_manifest_vars",
59 "~followup_annotations": [ 59 "~followup_annotations": [
60 "@@@STEP_LOG_LINE@json.output@{@@@", 60 "@@@STEP_LOG_LINE@json.output@{@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"build_id\": 3333, @@@", 61 "@@@STEP_LOG_LINE@json.output@ \"build_id\": 3333, @@@",
62 "@@@STEP_LOG_LINE@json.output@ \"date_string\": 6001, @@@", 62 "@@@STEP_LOG_LINE@json.output@ \"date_string\": 6001, @@@",
63 "@@@STEP_LOG_LINE@json.output@ \"version_code\": 10, @@@", 63 "@@@STEP_LOG_LINE@json.output@ \"version_code\": 10, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"version_name\": \"some_builder_1234\"@@@ ", 64 "@@@STEP_LOG_LINE@json.output@ \"version_name\": \"some_builder_1234\"@@@ ",
65 "@@@STEP_LOG_LINE@json.output@}@@@", 65 "@@@STEP_LOG_LINE@json.output@}@@@",
66 "@@@STEP_LOG_END@json.output@@@" 66 "@@@STEP_LOG_END@json.output@@@"
67 ] 67 ]
68 }, 68 },
69 { 69 {
70 "cmd": [ 70 "cmd": [
71 "[SLAVE_BUILD_ROOT]/src/build/env_dump.py", 71 "[SLAVE_BUILD]/src/build/env_dump.py",
72 "--output-json", 72 "--output-json",
73 "/path/to/tmp/json", 73 "/path/to/tmp/json",
74 "[SLAVE_BUILD_ROOT]/src/build/android/envsetup.sh" 74 "[SLAVE_BUILD]/src/build/android/envsetup.sh"
75 ], 75 ],
76 "env": { 76 "env": {
77 "PATH": "[BUILD_INTERNAL_ROOT]/scripts/slave/android:%(PATH)s" 77 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:%(PATH)s"
78 }, 78 },
79 "name": "envsetup", 79 "name": "envsetup",
80 "~followup_annotations": [ 80 "~followup_annotations": [
81 "@@@STEP_LOG_LINE@json.output@{@@@", 81 "@@@STEP_LOG_LINE@json.output@{@@@",
82 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"my_new_gyp_def=aaa\", @ @@", 82 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"my_new_gyp_def=aaa\", @ @@",
83 "@@@STEP_LOG_LINE@json.output@ \"GYP_SOMETHING\": \"gyp_something_value\" , @@@", 83 "@@@STEP_LOG_LINE@json.output@ \"GYP_SOMETHING\": \"gyp_something_value\" , @@@",
84 "@@@STEP_LOG_LINE@json.output@ \"PATH\": \"./\"@@@", 84 "@@@STEP_LOG_LINE@json.output@ \"PATH\": \"./\"@@@",
85 "@@@STEP_LOG_LINE@json.output@}@@@", 85 "@@@STEP_LOG_LINE@json.output@}@@@",
86 "@@@STEP_LOG_END@json.output@@@" 86 "@@@STEP_LOG_END@json.output@@@"
87 ] 87 ]
88 }, 88 },
89 { 89 {
90 "cmd": [ 90 "cmd": [
91 "python", 91 "python",
92 "-u", 92 "-u",
93 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\nfor base, _dirs, files in os.walk(sys.argv[3]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n", 93 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree (sys.argv[2], True)\nfor base, _dirs, files in os.walk(sys.argv[3]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n",
94 "[SLAVE_BUILD_ROOT]/src/out/Debug/debug_info_dumps", 94 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
95 "[SLAVE_BUILD_ROOT]/src/out/Debug/test_logs", 95 "[SLAVE_BUILD]/src/out/Debug/test_logs",
96 "[SLAVE_BUILD_ROOT]/src" 96 "[SLAVE_BUILD]/src"
97 ], 97 ],
98 "name": "clean local files", 98 "name": "clean local files",
99 "~followup_annotations": [ 99 "~followup_annotations": [
100 "@@@STEP_LOG_LINE@python.inline@@@@", 100 "@@@STEP_LOG_LINE@python.inline@@@@",
101 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 101 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
102 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 102 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
103 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 103 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
104 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [3]):@@@", 104 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [3]):@@@",
105 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 105 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
106 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 106 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
107 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 107 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
108 "@@@STEP_LOG_END@python.inline@@@" 108 "@@@STEP_LOG_END@python.inline@@@"
109 ] 109 ]
110 }, 110 },
111 { 111 {
112 "allow_subannotations": true, 112 "allow_subannotations": true,
113 "cmd": [ 113 "cmd": [
114 "[SLAVE_BUILD_ROOT]/src/build/tree_truth.sh", 114 "[SLAVE_BUILD]/src/build/tree_truth.sh",
115 "[SLAVE_BUILD_ROOT]/src", 115 "[SLAVE_BUILD]/src",
116 "src", 116 "src",
117 "src-internal", 117 "src-internal",
118 "src/repo" 118 "src/repo"
119 ], 119 ],
120 "name": "tree truth steps" 120 "name": "tree truth steps"
121 }, 121 },
122 { 122 {
123 "cmd": [ 123 "cmd": [
124 "python", 124 "python",
125 "-u", 125 "-u",
126 "[DEPOT_TOOLS_ROOT]/gclient.py", 126 "[DEPOT_TOOLS]/gclient.py",
127 "runhooks" 127 "runhooks"
128 ], 128 ],
129 "env": { 129 "env": {
130 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD_ROOT]/src/repo/build/get_internal_ landmines.py", 130 "EXTRA_LANDMINES_SCRIPT": "[SLAVE_BUILD]/src/repo/build/get_internal_landm ines.py",
131 "GYP_CROSSCOMPILE": "1", 131 "GYP_CROSSCOMPILE": "1",
132 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil d=1 gcc_version=46 host_os=linux order_text_section=[SLAVE_BUILD_ROOT]/src/order files/orderfile.out target_arch=arm", 132 "GYP_DEFINES": "OS=android app_manifest_version_code=10 app_manifest_versi on_name=some_builder_1234 chrome_build_id=3333 component=static_library fastbuil d=1 gcc_version=46 host_os=linux order_text_section=[SLAVE_BUILD]/src/orderfiles /orderfile.out target_arch=arm",
133 "GYP_GENERATORS": "ninja", 133 "GYP_GENERATORS": "ninja",
134 "GYP_GENERATOR_FLAGS": "default_target=All", 134 "GYP_GENERATOR_FLAGS": "default_target=All",
135 "PATH": "[BUILD_INTERNAL_ROOT]/scripts/slave/android:./:%(PATH)s" 135 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s"
136 }, 136 },
137 "name": "gclient runhooks" 137 "name": "gclient runhooks"
138 }, 138 },
139 { 139 {
140 "abort_on_failure": true, 140 "abort_on_failure": true,
141 "cmd": [ 141 "cmd": [
142 "python", 142 "python",
143 "-u", 143 "-u",
144 "[BUILD_ROOT]/scripts/slave/compile.py", 144 "[BUILD]/scripts/slave/compile.py",
145 "--target", 145 "--target",
146 "Debug", 146 "Debug",
147 "--build-dir", 147 "--build-dir",
148 "[SLAVE_BUILD_ROOT]/src/out", 148 "[SLAVE_BUILD]/src/out",
149 "--src-dir", 149 "--src-dir",
150 "[SLAVE_BUILD_ROOT]/src", 150 "[SLAVE_BUILD]/src",
151 "--build-tool", 151 "--build-tool",
152 "ninja", 152 "ninja",
153 "--compiler", 153 "--compiler",
154 "goma", 154 "goma",
155 "--", 155 "--",
156 "All" 156 "All"
157 ], 157 ],
158 "env": { 158 "env": {
159 "PATH": "[BUILD_INTERNAL_ROOT]/scripts/slave/android:./:%(PATH)s" 159 "PATH": "[BUILD_INTERNAL]/scripts/slave/android:./:%(PATH)s"
160 }, 160 },
161 "name": "compile" 161 "name": "compile"
162 }, 162 },
163 { 163 {
164 "cmd": [ 164 "cmd": [
165 "[SLAVE_BUILD_ROOT]/src/repo/build/upload_build.py", 165 "[SLAVE_BUILD]/src/repo/build/upload_build.py",
166 "-b", 166 "-b",
167 "builder_name", 167 "builder_name",
168 "-t", 168 "-t",
169 "Debug", 169 "Debug",
170 "-d", 170 "-d",
171 "[SLAVE_BUILD_ROOT]/src/out", 171 "[SLAVE_BUILD]/src/out",
172 "-r", 172 "-r",
173 "4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 173 "4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
174 "-g", 174 "-g",
175 "[BUILD_ROOT]/scripts/slave/gsutil" 175 "[BUILD]/scripts/slave/gsutil"
176 ], 176 ],
177 "name": "upload_build" 177 "name": "upload_build"
178 } 178 }
179 ] 179 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698