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

Unified Diff: webrtc/build/ios/export_headers

Issue 1845133002: Minor ObjC header updates. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 9 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 | « webrtc/base/objc/RTCLogging.mm ('k') | webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/build/ios/export_headers
diff --git a/webrtc/build/ios/export_headers b/webrtc/build/ios/export_headers
index 6808e67e14772429d27738d3a11f6a9176d64e37..84e738c0504a38fc390a04d303b1138ab0b82f8e 100755
--- a/webrtc/build/ios/export_headers
+++ b/webrtc/build/ios/export_headers
@@ -18,16 +18,20 @@ import shutil
import sys
LEGACY_HEADER_DIRS = ['talk/app/webrtc/objc/public', 'webrtc/base/objc/']
-HEADER_DIRS = ['webrtc/api/objc/', 'webrtc/base/objc/']
+HEADER_DIRS = ['webrtc/api/objc/', 'webrtc/base/objc/',
+ 'webrtc/modules/audio_device/ios/objc']
# Individual header files that should also be exported.
LEGACY_HEADER_INCLUDES = []
HEADER_INCLUDES = []
# Individual header files that should not be exported.
LEGACY_HEADER_EXCLUDES = ['talk/app/webrtc/objc/public/RTCNSGLVideoView.h']
-HEADER_EXCLUDES = ['webrtc/api/objc/avfoundationvideocapturer.h',
- 'webrtc/api/objc/RTCNSGLVideoView.h',
- 'webrtc/base/objc/NSString+StdString.h',
- 'webrtc/base/objc/RTCUIApplication.h',]
+HEADER_EXCLUDES = [
+ 'webrtc/api/objc/avfoundationvideocapturer.h',
+ 'webrtc/api/objc/RTCNSGLVideoView.h',
+ 'webrtc/base/objc/NSString+StdString.h',
+ 'webrtc/base/objc/RTCUIApplication.h',
+ 'webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h',
+]
def ExportHeaders(include_base_dir, use_legacy_headers):
"""Exports iOS header files.
@@ -41,6 +45,9 @@ def ExportHeaders(include_base_dir, use_legacy_headers):
include_dir_name = 'include'
include_path = os.path.join(include_base_dir, include_dir_name)
+ # Remove existing directory first in case files change.
+ if (os.path.exists(include_path)):
+ shutil.rmtree(include_path)
script_path = sys.path[0]
webrtc_base_path = os.path.join(script_path, '../../..')
« no previous file with comments | « webrtc/base/objc/RTCLogging.mm ('k') | webrtc/examples/objc/AppRTCDemo/ios/ARDAppDelegate.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698