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

Side by Side Diff: recipe_modules/gclient/example.expected/new_flag.json

Issue 1999603002: example flag CL (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 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
« no previous file with comments | « recipe_modules/gclient/example.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]" 9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]"
10 ], 10 ],
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 "@@@STEP_LOG_LINE@json.output@ }@@@", 126 "@@@STEP_LOG_LINE@json.output@ }@@@",
127 "@@@STEP_LOG_LINE@json.output@}@@@", 127 "@@@STEP_LOG_LINE@json.output@}@@@",
128 "@@@STEP_LOG_END@json.output@@@", 128 "@@@STEP_LOG_END@json.output@@@",
129 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" 129 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@"
130 ] 130 ]
131 }, 131 },
132 { 132 {
133 "cmd": [ 133 "cmd": [
134 "python", 134 "python",
135 "-u", 135 "-u",
136 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 136 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n os.remove(path_to_file)\n",
137 "[SLAVE_BUILD]" 137 "[SLAVE_BUILD]"
138 ], 138 ],
139 "name": "cleanup index.lock", 139 "name": "cleanup index.lock",
140 "~followup_annotations": [ 140 "~followup_annotations": [
141 "@@@STEP_LOG_LINE@python.inline@@@@", 141 "@@@STEP_LOG_LINE@python.inline@@@@",
142 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 142 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
143 "@@@STEP_LOG_LINE@python.inline@@@@", 143 "@@@STEP_LOG_LINE@python.inline@@@@",
144 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 144 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
145 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 145 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 146 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
147 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 147 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
148 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 148 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
149 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 149 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
150 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
151 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 150 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
152 "@@@STEP_LOG_END@python.inline@@@" 151 "@@@STEP_LOG_END@python.inline@@@"
153 ] 152 ]
154 }, 153 },
155 { 154 {
156 "cmd": [ 155 "cmd": [
157 "python", 156 "python",
158 "-u", 157 "-u",
159 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 158 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
160 "runhooks" 159 "runhooks"
161 ], 160 ],
162 "cwd": "[SLAVE_BUILD]/src", 161 "cwd": "[SLAVE_BUILD]/src",
163 "env": { 162 "env": {
164 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 163 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
165 }, 164 },
166 "name": "gclient runhooks" 165 "name": "gclient runhooks"
167 }, 166 },
168 { 167 {
169 "name": "$result", 168 "name": "$result",
170 "recipe_result": null, 169 "recipe_result": null,
171 "status_code": 0 170 "status_code": 0
172 } 171 }
173 ] 172 ]
OLDNEW
« no previous file with comments | « recipe_modules/gclient/example.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698