Index: build/android/pylib/flag_changer.py |
diff --git a/build/android/pylib/flag_changer.py b/build/android/pylib/flag_changer.py |
index 898037f3dcbadb25f2fe2faa4aa127c3476294a8..d20da36b4e688f3391b182f09b6b46c782dd7719 100644 |
--- a/build/android/pylib/flag_changer.py |
+++ b/build/android/pylib/flag_changer.py |
@@ -2,9 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import constants |
import logging |
-import traceback |
class FlagChanger(object): |
@@ -113,7 +111,8 @@ class FlagChanger(object): |
assert not self._adb.FileExistsOnDevice(self._cmdline_file), ( |
'Failed to remove the command line file at %s' % self._cmdline_file) |
- def _TokenizeFlags(self, line): |
+ @staticmethod |
+ def _TokenizeFlags(line): |
"""Changes the string containing the command line into a list of flags. |
Follows similar logic to CommandLine.java::tokenizeQuotedArguments: |