Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1696)

Unified Diff: test/ios/swift/MyObjcClass.m

Issue 1160773005: Support for Swift language and Clang modules for ninja generator. Base URL: https://chromium.googlesource.com/external/gyp@master
Patch Set: Fixed rare build failure when compiling with modules for multiple archs Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/ios/swift/MyObjcClass.h ('k') | test/ios/swift/MyObjcFrameworkClass.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/ios/swift/MyObjcClass.m
diff --git a/test/ios/swift/MyObjcClass.m b/test/ios/swift/MyObjcClass.m
new file mode 100644
index 0000000000000000000000000000000000000000..ca4fbe98e53d59e55f98f6133fc4fbbe5b68bf9e
--- /dev/null
+++ b/test/ios/swift/MyObjcClass.m
@@ -0,0 +1,21 @@
+#import "MyObjcClass.h"
+
+@import swift_framework;
+
+@interface MyObjcClass ()
+@property(nonatomic, strong) MySwiftFrameworkClass* f;
+@property(nonatomic, strong) MyObjcFrameworkClass* o;
+@end
+
+@implementation MyObjcClass
+
+- (instancetype)init {
+ self = [super init];
+ if (self) {
+ self.f = [[MySwiftFrameworkClass alloc] init];
+ self.o = [[MyObjcFrameworkClass alloc] init];
+ }
+ return self;
+}
+
+@end
« no previous file with comments | « test/ios/swift/MyObjcClass.h ('k') | test/ios/swift/MyObjcFrameworkClass.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698