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_simple_backend%': 0, |
10 'conditions': [ | 11 'conditions': [ |
11 ['chromeos==1 or OS=="android" or OS=="ios"', { | 12 ['chromeos==1 or OS=="android" or OS=="ios"', { |
12 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. | 13 # Disable Kerberos on ChromeOS, Android and iOS, at least for now. |
13 # It needs configuration (krb5.conf and so on). | 14 # It needs configuration (krb5.conf and so on). |
14 'use_kerberos%': 0, | 15 'use_kerberos%': 0, |
15 }, { # chromeos == 0 | 16 }, { # chromeos == 0 |
16 'use_kerberos%': 1, | 17 'use_kerberos%': 1, |
17 }], | 18 }], |
18 ['OS=="android"', { | 19 ['OS=="android"', { |
19 # The way the cache uses mmap() is inefficient on some Android devices. | 20 # The way the cache uses mmap() is inefficient on some Android devices. |
(...skipping 25 matching lines...) Expand all Loading... |
45 'variables': { 'enable_wexit_time_destructors': 1, }, | 46 'variables': { 'enable_wexit_time_destructors': 1, }, |
46 'dependencies': [ | 47 'dependencies': [ |
47 '../base/base.gyp:base', | 48 '../base/base.gyp:base', |
48 '../base/base.gyp:base_i18n', | 49 '../base/base.gyp:base_i18n', |
49 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 50 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
50 '../build/temp_gyp/googleurl.gyp:googleurl', | 51 '../build/temp_gyp/googleurl.gyp:googleurl', |
51 '../crypto/crypto.gyp:crypto', | 52 '../crypto/crypto.gyp:crypto', |
52 '../sdch/sdch.gyp:sdch', | 53 '../sdch/sdch.gyp:sdch', |
53 '../third_party/icu/icu.gyp:icui18n', | 54 '../third_party/icu/icu.gyp:icui18n', |
54 '../third_party/icu/icu.gyp:icuuc', | 55 '../third_party/icu/icu.gyp:icuuc', |
| 56 '../third_party/smhasher/smhasher.gyp:murmurhash3', |
55 '../third_party/zlib/zlib.gyp:zlib', | 57 '../third_party/zlib/zlib.gyp:zlib', |
56 'net_resources', | 58 'net_resources', |
57 ], | 59 ], |
58 'sources': [ | 60 'sources': [ |
59 'android/gurl_utils.cc', | 61 'android/gurl_utils.cc', |
60 'android/gurl_utils.h', | 62 'android/gurl_utils.h', |
61 'android/net_jni_registrar.cc', | 63 'android/net_jni_registrar.cc', |
62 'android/net_jni_registrar.h', | 64 'android/net_jni_registrar.h', |
63 'android/network_change_notifier_android.cc', | 65 'android/network_change_notifier_android.cc', |
64 'android/network_change_notifier_android.h', | 66 'android/network_change_notifier_android.h', |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 'disk_cache/sparse_control.h', | 400 'disk_cache/sparse_control.h', |
399 'disk_cache/stats.cc', | 401 'disk_cache/stats.cc', |
400 'disk_cache/stats.h', | 402 'disk_cache/stats.h', |
401 'disk_cache/stats_histogram.cc', | 403 'disk_cache/stats_histogram.cc', |
402 'disk_cache/stats_histogram.h', | 404 'disk_cache/stats_histogram.h', |
403 'disk_cache/storage_block-inl.h', | 405 'disk_cache/storage_block-inl.h', |
404 'disk_cache/storage_block.h', | 406 'disk_cache/storage_block.h', |
405 'disk_cache/stress_support.h', | 407 'disk_cache/stress_support.h', |
406 'disk_cache/trace.cc', | 408 'disk_cache/trace.cc', |
407 'disk_cache/trace.h', | 409 'disk_cache/trace.h', |
| 410 'disk_cache/simple/simple_backend_impl.cc', |
| 411 'disk_cache/simple/simple_backend_impl.h', |
| 412 'disk_cache/simple/simple_disk_format.h', |
| 413 'disk_cache/simple/simple_entry_impl.cc', |
| 414 'disk_cache/simple/simple_entry_impl.h', |
| 415 'disk_cache/simple/simple_synchronous_entry.cc', |
| 416 'disk_cache/simple/simple_synchronous_entry.h', |
408 'disk_cache/flash/format.h', | 417 'disk_cache/flash/format.h', |
409 'disk_cache/flash/log_store.cc', | 418 'disk_cache/flash/log_store.cc', |
410 'disk_cache/flash/log_store.h', | 419 'disk_cache/flash/log_store.h', |
411 'disk_cache/flash/log_store_entry.cc', | 420 'disk_cache/flash/log_store_entry.cc', |
412 'disk_cache/flash/log_store_entry.h', | 421 'disk_cache/flash/log_store_entry.h', |
413 'disk_cache/flash/segment.cc', | 422 'disk_cache/flash/segment.cc', |
414 'disk_cache/flash/segment.h', | 423 'disk_cache/flash/segment.h', |
415 'disk_cache/flash/storage.cc', | 424 'disk_cache/flash/storage.cc', |
416 'disk_cache/flash/storage.h', | 425 'disk_cache/flash/storage.h', |
417 'dns/address_sorter.h', | 426 'dns/address_sorter.h', |
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 'defines': [ | 1031 'defines': [ |
1023 'ENABLE_BUILT_IN_DNS', | 1032 'ENABLE_BUILT_IN_DNS', |
1024 ] | 1033 ] |
1025 }, { # else | 1034 }, { # else |
1026 'sources!': [ | 1035 'sources!': [ |
1027 'dns/address_sorter_posix.cc', | 1036 'dns/address_sorter_posix.cc', |
1028 'dns/address_sorter_posix.h', | 1037 'dns/address_sorter_posix.h', |
1029 'dns/dns_client.cc', | 1038 'dns/dns_client.cc', |
1030 ], | 1039 ], |
1031 }], | 1040 }], |
| 1041 ['use_simple_backend==1', { |
| 1042 'defines': [ |
| 1043 'USE_SIMPLE_BACKEND', |
| 1044 ] |
| 1045 }, { # else |
| 1046 'sources!': [ |
| 1047 'disk_cache/simple/simple_backend_impl.cc', |
| 1048 'disk_cache/simple/simple_backend_impl.h', |
| 1049 'disk_cache/simple/simple_disk_format.h', |
| 1050 'disk_cache/simple/simple_entry_impl.cc', |
| 1051 'disk_cache/simple/simple_entry_impl.h', |
| 1052 'disk_cache/simple/simple_synchronous_entry.cc', |
| 1053 'disk_cache/simple/simple_synchronous_entry.h', |
| 1054 ], |
| 1055 }], |
1032 ['use_openssl==1', { | 1056 ['use_openssl==1', { |
1033 'sources!': [ | 1057 'sources!': [ |
1034 'base/cert_database_nss.cc', | 1058 'base/cert_database_nss.cc', |
1035 'base/cert_verify_proc_nss.cc', | 1059 'base/cert_verify_proc_nss.cc', |
1036 'base/cert_verify_proc_nss.h', | 1060 'base/cert_verify_proc_nss.h', |
1037 'base/client_cert_store_impl_nss.cc', | 1061 'base/client_cert_store_impl_nss.cc', |
1038 'base/crypto_module_nss.cc', | 1062 'base/crypto_module_nss.cc', |
1039 'base/keygen_handler_nss.cc', | 1063 'base/keygen_handler_nss.cc', |
1040 'base/nss_cert_database.cc', | 1064 'base/nss_cert_database.cc', |
1041 'base/nss_cert_database.h', | 1065 'base/nss_cert_database.h', |
(...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2451 '--result', '<@(_outputs)', | 2475 '--result', '<@(_outputs)', |
2452 '--isolate', 'net_unittests.isolate', | 2476 '--isolate', 'net_unittests.isolate', |
2453 ], | 2477 ], |
2454 }, | 2478 }, |
2455 ], | 2479 ], |
2456 }, | 2480 }, |
2457 ], | 2481 ], |
2458 }], | 2482 }], |
2459 ], | 2483 ], |
2460 } | 2484 } |
OLD | NEW |