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

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

Issue 2807283002: [Cronet] Build static libcronet.a for iOS with complete dependencies. (Closed)
Patch Set: Workaround i386 debug failure by using input library without 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..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)
« components/cronet/ios/cronet_consumer/BUILD.gn ('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