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

Unified Diff: tools-webrtc/ios/build_ios_libs.py

Issue 2712263002: Copy public headers to the output dir after building static lib for iOS (Closed)
Patch Set: Created 3 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools-webrtc/ios/build_ios_libs.py
diff --git a/tools-webrtc/ios/build_ios_libs.py b/tools-webrtc/ios/build_ios_libs.py
index 7af47716c5eaf351783fbee3fa2f2119de11316c..f6c4ebc3771529627c2cfe94b46e3d2518a24bf3 100755
--- a/tools-webrtc/ios/build_ios_libs.py
+++ b/tools-webrtc/ios/build_ios_libs.py
@@ -167,6 +167,12 @@ def main():
cmd = ['lipo'] + lib_paths + ['-create', '-output', out_lib_path]
_RunCommand(cmd)
+ # Copy public headers into the output dir.
+ logging.info('Copying public headers.')
+ distutils.dir_util.copy_tree(
+ os.path.join(WEBRTC_SRC_DIR, 'webrtc', 'sdk', 'objc',
+ 'Framework', 'Headers', 'WebRTC'),
+ os.path.join(args.output_dir, 'include'))
elif args.build_type == 'framework':
lib_paths = [os.path.join(args.output_dir, arch + '_libs')
for arch in architectures]
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698