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

Unified Diff: webrtc/build/ios/export_headers.py

Issue 1875003004: Fix WebRTC API framework build. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update scripts Created 4 years, 8 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
Index: webrtc/build/ios/export_headers.py
diff --git a/webrtc/build/ios/export_headers b/webrtc/build/ios/export_headers.py
similarity index 97%
rename from webrtc/build/ios/export_headers
rename to webrtc/build/ios/export_headers.py
index 84e738c0504a38fc390a04d303b1138ab0b82f8e..4ed18125cdc137f9590eed6fc3328fe003c6f96c 100755
--- a/webrtc/build/ios/export_headers
+++ b/webrtc/build/ios/export_headers.py
@@ -13,7 +13,6 @@
import errno
import optparse
import os
-import re
import shutil
import sys
@@ -28,6 +27,7 @@ LEGACY_HEADER_EXCLUDES = ['talk/app/webrtc/objc/public/RTCNSGLVideoView.h']
HEADER_EXCLUDES = [
'webrtc/api/objc/avfoundationvideocapturer.h',
'webrtc/api/objc/RTCNSGLVideoView.h',
+ 'webrtc/api/objc/RTCVideoRendererAdapter.h',
'webrtc/base/objc/NSString+StdString.h',
'webrtc/base/objc/RTCUIApplication.h',
'webrtc/modules/audio_device/ios/objc/RTCAudioSessionDelegateAdapter.h',
@@ -46,7 +46,7 @@ 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)):
+ if os.path.exists(include_path):
kjellander_webrtc 2016/04/15 04:59:41 Aha! With the .py extension you couldn't escape th
tkchin_webrtc 2016/04/16 00:34:18 Indeed! I'm glad I decided to rename it :)
shutil.rmtree(include_path)
script_path = sys.path[0]

Powered by Google App Engine
This is Rietveld 408576698