| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # | 2 # |
| 3 # Copyright 2014 The Chromium Authors. All rights reserved. | 3 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be | 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. | 5 # found in the LICENSE file. |
| 6 | 6 |
| 7 import fnmatch | |
| 8 import optparse | 7 import optparse |
| 9 import os | 8 import os |
| 10 import sys | 9 import sys |
| 11 | 10 |
| 12 REPOSITORY_ROOT = os.path.abspath(os.path.join( | 11 REPOSITORY_ROOT = os.path.abspath(os.path.join( |
| 13 os.path.dirname(__file__), '..', '..', '..')) | 12 os.path.dirname(__file__), '..', '..', '..')) |
| 14 | 13 |
| 15 sys.path.append(os.path.join(REPOSITORY_ROOT, 'build/android/gyp/util')) | 14 sys.path.append(os.path.join(REPOSITORY_ROOT, 'build/android/gyp/util')) |
| 16 import build_utils | 15 import build_utils |
| 17 | 16 |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 input_paths.extend(os.path.join(root, f) for f in filenames) | 53 input_paths.extend(os.path.join(root, f) for f in filenames) |
| 55 build_utils.WriteDepfile(options.depfile, | 54 build_utils.WriteDepfile(options.depfile, |
| 56 input_paths + build_utils.GetPythonDependencies()) | 55 input_paths + build_utils.GetPythonDependencies()) |
| 57 | 56 |
| 58 if options.stamp: | 57 if options.stamp: |
| 59 build_utils.Touch(options.stamp) | 58 build_utils.Touch(options.stamp) |
| 60 | 59 |
| 61 if __name__ == '__main__': | 60 if __name__ == '__main__': |
| 62 sys.exit(main()) | 61 sys.exit(main()) |
| 63 | 62 |
| OLD | NEW |