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

Side by Side Diff: scripts/slave/recipes/webrtc/standalone.expected/tryserver_webrtc_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 "tryserver.webrtc", 8 "tryserver.webrtc",
9 "--builder", 9 "--builder",
10 "android_gn", 10 "android_gn",
11 "--slave", 11 "--slave",
12 "slavename", 12 "slavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': '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' ]", 14 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': '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 "--issue", 19 "--issue",
20 "666666", 20 "666666",
21 "--patchset", 21 "--patchset",
22 "1", 22 "1",
23 "--rietveld_server", 23 "--rietveld_server",
24 "https://fake.rietveld.url", 24 "https://fake.rietveld.url",
25 "--output_json", 25 "--output_json",
26 "/path/to/tmp/json", 26 "/path/to/tmp/json",
27 "--revision", 27 "--revision",
28 "src@12345" 28 "src@12345"
29 ], 29 ],
30 "cwd": "[SLAVE_BUILD]",
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@ \"patch_failure\": false, @@@", 36 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 37 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
37 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
38 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@", 39 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
39 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@", 40 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@",
40 "@@@STEP_LOG_LINE@json.output@ }, @@@", 41 "@@@STEP_LOG_LINE@json.output@ }, @@@",
41 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", 42 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
42 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 43 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
43 "@@@STEP_LOG_LINE@json.output@}@@@", 44 "@@@STEP_LOG_LINE@json.output@}@@@",
44 "@@@STEP_LOG_END@json.output@@@", 45 "@@@STEP_LOG_END@json.output@@@",
45 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@", 46 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
46 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 47 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
47 ] 48 ]
48 }, 49 },
49 { 50 {
50 "cmd": [ 51 "cmd": [
51 "python", 52 "python",
52 "-u", 53 "-u",
53 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py", 54 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py",
54 "[SLAVE_BUILD]/src/out" 55 "[SLAVE_BUILD]/src/out"
55 ], 56 ],
57 "cwd": "[SLAVE_BUILD]",
56 "name": "clean test output files" 58 "name": "clean test output files"
57 }, 59 },
58 { 60 {
59 "cmd": [ 61 "cmd": [
60 "python", 62 "python",
61 "-u", 63 "-u",
62 "\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", 64 "\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",
63 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", 65 "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps",
64 "[SLAVE_BUILD]/src/out/Debug/test_logs", 66 "[SLAVE_BUILD]/src/out/Debug/test_logs",
65 "[SLAVE_BUILD]/src/out/build_product.zip", 67 "[SLAVE_BUILD]/src/out/build_product.zip",
66 "[SLAVE_BUILD]/src" 68 "[SLAVE_BUILD]/src"
67 ], 69 ],
70 "cwd": "[SLAVE_BUILD]",
68 "name": "clean local files", 71 "name": "clean local files",
69 "~followup_annotations": [ 72 "~followup_annotations": [
70 "@@@STEP_LOG_LINE@python.inline@@@@", 73 "@@@STEP_LOG_LINE@python.inline@@@@",
71 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 74 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
72 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 75 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
73 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 76 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
74 "@@@STEP_LOG_LINE@python.inline@try:@@@", 77 "@@@STEP_LOG_LINE@python.inline@try:@@@",
75 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 78 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
76 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 79 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
77 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 80 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
78 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 81 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
79 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 82 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
80 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 83 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
81 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 84 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
82 "@@@STEP_LOG_END@python.inline@@@" 85 "@@@STEP_LOG_END@python.inline@@@"
83 ] 86 ]
84 }, 87 },
85 { 88 {
86 "cmd": [ 89 "cmd": [
87 "python", 90 "python",
88 "-u", 91 "-u",
89 "[DEPOT_TOOLS]/gclient.py", 92 "[DEPOT_TOOLS]/gclient.py",
90 "runhooks" 93 "runhooks"
91 ], 94 ],
95 "cwd": "[SLAVE_BUILD]",
92 "env": { 96 "env": {
93 "GYP_CHROMIUM_NO_ACTION": "1", 97 "GYP_CHROMIUM_NO_ACTION": "1",
94 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 98 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
95 }, 99 },
96 "name": "gclient runhooks" 100 "name": "gclient runhooks"
97 }, 101 },
98 { 102 {
99 "cmd": [ 103 "cmd": [
100 "python", 104 "python",
101 "-u", 105 "-u",
102 "[DEPOT_TOOLS]/gn.py", 106 "[DEPOT_TOOLS]/gn.py",
103 "--root=[SLAVE_BUILD]/src", 107 "--root=[SLAVE_BUILD]/src",
104 "gen", 108 "gen",
105 "//out/Debug", 109 "//out/Debug",
106 "--args=is_debug=true target_os=\"android\" target_cpu=\"arm\" use_goma=tr ue goma_dir=\"[BUILD]/goma\" build_with_chromium=false" 110 "--args=is_debug=true target_os=\"android\" target_cpu=\"arm\" use_goma=tr ue goma_dir=\"[BUILD]/goma\" build_with_chromium=false"
107 ], 111 ],
112 "cwd": "[SLAVE_BUILD]",
108 "name": "gn" 113 "name": "gn"
109 }, 114 },
110 { 115 {
111 "cmd": [ 116 "cmd": [
112 "python", 117 "python",
113 "-u", 118 "-u",
114 "[BUILD]/scripts/slave/compile.py", 119 "[BUILD]/scripts/slave/compile.py",
115 "--target", 120 "--target",
116 "Debug", 121 "Debug",
117 "--src-dir", 122 "--src-dir",
118 "[SLAVE_BUILD]/src", 123 "[SLAVE_BUILD]/src",
119 "--build-tool", 124 "--build-tool",
120 "ninja", 125 "ninja",
121 "--compiler", 126 "--compiler",
122 "goma", 127 "goma",
123 "--goma-dir", 128 "--goma-dir",
124 "[BUILD]/goma", 129 "[BUILD]/goma",
125 "--", 130 "--",
126 "all" 131 "all"
127 ], 132 ],
133 "cwd": "[SLAVE_BUILD]",
128 "env": { 134 "env": {
129 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 135 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
130 }, 136 },
131 "name": "compile" 137 "name": "compile"
132 } 138 }
133 ] 139 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698