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

Side by Side Diff: scripts/slave/recipes/webrtc/chromium.expected/chromium_webrtc_fyi_Android_GN.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.webrtc.fyi", 8 "chromium.webrtc.fyi",
9 "--builder", 9 "--builder",
10 "Android GN", 10 "Android GN",
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'}, {'deps_file': 'DEPS', 'managed': True, 'name' : 'webrtc.DEPS', 'url': 'https://chromium.googlesource.com/chromium/deps/webrtc/ webrtc.DEPS'}]\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'}, {'deps_file': 'DEPS', 'managed': True, 'name' : 'webrtc.DEPS', 'url': 'https://chromium.googlesource.com/chromium/deps/webrtc/ webrtc.DEPS'}]\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/libjingl e/source/talk\": \"got_libjingle_revision\", \"src/third_party/libvpx/source\": \"got_libvpx_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/libjingl e/source/talk\": \"got_libjingle_revision\", \"src/third_party/libvpx/source\": \"got_libvpx_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 "--revision", 23 "--revision",
24 "src/third_party/libjingle/source/talk@HEAD", 24 "src/third_party/libjingle/source/talk@HEAD",
25 "--revision", 25 "--revision",
26 "src/third_party/webrtc@HEAD" 26 "src/third_party/webrtc@HEAD"
27 ], 27 ],
28 "cwd": "[SLAVE_BUILD]",
28 "name": "bot_update", 29 "name": "bot_update",
29 "~followup_annotations": [ 30 "~followup_annotations": [
30 "@@@STEP_TEXT@Some step text@@@", 31 "@@@STEP_TEXT@Some step text@@@",
31 "@@@STEP_LOG_LINE@json.output@{@@@", 32 "@@@STEP_LOG_LINE@json.output@{@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 33 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
34 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 35 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 36 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
36 "@@@STEP_LOG_LINE@json.output@ \"got_libjingle_revision\": \"8e938c8836 c7ed23d7fbcddf1dcc2abcb13667d7\", @@@", 37 "@@@STEP_LOG_LINE@json.output@ \"got_libjingle_revision\": \"8e938c8836 c7ed23d7fbcddf1dcc2abcb13667d7\", @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"got_libjingle_revision_cp\": \"refs/he ads/master@{#134440}\", @@@", 38 "@@@STEP_LOG_LINE@json.output@ \"got_libjingle_revision_cp\": \"refs/he ads/master@{#134440}\", @@@",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 "@@@SET_BUILD_PROPERTY@got_libjingle_revision_cp@\"refs/heads/master@{#134 440}\"@@@" 73 "@@@SET_BUILD_PROPERTY@got_libjingle_revision_cp@\"refs/heads/master@{#134 440}\"@@@"
73 ] 74 ]
74 }, 75 },
75 { 76 {
76 "cmd": [ 77 "cmd": [
77 "python", 78 "python",
78 "-u", 79 "-u",
79 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py", 80 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py",
80 "[SLAVE_BUILD]/src/out" 81 "[SLAVE_BUILD]/src/out"
81 ], 82 ],
83 "cwd": "[SLAVE_BUILD]",
82 "name": "clean test output files" 84 "name": "clean test output files"
83 }, 85 },
84 { 86 {
85 "cmd": [ 87 "cmd": [
86 "python", 88 "python",
87 "-u", 89 "-u",
88 "\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", 90 "\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",
89 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", 91 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
90 "[SLAVE_BUILD]/src/out/Debug/test_logs", 92 "[SLAVE_BUILD]/src/out/Debug/test_logs",
91 "[SLAVE_BUILD]/src/out/build_product.zip", 93 "[SLAVE_BUILD]/src/out/build_product.zip",
92 "[SLAVE_BUILD]/src" 94 "[SLAVE_BUILD]/src"
93 ], 95 ],
96 "cwd": "[SLAVE_BUILD]",
94 "name": "clean local files", 97 "name": "clean local files",
95 "~followup_annotations": [ 98 "~followup_annotations": [
96 "@@@STEP_LOG_LINE@python.inline@@@@", 99 "@@@STEP_LOG_LINE@python.inline@@@@",
97 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 100 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
98 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 101 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
99 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 102 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
100 "@@@STEP_LOG_LINE@python.inline@try:@@@", 103 "@@@STEP_LOG_LINE@python.inline@try:@@@",
101 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 104 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
102 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 105 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
103 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 106 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
104 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 107 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
105 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 108 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
106 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 109 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
107 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 110 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
108 "@@@STEP_LOG_END@python.inline@@@" 111 "@@@STEP_LOG_END@python.inline@@@"
109 ] 112 ]
110 }, 113 },
111 { 114 {
112 "cmd": [ 115 "cmd": [
113 "python", 116 "python",
114 "-u", 117 "-u",
115 "[DEPOT_TOOLS]/gclient.py", 118 "[DEPOT_TOOLS]/gclient.py",
116 "runhooks" 119 "runhooks"
117 ], 120 ],
121 "cwd": "[SLAVE_BUILD]",
118 "env": { 122 "env": {
119 "GYP_CHROMIUM_NO_ACTION": "1", 123 "GYP_CHROMIUM_NO_ACTION": "1",
120 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 124 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
121 }, 125 },
122 "name": "gclient runhooks" 126 "name": "gclient runhooks"
123 }, 127 },
124 { 128 {
125 "cmd": [ 129 "cmd": [
126 "python", 130 "python",
127 "-u", 131 "-u",
128 "[DEPOT_TOOLS]/gn.py", 132 "[DEPOT_TOOLS]/gn.py",
129 "--root=[SLAVE_BUILD]/src", 133 "--root=[SLAVE_BUILD]/src",
130 "gen", 134 "gen",
131 "//out/Release", 135 "//out/Release",
132 "--args=symbol_level=1 is_debug=false target_os=\"android\" target_cpu=\"a rm\" use_goma=true goma_dir=\"[BUILD]/goma\"" 136 "--args=symbol_level=1 is_debug=false target_os=\"android\" target_cpu=\"a rm\" use_goma=true goma_dir=\"[BUILD]/goma\""
133 ], 137 ],
138 "cwd": "[SLAVE_BUILD]",
134 "name": "gn" 139 "name": "gn"
135 }, 140 },
136 { 141 {
137 "cmd": [ 142 "cmd": [
138 "python", 143 "python",
139 "-u", 144 "-u",
140 "[BUILD]/scripts/slave/compile.py", 145 "[BUILD]/scripts/slave/compile.py",
141 "--target", 146 "--target",
142 "Release", 147 "Release",
143 "--src-dir", 148 "--src-dir",
144 "[SLAVE_BUILD]/src", 149 "[SLAVE_BUILD]/src",
145 "--build-tool", 150 "--build-tool",
146 "ninja", 151 "ninja",
147 "--compiler", 152 "--compiler",
148 "goma", 153 "goma",
149 "--goma-dir", 154 "--goma-dir",
150 "[BUILD]/goma", 155 "[BUILD]/goma",
151 "--", 156 "--",
152 "chrome_shell_apk" 157 "chrome_shell_apk"
153 ], 158 ],
159 "cwd": "[SLAVE_BUILD]",
154 "env": { 160 "env": {
155 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/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 } 164 }
159 ] 165 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698