OLD | NEW |
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 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 import("//build/buildflag_header.gni") | 5 import("//build/buildflag_header.gni") |
6 import("//build/config/chromecast_build.gni") | 6 import("//build/config/chromecast_build.gni") |
7 import("//build/config/compiler/compiler.gni") | 7 import("//build/config/compiler/compiler.gni") |
8 import("//build/config/crypto.gni") | 8 import("//build/config/crypto.gni") |
9 import("//build/config/features.gni") | 9 import("//build/config/features.gni") |
10 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 buildflag_header("features") { | 47 buildflag_header("features") { |
48 header = "net_features.h" | 48 header = "net_features.h" |
49 flags = [ | 49 flags = [ |
50 "POSIX_AVOID_MMAP=$posix_avoid_mmap", | 50 "POSIX_AVOID_MMAP=$posix_avoid_mmap", |
51 "DISABLE_FILE_SUPPORT=$disable_file_support", | 51 "DISABLE_FILE_SUPPORT=$disable_file_support", |
52 "DISABLE_FTP_SUPPORT=$disable_ftp_support", | 52 "DISABLE_FTP_SUPPORT=$disable_ftp_support", |
53 "ENABLE_MDNS=$enable_mdns", | 53 "ENABLE_MDNS=$enable_mdns", |
54 "ENABLE_REPORTING=$enable_reporting", | 54 "ENABLE_REPORTING=$enable_reporting", |
55 "ENABLE_WEBSOCKETS=$enable_websockets", | 55 "ENABLE_WEBSOCKETS=$enable_websockets", |
56 "USE_BYTE_CERTS=$use_byte_certs", | 56 "USE_BYTE_CERTS=$use_byte_certs", |
| 57 "INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=$include_transport_security_s
tate_preload_list", |
57 ] | 58 ] |
58 } | 59 } |
59 | 60 |
60 config("net_internal_config") { | 61 config("net_internal_config") { |
61 defines = [ | 62 defines = [ |
62 "DLOPEN_KERBEROS", | 63 "DLOPEN_KERBEROS", |
63 "NET_IMPLEMENTATION", | 64 "NET_IMPLEMENTATION", |
64 ] | 65 ] |
65 | 66 |
66 if (use_kerberos) { | 67 if (use_kerberos) { |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 "ssl/token_binding.h", | 354 "ssl/token_binding.h", |
354 ] | 355 ] |
355 net_unfiltered_sources = [] | 356 net_unfiltered_sources = [] |
356 | 357 |
357 deps = [ | 358 deps = [ |
358 ":constants", | 359 ":constants", |
359 ":net_resources", | 360 ":net_resources", |
360 "//base", | 361 "//base", |
361 "//net/base/registry_controlled_domains", | 362 "//net/base/registry_controlled_domains", |
362 "//net/data/ssl/certificate_transparency:ct_log_list", | 363 "//net/data/ssl/certificate_transparency:ct_log_list", |
363 "//net/http:generate_transport_security_state", | |
364 "//third_party/protobuf:protobuf_lite", | 364 "//third_party/protobuf:protobuf_lite", |
365 "//url:url_features", | 365 "//url:url_features", |
366 ] | 366 ] |
367 | 367 |
| 368 if (include_transport_security_state_preload_list) { |
| 369 deps += [ "//net/http:generate_transport_security_state" ] |
| 370 } |
| 371 |
368 public_deps = [ | 372 public_deps = [ |
369 ":net_quic_proto", | 373 ":net_quic_proto", |
370 ":traffic_annotation", | 374 ":traffic_annotation", |
371 "//crypto", | 375 "//crypto", |
372 "//crypto:platform", | 376 "//crypto:platform", |
373 "//third_party/boringssl", | 377 "//third_party/boringssl", |
374 ] | 378 ] |
375 | 379 |
376 if (!is_nacl) { | 380 if (!is_nacl) { |
377 sources += [ | 381 sources += [ |
(...skipping 5673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6051 ] | 6055 ] |
6052 deps = [ | 6056 deps = [ |
6053 ":net_fuzzer_test_support", | 6057 ":net_fuzzer_test_support", |
6054 ":test_support", | 6058 ":test_support", |
6055 "//base", | 6059 "//base", |
6056 "//net", | 6060 "//net", |
6057 ] | 6061 ] |
6058 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 6062 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
6059 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 6063 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
6060 } | 6064 } |
OLD | NEW |