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

Unified Diff: testing/iossim/iossim.mm

Issue 2066983004: Work around iossim compile issues on latest Xcode beta. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix grammar Created 4 years, 6 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 | « no previous file | third_party/class-dump/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: testing/iossim/iossim.mm
diff --git a/testing/iossim/iossim.mm b/testing/iossim/iossim.mm
index b0d691632c806ad34a23ca901506e0855a48db55..9f67db899b1a5617246cbe0c6fa6ee285170b6f1 100644
--- a/testing/iossim/iossim.mm
+++ b/testing/iossim/iossim.mm
@@ -21,6 +21,26 @@
// However, there are some forward declarations required to get things to
// compile.
+// TODO(crbug.com/619982): The latest Xcode beta does not include the proper
+// headers to use or compile iossim. Define them here so iossim can compile for
+// now. Unwind this #ifdef if future betas work, or replace and remove iossim.
+#if defined(__MAC_10_12) && __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_10_12
rohitrao (ping after 24h) 2016/06/16 14:50:17 I would split this block into two, putting one at
justincohen 2016/06/16 15:07:07 Done.
+@class NSPasteboardItem;
rohitrao (ping after 24h) 2016/06/16 14:50:17 You should at least be able to get NSPasteboardIte
justincohen 2016/06/16 15:07:07 Done.
+@class SimDevice;
+@class SimDeviceNotificationManager;
+@class SimDevicePasteboardConnection;
+@class SimMachPortServer;
+@class SimPasteboardItem;
+@class SimRuntime;
+@interface DTiPhoneSimulatorSystemRoot : NSObject<NSCopying> {
+ SimRuntime* _runtime;
+}
++ (id)rootWithSDKVersion:(id)arg1;
+@property(readonly) SimRuntime* runtime;
+@property(readonly, copy) NSString* sdkVersion;
+@end
+#endif
+
@class DVTStackBacktrace;
#import "DVTFoundation.h"
« no previous file with comments | « no previous file | third_party/class-dump/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698