|
Support for Swift language and Clang modules for ninja generator.
The main purpose of this patch is to add support for the Swift language.
It also adds support for Clang modules, since Swift language depends
directly on them.
There are also some fixes to support frameworks building for iOS.
However frameworks support for both Mac and iOS is not complete yet.
There is a feature called 'frameworks embedding'(that is copying some
parts of the framework into the app bundle) which is not implemented yet
for neither xcode generator nor ninja. It cannot be implemented as a
plain copy, since it implies codesigning framework for device builds.
I'm going to make another patch for this feature.
BUG=https://code.google.com/p/gyp/issues/detail?id=459
R=dpranke@chromium.org
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1365 lines, -38 lines) |
Patch |
 |
M |
pylib/gyp/generator/ninja.py
|
View
|
1
2
3
4
|
14 chunks |
+369 lines, -2 lines |
0 comments
|
Download
|
 |
M |
pylib/gyp/mac_tool.py
|
View
|
1
2
3
4
|
3 chunks |
+60 lines, -1 line |
0 comments
|
Download
|
 |
M |
pylib/gyp/xcode_emulation.py
|
View
|
1
2
3
4
5
|
9 chunks |
+219 lines, -5 lines |
0 comments
|
Download
|
 |
A |
test/ios/gyptest-swift.py
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/gyptest-swift-wmo.py
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/AppDelegate.h
|
View
|
1
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/AppDelegate.m
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/Info.plist
|
View
|
1
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/MySecondSwiftClass.swift
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/MySwiftClass.swift
|
View
|
1
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/main.m
|
View
|
1
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift-wmo/test.gyp
|
View
|
1
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/AppDelegate.h
|
View
|
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/AppDelegate.m
|
View
|
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/Info.plist
|
View
|
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MyObjcClass.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MyObjcClass.m
|
View
|
|
1 chunk |
+21 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MyObjcFrameworkClass.h
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MyObjcFrameworkClass.m
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MyObjcTest.m
|
View
|
|
1 chunk |
+26 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MySecondSwiftClass.swift
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MySwiftClass.swift
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MySwiftFrameworkClass.swift
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/MySwiftTest.swift
|
View
|
1
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
test/ios/swift/TestInfo.plist
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/main.m
|
View
|
|
1 chunk |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/swift_framework.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/swift_ios-Bridging-Header.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/ios/swift/test.gyp
|
View
|
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
test/mac/gyptest-swift.py
|
View
|
1
2
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/AppDelegate.h
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/AppDelegate.m
|
View
|
|
1 chunk |
+27 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
test/mac/swift/Info.plist
|
View
|
|
2 chunks |
+4 lines, -6 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MyObjcClass.h
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MyObjcClass.m
|
View
|
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MyObjcTest.m
|
View
|
|
1 chunk |
+16 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MySecondSwiftClass.swift
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MySwiftClass.swift
|
View
|
|
1 chunk |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/MySwiftTest.swift
|
View
|
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
test/mac/swift/TestInfo.plist
|
View
|
|
1 chunk |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/main.m
|
View
|
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/swift_mac-Bridging-Header.h
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
test/mac/swift/test.gyp
|
View
|
|
1 chunk |
+69 lines, -0 lines |
0 comments
|
Download
|
Total messages: 7 (2 generated)
|