Index: components/cronet/tools/package_ios.py |
diff --git a/components/cronet/tools/package_ios.py b/components/cronet/tools/package_ios.py |
index 956d545b9c900d3751c12ec5cd7ef59bfadf6614..bb8087f4a747689b4af9ae2a1e31f0e674c7cb23 100755 |
--- a/components/cronet/tools/package_ios.py |
+++ b/components/cronet/tools/package_ios.py |
@@ -122,6 +122,13 @@ def package_ios_framework_using_gn(out_dir='out/Framework', extra_options=''): |
shutil.copytree(os.path.join(build_dir, 'Cronet.dSYM'), |
os.path.join(out_dir, target_dir, 'Cronet.framework.dSYM')) |
+ # Copy static library. |
+ shutil.copy2(os.path.join(build_dir, 'cronet', 'libcronet.a'), |
+ os.path.join(out_dir, target_dir)) |
+ # Copy static framework. |
+ shutil.copytree(os.path.join(build_dir, 'CronetStatic.framework'), |
+ os.path.join(out_dir, 'Static', target_dir, 'Cronet.framework')) |
+ |
# Copy common files from last built package. |
package_dir = os.path.join(build_dir, 'cronet') |
shutil.copy2(os.path.join(package_dir, 'AUTHORS'), out_dir) |