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

Side by Side Diff: build/android/pylib/flag_changer.py

Issue 10693110: [android] Split top-level scripts and libraries from build/android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Copyright on __init__.py, removed #! on some pylib/ files. Created 8 years, 5 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
« no previous file with comments | « build/android/pylib/debug_info.py ('k') | build/android/pylib/perf_tests_helper.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import traceback 5 import traceback
6 import warnings 6 import warnings
7 7
8 8
9 # Location where chrome reads command line flags from 9 # Location where chrome reads command line flags from
10 CHROME_COMMAND_FILE = '/data/local/tmp/chrome-command-line' 10 CHROME_COMMAND_FILE = '/data/local/tmp/chrome-command-line'
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 # Tack on the last flag. 135 # Tack on the last flag.
136 if not current_flag: 136 if not current_flag:
137 if within_quotations: 137 if within_quotations:
138 warnings.warn("Unterminated quoted string: " + current_flag) 138 warnings.warn("Unterminated quoted string: " + current_flag)
139 else: 139 else:
140 tokenized_flags.append(current_flag) 140 tokenized_flags.append(current_flag)
141 141
142 # Return everything but the program name. 142 # Return everything but the program name.
143 return tokenized_flags[1:] 143 return tokenized_flags[1:]
OLDNEW
« no previous file with comments | « build/android/pylib/debug_info.py ('k') | build/android/pylib/perf_tests_helper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698