OLD | NEW |
---|---|
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 | 8 |
9 'linux_link_kerberos%': 0, | 9 'linux_link_kerberos%': 0, |
10 'use_blockfile_cache_backend%': 1, | |
10 'use_tracing_cache_backend%': 0, | 11 'use_tracing_cache_backend%': 0, |
11 'conditions': [ | 12 'conditions': [ |
12 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', { | 13 ['chromeos==1 or embedded==1 or OS=="android" or OS=="ios"', { |
13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. | 14 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. |
14 # It needs configuration (krb5.conf and so on). | 15 # It needs configuration (krb5.conf and so on). |
15 'use_kerberos%': 0, | 16 'use_kerberos%': 0, |
16 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios" | 17 }, { # chromeos == 0 and embedded==0 and OS!="android" and OS!="ios" |
17 'use_kerberos%': 1, | 18 'use_kerberos%': 1, |
18 }], | 19 }], |
19 ['OS=="android" and target_arch != "ia32"', { | 20 ['OS=="android" and target_arch != "ia32"', { |
20 # The way the cache uses mmap() is inefficient on some Android devices. | 21 # The way the cache uses mmap() is inefficient on some Android devices. |
21 # If this flag is set, we hackily avoid using mmap() in the disk cache. | 22 # If this flag is set, we hackily avoid using mmap() in the disk cache. |
22 # We are pretty confident that mmap-ing the index would not hurt any | 23 # We are pretty confident that mmap-ing the index would not hurt any |
23 # existing x86 android devices, but we cannot be so sure about the | 24 # existing x86 android devices, but we cannot be so sure about the |
24 # variety of ARM devices. So enable it for x86 only for now. | 25 # variety of ARM devices. So enable it for x86 only for now. |
25 'posix_avoid_mmap%': 1, | 26 'posix_avoid_mmap%': 1, |
rvargas (doing something else)
2014/02/06 05:09:28
I think we should either move all backends to a us
| |
26 }, { | 27 }, { |
27 'posix_avoid_mmap%': 0, | 28 'posix_avoid_mmap%': 0, |
28 }], | 29 }], |
29 ['OS=="ios"', { | 30 ['OS=="ios"', { |
30 # Websockets and socket stream are not used on iOS. | 31 # Websockets and socket stream are not used on iOS. |
31 'enable_websockets%': 0, | 32 'enable_websockets%': 0, |
32 # iOS does not use V8. | 33 # iOS does not use V8. |
33 'use_v8_in_net%': 0, | 34 'use_v8_in_net%': 0, |
34 'enable_built_in_dns%': 0, | 35 'enable_built_in_dns%': 0, |
35 }, { | 36 }, { |
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1325 'defines': [ | 1326 'defines': [ |
1326 'ENABLE_BUILT_IN_DNS', | 1327 'ENABLE_BUILT_IN_DNS', |
1327 ] | 1328 ] |
1328 }, { # else | 1329 }, { # else |
1329 'sources!': [ | 1330 'sources!': [ |
1330 'dns/address_sorter_posix.cc', | 1331 'dns/address_sorter_posix.cc', |
1331 'dns/address_sorter_posix.h', | 1332 'dns/address_sorter_posix.h', |
1332 'dns/dns_client.cc', | 1333 'dns/dns_client.cc', |
1333 ], | 1334 ], |
1334 }], | 1335 }], |
1336 ['use_blockfile_cache_backend==1', { | |
1337 'defines': [ | |
1338 'USE_BLOCKFILE_CACHE_BACKEND', | |
1339 ], | |
1340 }, { # use_blockfile_cache_backend == 0 | |
1341 'sources/': [ ['exclude', '^disk_cache/v[23]/' ] ] | |
rvargas (doing something else)
2014/02/06 05:09:28
I'm not sure about excluding v3. I've been leaning
gavinp
2014/02/09 15:29:37
Can you expand on that?
| |
1342 }], | |
1335 ['use_tracing_cache_backend==1', { | 1343 ['use_tracing_cache_backend==1', { |
1336 'defines': [ | 1344 'defines': [ |
1337 'USE_TRACING_CACHE_BACKEND' | 1345 'USE_TRACING_CACHE_BACKEND' |
1338 ], | 1346 ], |
1339 }], | 1347 }], |
1340 ['use_openssl==1', { | 1348 ['use_openssl==1', { |
1341 'sources!': [ | 1349 'sources!': [ |
1342 'base/crypto_module_nss.cc', | 1350 'base/crypto_module_nss.cc', |
1343 'base/keygen_handler_nss.cc', | 1351 'base/keygen_handler_nss.cc', |
1344 'base/nss_memio.c', | 1352 'base/nss_memio.c', |
1345 'base/nss_memio.h', | 1353 'base/nss_memio.h', |
1346 'cert/cert_database_nss.cc', | 1354 'cert/cert_database_nss.cc', |
1347 'cert/cert_verify_proc_nss.cc', | 1355 'cert/cert_verify_proc_nss.cc', |
1348 'cert/cert_verify_proc_nss.h', | 1356 'cert/cert_verify_proc_nss.h', |
1349 'cert/ct_log_verifier_nss.cc', | 1357 'cert/ct_log_verifier_nss.cc', |
(...skipping 1827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3177 'net_unittests.isolate', | 3185 'net_unittests.isolate', |
3178 ], | 3186 ], |
3179 'sources': [ | 3187 'sources': [ |
3180 'net_unittests.isolate', | 3188 'net_unittests.isolate', |
3181 ], | 3189 ], |
3182 }, | 3190 }, |
3183 ], | 3191 ], |
3184 }], | 3192 }], |
3185 ], | 3193 ], |
3186 } | 3194 } |
OLD | NEW |