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

Unified Diff: components/cronet/tools/package_ios.py

Issue 2807283002: [Cronet] Build static libcronet.a for iOS with complete dependencies. (Closed)
Patch Set: Use libtool to combine i386 Cronet library and its dependencies. Created 3 years, 7 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: 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)
« components/cronet/tools/hide_symbols.py ('K') | « components/cronet/tools/hide_symbols.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698