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] |