From 39f499b1a41bcf4a9b3cc5ef743090d0f437d88a Mon Sep 17 00:00:00 2001 From: Charu Jain Date: Mon, 25 Sep 2017 16:01:29 +0000 Subject: [PATCH] Revert "Remove precompiled header for AppRTCMobile." MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3ed32accc2efab456ec4eedf9df4cef1df6b357d. Reason for revert: Compilation failure. Original change's description: > Remove precompiled header for AppRTCMobile. > > Bug: None > Change-Id: Ia46fc3a237a882acef5218ef22c283fb9c379e44 > Reviewed-on: https://webrtc-review.googlesource.com/3340 > Reviewed-by: Anders Carlsson > Commit-Queue: Kári Helgason > Cr-Commit-Position: refs/heads/master@{#19948} TBR=andersc@webrtc.org,kthelgason@webrtc.org Change-Id: Id6fc5d4978315be13da7ef03438c0804fa19c4a1 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: None Reviewed-on: https://webrtc-review.googlesource.com/3500 Reviewed-by: Charu Jain Commit-Queue: Charu Jain Cr-Commit-Position: refs/heads/master@{#19952} --- examples/BUILD.gn | 1 + .../AppRTCMobile/ios/AppRTCMobile-Prefix.pch | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch diff --git a/examples/BUILD.gn b/examples/BUILD.gn index c976512b09..666f846721 100644 --- a/examples/BUILD.gn +++ b/examples/BUILD.gn @@ -276,6 +276,7 @@ if (is_ios || (is_mac && target_cpu != "x86")) { "objc/AppRTCMobile/ios/ARDVideoCallView.m", "objc/AppRTCMobile/ios/ARDVideoCallViewController.h", "objc/AppRTCMobile/ios/ARDVideoCallViewController.m", + "objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch", "objc/AppRTCMobile/ios/UIImage+ARDUtilities.h", "objc/AppRTCMobile/ios/UIImage+ARDUtilities.m", ] diff --git a/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch b/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch new file mode 100644 index 0000000000..ca0db90b36 --- /dev/null +++ b/examples/objc/AppRTCMobile/ios/AppRTCMobile-Prefix.pch @@ -0,0 +1,23 @@ +/* + * Copyright 2013 The WebRTC Project Authors. All rights reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +// +// Prefix header for all source files of the 'AppRTCMobile' target in the +// 'AppRTCMobile' project +// + +#import + +#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_6_0 +#warning "This project uses features only available in iOS SDK 6.0 and later." +#endif + +#import +#import