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..fb63d98062903c31ab1b880b99fc424ea17b07b6 100755 |
--- a/components/cronet/tools/package_ios.py |
+++ b/components/cronet/tools/package_ios.py |
@@ -122,6 +122,10 @@ 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 common files from last built package. |
package_dir = os.path.join(build_dir, 'cronet') |
shutil.copy2(os.path.join(package_dir, 'AUTHORS'), out_dir) |