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

Side by Side Diff: components/cronet/tools/package_ios.py

Issue 1918863002: Removing use_openssl from cronet build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « components/cronet/tools/cr_cronet.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """ 6 """
7 package_ios.py - Build and Package Release and Rebug fat libraries for iOS. 7 package_ios.py - Build and Package Release and Rebug fat libraries for iOS.
8 """ 8 """
9 9
10 import argparse 10 import argparse
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 parser.add_argument('-r', '--release', action='store_true', 61 parser.add_argument('-r', '--release', action='store_true',
62 help='use release configuration') 62 help='use release configuration')
63 63
64 options, extra_options_list = parser.parse_known_args() 64 options, extra_options_list = parser.parse_known_args()
65 print options 65 print options
66 print extra_options_list 66 print extra_options_list
67 67
68 gyp_defines = 'GYP_DEFINES="OS=ios enable_websockets=0 '+ \ 68 gyp_defines = 'GYP_DEFINES="OS=ios enable_websockets=0 '+ \
69 'disable_file_support=1 disable_ftp_support=1 '+ \ 69 'disable_file_support=1 disable_ftp_support=1 '+ \
70 'enable_errorprone=1 use_platform_icu_alternatives=1 ' + \ 70 'enable_errorprone=1 use_platform_icu_alternatives=1 ' + \
71 'disable_brotli_filter=1 use_openssl=1 ' + \ 71 'disable_brotli_filter=1 target_subarch=both"'
72 'target_subarch=both"'
73 if not options.skip_gyp: 72 if not options.skip_gyp:
74 run (gyp_defines + ' gclient runhooks') 73 run (gyp_defines + ' gclient runhooks')
75 74
76 return package_ios(options.out_dir[0], "out/Release", "opt") or \ 75 return package_ios(options.out_dir[0], "out/Release", "opt") or \
77 package_ios(options.out_dir[0], "out/Debug", "dbg") 76 package_ios(options.out_dir[0], "out/Debug", "dbg")
78 77
79 78
80 if __name__ == '__main__': 79 if __name__ == '__main__':
81 sys.exit(main()) 80 sys.exit(main())
OLDNEW
« 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