mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Backed out changeset 0f6396641036 (bug 1289638) for breaking windows spidermonkey tests/builds
This commit is contained in:
parent
f850d3a1a1
commit
480c0269ee
@ -29,18 +29,23 @@ import mozpack.path as mozpath
|
||||
VS_PATTERNS = [
|
||||
{
|
||||
'pattern': 'DIA SDK/bin/**',
|
||||
# Various tools don't like spaces in filenames. So remove it.
|
||||
'rewrite': [('DIA SDK/', 'DIASDK/')],
|
||||
'ignore': (
|
||||
'DIA SDK/bin/arm/**',
|
||||
),
|
||||
},
|
||||
{
|
||||
'pattern': 'DIA SDK/idl/**',
|
||||
'rewrite': [('DIA SDK/', 'DIASDK/')],
|
||||
},
|
||||
{
|
||||
'pattern': 'DIA SDK/include/**',
|
||||
'rewrite': [('DIA SDK/', 'DIASDK/')],
|
||||
},
|
||||
{
|
||||
'pattern': 'DIA SDK/lib/**',
|
||||
'rewrite': [('DIA SDK/', 'DIASDK/')],
|
||||
'ignore': (
|
||||
'DIA SDK/lib/arm/**',
|
||||
),
|
||||
@ -155,6 +160,9 @@ def resolve_files():
|
||||
for p, f in finder.find(entry['pattern']):
|
||||
assert p.startswith(('VC/', 'DIA SDK/'))
|
||||
|
||||
for source, dest in entry.get('rewrite', []):
|
||||
p = p.replace(source, dest)
|
||||
|
||||
yield p.encode('utf-8'), f
|
||||
|
||||
for entry in SDK_PATTERNS:
|
||||
|
Loading…
Reference in New Issue
Block a user