OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'conditions': [ | 6 'conditions': [ |
7 ['OS=="android"', { | 7 ['OS=="android"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'cronet_jni_headers', | 10 'target_name': 'cronet_jni_headers', |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
169 ], | 169 ], |
170 'includes': [ | 170 'includes': [ |
171 '../build/util/version.gypi', | 171 '../build/util/version.gypi', |
172 ], | 172 ], |
173 }, | 173 }, |
174 ], | 174 ], |
175 }, | 175 }, |
176 { | 176 { |
177 # cronet_static_small target has reduced binary size through using | 177 # cronet_static_small target has reduced binary size through using |
178 # ICU alternatives which requires file and ftp support be disabled. | 178 # ICU alternatives which requires file and ftp support be disabled. |
179 'target_name': 'cronet_static_small', | 179 'target_name': 'cronet_static_small', |
mef
2016/04/01 20:42:49
do we still need cronet_static_small vs cronet_sta
kapishnikov
2016/04/04 20:17:26
cronet_static_small depends on components/componen
| |
180 'type': 'static_library', | 180 'type': 'static_library', |
181 'defines': [ | 181 'defines': [ |
182 'USE_ICU_ALTERNATIVES_ON_ANDROID=1', | 182 'USE_PLATFORM_ICU_ALTERNATIVES=1', |
mef
2016/04/01 20:42:49
should this be conditioned on 'use_platform_icu_al
kapishnikov
2016/04/04 20:17:26
Done. Actually removed USE_PLATFORM_ICU_ALTERNATIV
| |
183 'DISABLE_FILE_SUPPORT=1', | 183 'DISABLE_FILE_SUPPORT=1', |
184 'DISABLE_FTP_SUPPORT=1', | 184 'DISABLE_FTP_SUPPORT=1', |
185 ], | 185 ], |
186 'dependencies': [ | 186 'dependencies': [ |
187 '../net/net.gyp:net_small', | 187 '../net/net.gyp:net', |
188 '../url/url.gyp:url_lib_use_icu_alternatives_on_android', | 188 '../url/url.gyp:url_lib', |
189 ], | 189 ], |
190 'conditions': [ | 190 'conditions': [ |
191 ['enable_data_reduction_proxy_support==1', | 191 ['enable_data_reduction_proxy_support==1', |
192 { | 192 { |
193 'dependencies': [ | 193 'dependencies': [ |
194 '../components/components.gyp:data_reduction_proxy_core_browse r_small', | 194 '../components/components.gyp:data_reduction_proxy_core_browse r_small', |
195 ], | 195 ], |
196 }, | 196 }, |
197 ], | 197 ], |
198 ], | 198 ], |
(...skipping 21 matching lines...) Expand all Loading... | |
220 }, | 220 }, |
221 { | 221 { |
222 'target_name': 'libcronet', | 222 'target_name': 'libcronet', |
223 'type': 'shared_library', | 223 'type': 'shared_library', |
224 'sources': [ | 224 'sources': [ |
225 'cronet/android/cronet_jni.cc', | 225 'cronet/android/cronet_jni.cc', |
226 ], | 226 ], |
227 'dependencies': [ | 227 'dependencies': [ |
228 'cronet_static_small', | 228 'cronet_static_small', |
229 '../base/base.gyp:base', | 229 '../base/base.gyp:base', |
230 '../net/net.gyp:net_small', | 230 '../net/net.gyp:net', |
231 ], | 231 ], |
232 'ldflags': [ | 232 'ldflags': [ |
233 '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/components/cronet/an droid/only_jni_exports.lst', | 233 '-Wl,--version-script=<!(cd <(DEPTH) && pwd -P)/components/cronet/an droid/only_jni_exports.lst', |
234 ], | 234 ], |
235 'variables': { | 235 'variables': { |
236 # libcronet doesn't really use native JNI exports, but it does use | 236 # libcronet doesn't really use native JNI exports, but it does use |
237 # its own linker version script. The ARM64 linker appears to not | 237 # its own linker version script. The ARM64 linker appears to not |
238 # work with multiple version scripts with anonymous version tags, | 238 # work with multiple version scripts with anonymous version tags, |
239 # so enable use_native_jni_exports which avoids adding another | 239 # so enable use_native_jni_exports which avoids adding another |
240 # version sript (android_no_jni_exports.lst) so we don't run afoul | 240 # version sript (android_no_jni_exports.lst) so we don't run afoul |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
726 }, | 726 }, |
727 ], | 727 ], |
728 }, | 728 }, |
729 ], | 729 ], |
730 'variables': { | 730 'variables': { |
731 'enable_data_reduction_proxy_support%': 0, | 731 'enable_data_reduction_proxy_support%': 0, |
732 }, | 732 }, |
733 }], # OS=="android" | 733 }], # OS=="android" |
734 ], | 734 ], |
735 } | 735 } |
OLD | NEW |