OLD | NEW |
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 | 2 |
| 3 # Copyright (c) 2009 Google Inc. All rights reserved. |
| 4 # Use of this source code is governed by a BSD-style license that can be |
| 5 # found in the LICENSE file. |
3 | 6 |
4 import gyp | 7 import gyp |
5 import gyp.common | 8 import gyp.common |
6 import gyp.SCons as SCons | 9 import gyp.SCons as SCons |
7 import os.path | 10 import os.path |
8 import pprint | 11 import pprint |
9 import re | 12 import re |
10 | 13 |
11 | 14 |
12 # TODO: remove when we delete the last WriteList() call in this module | 15 # TODO: remove when we delete the last WriteList() call in this module |
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 bf, target = gyp.common.ParseQualifiedTarget(t)[:2] | 992 bf, target = gyp.common.ParseQualifiedTarget(t)[:2] |
990 target_filename = TargetFilename(target, bf, options.suffix) | 993 target_filename = TargetFilename(target, bf, options.suffix) |
991 tpath = gyp.common.RelativePath(target_filename, output_dir) | 994 tpath = gyp.common.RelativePath(target_filename, output_dir) |
992 sconscript_files[target] = tpath | 995 sconscript_files[target] = tpath |
993 | 996 |
994 output_filename = output_path(output_filename) | 997 output_filename = output_path(output_filename) |
995 if sconscript_files: | 998 if sconscript_files: |
996 GenerateSConscriptWrapper(build_file, data[build_file], basename, | 999 GenerateSConscriptWrapper(build_file, data[build_file], basename, |
997 output_filename, sconscript_files, | 1000 output_filename, sconscript_files, |
998 default_configuration) | 1001 default_configuration) |
OLD | NEW |