brians | 343bc11 | 2013-02-10 01:53:46 +0000 | [diff] [blame^] | 1 | diff -rupN before/pylib/gyp/input.py after/pylib/gyp/input.py |
| 2 | --- before/pylib/gyp/input.py 2012-11-20 16:38:09.394784918 -0800 |
| 3 | +++ after/pylib/gyp/input.py 2012-11-20 16:39:10.527105964 -0800 |
| 4 | @@ -2156,17 +2156,6 @@ def ValidateSourcesInTarget(target, targ |
| 5 | basename = os.path.basename(name) # Don't include extension. |
| 6 | basenames.setdefault(basename, []).append(source) |
| 7 | |
| 8 | - error = '' |
| 9 | - for basename, files in basenames.iteritems(): |
| 10 | - if len(files) > 1: |
| 11 | - error += ' %s: %s\n' % (basename, ' '.join(files)) |
| 12 | - |
| 13 | - if error: |
| 14 | - print ('static library %s has several files with the same basename:\n' % |
| 15 | - target + error + 'Some build systems, e.g. MSVC08, ' |
| 16 | - 'cannot handle that.') |
| 17 | - raise KeyError, 'Duplicate basenames in sources section, see list above' |
| 18 | - |
| 19 | |
| 20 | def ValidateRulesInTarget(target, target_dict, extra_sources_for_rules): |
| 21 | """Ensures that the rules sections in target_dict are valid and consistent, |