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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « test/ios/swift/MyObjcClass.h ('k') | test/ios/swift/MyObjcFrameworkClass.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #import "MyObjcClass.h"
2
3 @import swift_framework;
4
5 @interface MyObjcClass ()
6 @property(nonatomic, strong) MySwiftFrameworkClass* f;
7 @property(nonatomic, strong) MyObjcFrameworkClass* o;
8 @end
9
10 @implementation MyObjcClass
11
12 - (instancetype)init {
13 self = [super init];
14 if (self) {
15 self.f = [[MySwiftFrameworkClass alloc] init];
16 self.o = [[MyObjcFrameworkClass alloc] init];
17 }
18 return self;
19 }
20
21 @end
OLDNEW
« 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