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

Side by Side Diff: components/cronet/tools/cr_cronet.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 | « no previous file | components/cronet/tools/package_ios.py » ('j') | 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 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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 cr_cronet.py - cr - like helper tool for cronet developers 7 cr_cronet.py - cr - like helper tool for cronet developers
8 """ 8 """
9 9
10 import argparse 10 import argparse
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 if options.iphoneos: 81 if options.iphoneos:
82 out_dir_suffix = '-iphoneos' 82 out_dir_suffix = '-iphoneos'
83 else: 83 else:
84 target_os = 'android' 84 target_os = 'android'
85 test_target = 'cronet_test_instrumentation_apk' 85 test_target = 'cronet_test_instrumentation_apk'
86 out_dir_suffix = '' 86 out_dir_suffix = ''
87 87
88 gyp_defines = 'GYP_DEFINES="OS=' + target_os + ' enable_websockets=0 '+ \ 88 gyp_defines = 'GYP_DEFINES="OS=' + target_os + ' enable_websockets=0 '+ \
89 'disable_file_support=1 disable_ftp_support=1 '+ \ 89 'disable_file_support=1 disable_ftp_support=1 '+ \
90 'enable_errorprone=1 use_platform_icu_alternatives=1 ' + \ 90 'enable_errorprone=1 use_platform_icu_alternatives=1 ' + \
91 'disable_brotli_filter=1 use_openssl=1"' 91 'disable_brotli_filter=1"'
92 gn_args = 'target_os="' + target_os + '" enable_websockets=false '+ \ 92 gn_args = 'target_os="' + target_os + '" enable_websockets=false '+ \
93 'disable_file_support=true disable_ftp_support=true '+ \ 93 'disable_file_support=true disable_ftp_support=true '+ \
94 'use_errorprone_java_compiler=true use_platform_icu_alternatives=true '+ \ 94 'use_errorprone_java_compiler=true use_platform_icu_alternatives=true '+ \
95 'disable_brotli_filter=true' 95 'disable_brotli_filter=true'
96 96
97 out_dir = 'out/Debug' + out_dir_suffix 97 out_dir = 'out/Debug' + out_dir_suffix
98 release_arg = '' 98 release_arg = ''
99 extra_options = ' '.join(extra_options_list) 99 extra_options = ' '.join(extra_options_list)
100 if options.release: 100 if options.release:
101 out_dir = 'out/Release' + out_dir_suffix 101 out_dir = 'out/Release' + out_dir_suffix
(...skipping 29 matching lines...) Expand all
131 return test_ios(out_dir, extra_options) 131 return test_ios(out_dir, extra_options)
132 if (options.command=='build-test'): 132 if (options.command=='build-test'):
133 return build(out_dir, test_target) or test_ios(out_dir, extra_options) 133 return build(out_dir, test_target) or test_ios(out_dir, extra_options)
134 134
135 parser.print_help() 135 parser.print_help()
136 return 1 136 return 1
137 137
138 138
139 if __name__ == '__main__': 139 if __name__ == '__main__':
140 sys.exit(main()) 140 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | components/cronet/tools/package_ios.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698