Remove use of PCH files in webrtc/sdk/objc

A decision has been made to not use prefix header files.

BUG=None

Review-Url: https://codereview.webrtc.org/2590823002
Cr-Commit-Position: refs/heads/master@{#16056}
This commit is contained in:
magjed 2017-01-13 07:10:16 -08:00 committed by Commit bot
parent a9dd4a1b11
commit bf0845201a
5 changed files with 6 additions and 38 deletions

View File

@ -221,8 +221,6 @@ config("common_config") {
config("common_objc") {
libs = [ "Foundation.framework" ]
precompiled_header = "sdk/objc/WebRTC-Prefix.pch"
precompiled_source = "sdk/objc/WebRTC-Prefix.pch"
}
if (!build_with_chromium) {

View File

@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#if !TARGET_OS_IPHONE
#import "WebRTC/RTCNSGLVideoView.h"

View File

@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#import "RTCOpenGLDefines.h"
@class RTCVideoFrame;

View File

@ -8,6 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#import <Foundation/Foundation.h>
#if !TARGET_OS_IPHONE
#import <AppKit/NSOpenGLView.h>

View File

@ -1,36 +0,0 @@
/*
* Copyright 2016 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.
*/
#ifdef __OBJC__
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
#if !defined(__has_feature) || !__has_feature(nullability)
#error "This file requires nullability support."
#endif
#import <Foundation/Foundation.h>
// The following nonnull macros were introduced in OSX SDK 10.10.3. However,
// the bots appear to be running something older. We define them here if they
// aren't already defined in NSObjCRuntime.h, which is included by
// Foundation/Foundation.h.
#if !defined(NS_ASSUME_NONNULL_BEGIN)
#define NS_ASSUME_NONNULL_BEGIN
#endif
#if !defined(NS_ASSUME_NONNULL_END)
#define NS_ASSUME_NONNULL_END
#endif
#endif // __OBJC__