part 2: latest gyp pointed at official git repo.
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -13,3 +13,6 @@
|
||||
[submodule "third_party/xbyak"]
|
||||
path = third_party/xbyak
|
||||
url = https://github.com/herumi/xbyak.git
|
||||
[submodule "third_party/gyp"]
|
||||
path = third_party/gyp
|
||||
url = https://chromium.googlesource.com/external/gyp
|
||||
|
||||
1
third_party/gyp
vendored
Submodule
1
third_party/gyp
vendored
Submodule
Submodule third_party/gyp added at 867a23f4b5
26
third_party/gyp.patch
vendored
Normal file
26
third_party/gyp.patch
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
diff --git a/pylib/gyp/generator/msvs.py b/pylib/gyp/generator/msvs.py
|
||||
index 05783d6..539614c 100644
|
||||
--- a/pylib/gyp/generator/msvs.py
|
||||
+++ b/pylib/gyp/generator/msvs.py
|
||||
@@ -1963,13 +1963,17 @@ def _AppendFiltersForMSBuild(parent_filter_name, sources,
|
||||
if isinstance(source, MSVSProject.Filter):
|
||||
# We have a sub-filter. Create the name of that sub-filter.
|
||||
if not parent_filter_name:
|
||||
- filter_name = source.name
|
||||
+ if source.name == '..':
|
||||
+ filter_name = ''
|
||||
+ else:
|
||||
+ filter_name = source.name
|
||||
else:
|
||||
filter_name = '%s\\%s' % (parent_filter_name, source.name)
|
||||
# Add the filter to the group.
|
||||
- filter_group.append(
|
||||
- ['Filter', {'Include': filter_name},
|
||||
- ['UniqueIdentifier', MSVSNew.MakeGuid(source.name)]])
|
||||
+ if filter_name:
|
||||
+ filter_group.append(
|
||||
+ ['Filter', {'Include': filter_name},
|
||||
+ ['UniqueIdentifier', MSVSNew.MakeGuid(source.name)]])
|
||||
# Recurse and add its dependents.
|
||||
_AppendFiltersForMSBuild(filter_name, source.contents,
|
||||
extension_to_rule_name,
|
||||
Reference in New Issue
Block a user