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

Side by Side Diff: build/android/buildbot/bb_host_steps.py

Issue 204883002: get extra_src value from factory_properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 9 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 | « no previous file | 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 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2013 The Chromium Authors. All rights reserved. 2 # Copyright 2013 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 import os 6 import os
7 import sys 7 import sys
8 8
9 import bb_utils 9 import bb_utils
10 import bb_annotations 10 import bb_annotations
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 return parser 125 return parser
126 126
127 127
128 def main(argv): 128 def main(argv):
129 parser = GetHostStepsOptParser() 129 parser = GetHostStepsOptParser()
130 options, args = parser.parse_args(argv[1:]) 130 options, args = parser.parse_args(argv[1:])
131 if args: 131 if args:
132 return sys.exit('Unused args %s' % args) 132 return sys.exit('Unused args %s' % args)
133 133
134 setattr(options, 'target', options.factory_properties.get('target', 'Debug')) 134 setattr(options, 'target', options.factory_properties.get('target', 'Debug'))
135 setattr(options, 'extra_src',
136 options.factory_properties.get('extra_src', ''))
135 137
136 if options.steps: 138 if options.steps:
137 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options) 139 bb_utils.RunSteps(options.steps.split(','), GetHostStepCmds(), options)
138 140
139 141
140 if __name__ == '__main__': 142 if __name__ == '__main__':
141 sys.exit(main(sys.argv)) 143 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698