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/webrtc/standalone.expected/client_webrtc_android64_builder.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 "client.webrtc", 8 "client.webrtc",
9 "--builder", 9 "--builder",
10 "Android64 Builder", 10 "Android64 Builder",
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 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@12345" 22 "src@12345"
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_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@", 33 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee 3e86ddfd4ebd0fe58cb9\", @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@", 34 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master @{#170242}\"@@@",
34 "@@@STEP_LOG_LINE@json.output@ }, @@@", 35 "@@@STEP_LOG_LINE@json.output@ }, @@@",
35 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", 36 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@",
36 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
37 "@@@STEP_LOG_LINE@json.output@}@@@", 38 "@@@STEP_LOG_LINE@json.output@}@@@",
38 "@@@STEP_LOG_END@json.output@@@", 39 "@@@STEP_LOG_END@json.output@@@",
39 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@", 40 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5 8cb9\"@@@",
40 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 41 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
41 ] 42 ]
42 }, 43 },
43 { 44 {
44 "cmd": [ 45 "cmd": [
45 "python", 46 "python",
46 "-u", 47 "-u",
47 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py", 48 "RECIPE_MODULE[webrtc]/resources/cleanup_files.py",
48 "[SLAVE_BUILD]/src/out" 49 "[SLAVE_BUILD]/src/out"
49 ], 50 ],
51 "cwd": "[SLAVE_BUILD]",
50 "name": "clean test output files" 52 "name": "clean test output files"
51 }, 53 },
52 { 54 {
53 "cmd": [ 55 "cmd": [
54 "python", 56 "python",
55 "-u", 57 "-u",
56 "\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", 58 "\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",
57 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 59 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
58 "[SLAVE_BUILD]/src/out/Release/test_logs", 60 "[SLAVE_BUILD]/src/out/Release/test_logs",
59 "[SLAVE_BUILD]/src/out/build_product.zip", 61 "[SLAVE_BUILD]/src/out/build_product.zip",
60 "[SLAVE_BUILD]/src" 62 "[SLAVE_BUILD]/src"
61 ], 63 ],
64 "cwd": "[SLAVE_BUILD]",
62 "name": "clean local files", 65 "name": "clean local files",
63 "~followup_annotations": [ 66 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@python.inline@@@@", 67 "@@@STEP_LOG_LINE@python.inline@@@@",
65 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 68 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
66 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 69 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
67 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 70 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
68 "@@@STEP_LOG_LINE@python.inline@try:@@@", 71 "@@@STEP_LOG_LINE@python.inline@try:@@@",
69 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 72 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
70 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 73 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
71 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 74 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
72 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 75 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
73 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 76 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
74 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 77 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
75 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 78 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
76 "@@@STEP_LOG_END@python.inline@@@" 79 "@@@STEP_LOG_END@python.inline@@@"
77 ] 80 ]
78 }, 81 },
79 { 82 {
80 "cmd": [ 83 "cmd": [
81 "python", 84 "python",
82 "-u", 85 "-u",
83 "[DEPOT_TOOLS]/gclient.py", 86 "[DEPOT_TOOLS]/gclient.py",
84 "runhooks" 87 "runhooks"
85 ], 88 ],
89 "cwd": "[SLAVE_BUILD]",
86 "env": { 90 "env": {
87 "GYP_CROSSCOMPILE": "1", 91 "GYP_CROSSCOMPILE": "1",
88 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm64 use_goma=1", 92 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm64 use_goma=1",
89 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 93 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
90 }, 94 },
91 "name": "gclient runhooks" 95 "name": "gclient runhooks"
92 }, 96 },
93 { 97 {
94 "cmd": [ 98 "cmd": [
95 "python", 99 "python",
96 "-u", 100 "-u",
97 "[BUILD]/scripts/slave/compile.py", 101 "[BUILD]/scripts/slave/compile.py",
98 "--target", 102 "--target",
99 "Release", 103 "Release",
100 "--src-dir", 104 "--src-dir",
101 "[SLAVE_BUILD]/src", 105 "[SLAVE_BUILD]/src",
102 "--build-tool", 106 "--build-tool",
103 "ninja", 107 "ninja",
104 "--compiler", 108 "--compiler",
105 "goma", 109 "goma",
106 "--goma-dir", 110 "--goma-dir",
107 "[BUILD]/goma", 111 "[BUILD]/goma",
108 "--" 112 "--"
109 ], 113 ],
114 "cwd": "[SLAVE_BUILD]",
110 "env": { 115 "env": {
111 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 116 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
112 }, 117 },
113 "name": "compile" 118 "name": "compile"
114 }, 119 },
115 { 120 {
116 "allow_subannotations": true, 121 "allow_subannotations": true,
117 "cmd": [ 122 "cmd": [
118 "python", 123 "python",
119 "-u", 124 "-u",
120 "[BUILD]/scripts/slave/zip_build.py", 125 "[BUILD]/scripts/slave/zip_build.py",
121 "--target", 126 "--target",
122 "Release", 127 "Release",
123 "--build-url", 128 "--build-url",
124 "gs://chromium-webrtc/android_arm64_rel", 129 "gs://chromium-webrtc/android_arm64_rel",
125 "--build_revision", 130 "--build_revision",
126 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9", 131 "f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9",
127 "--factory-properties", 132 "--factory-properties",
128 "{\"BUILD_CONFIG\": \"Release\", \"buildername\": \"Android64 Builder\", \ "buildnumber\": 1337, \"mastername\": \"client.webrtc\", \"recipe\": \"webrtc/st andalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}", 133 "{\"BUILD_CONFIG\": \"Release\", \"buildername\": \"Android64 Builder\", \ "buildnumber\": 1337, \"mastername\": \"client.webrtc\", \"recipe\": \"webrtc/st andalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}",
129 "--build-properties", 134 "--build-properties",
130 "{\"BUILD_CONFIG\": \"Release\", \"buildername\": \"Android64 Builder\", \ "buildnumber\": 1337, \"mastername\": \"client.webrtc\", \"recipe\": \"webrtc/st andalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}" 135 "{\"BUILD_CONFIG\": \"Release\", \"buildername\": \"Android64 Builder\", \ "buildnumber\": 1337, \"mastername\": \"client.webrtc\", \"recipe\": \"webrtc/st andalone\", \"revision\": \"12345\", \"slavename\": \"slavename\"}"
131 ], 136 ],
137 "cwd": "[SLAVE_BUILD]",
132 "name": "package build" 138 "name": "package build"
133 } 139 }
134 ] 140 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698