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

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

Issue 2614423002: [Cronet] Use xcode clang on iOS to reduce release binary size. (Closed)
Patch Set: Use_xcode_clang instead of is_official_build in cr_cronet.py. 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
« no previous file with comments | « components/cronet/tools/cr_cronet.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/cronet/tools/package_ios.py
diff --git a/components/cronet/tools/package_ios.py b/components/cronet/tools/package_ios.py
index 829dec2edcfc792b431a6779ec1eb068da346d42..956d545b9c900d3751c12ec5cd7ef59bfadf6614 100755
--- a/components/cronet/tools/package_ios.py
+++ b/components/cronet/tools/package_ios.py
@@ -90,8 +90,8 @@ def package_ios_framework_using_gn(out_dir='out/Framework', extra_options=''):
# Package all builds in the output directory
os.makedirs(out_dir)
build_dir = ''
- for (build_config, gn_extra_args) in [('Debug', 'is_debug=true'),
- ('Release', 'is_debug=false enable_stripping=true')]:
+ for (build_config, gn_extra_args) in [('Debug', 'is_debug=true use_xcode_clang=true'),
+ ('Release', 'is_debug=false enable_stripping=true is_official_build=true')]:
for (target_device, target_cpu, additional_cpu) in [('os', 'arm', 'arm64'),
('simulator', 'x86', 'x64')]:
target_dir = '%s-iphone%s' % (build_config, target_device)
« no previous file with comments | « components/cronet/tools/cr_cronet.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698