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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 "http/http_response_info.h", | 280 "http/http_response_info.h", |
280 "http/http_security_headers.cc", | 281 "http/http_security_headers.cc", |
281 "http/http_security_headers.h", | 282 "http/http_security_headers.h", |
282 "http/http_status_code_list", | 283 "http/http_status_code_list", |
283 "http/http_util.cc", | 284 "http/http_util.cc", |
284 "http/http_util.h", | 285 "http/http_util.h", |
285 "http/http_vary_data.cc", | 286 "http/http_vary_data.cc", |
286 "http/http_vary_data.h", | 287 "http/http_vary_data.h", |
287 "http/transport_security_state.cc", | 288 "http/transport_security_state.cc", |
288 "http/transport_security_state.h", | 289 "http/transport_security_state.h", |
| 290 "http/transport_security_state_source.cc", |
289 "http/transport_security_state_source.h", | 291 "http/transport_security_state_source.h", |
290 "log/net_log.cc", | 292 "log/net_log.cc", |
291 "log/net_log.h", | 293 "log/net_log.h", |
292 "log/net_log_capture_mode.cc", | 294 "log/net_log_capture_mode.cc", |
293 "log/net_log_capture_mode.h", | 295 "log/net_log_capture_mode.h", |
294 "log/net_log_entry.cc", | 296 "log/net_log_entry.cc", |
295 "log/net_log_entry.h", | 297 "log/net_log_entry.h", |
296 "log/net_log_event_type.h", | 298 "log/net_log_event_type.h", |
297 "log/net_log_event_type_list.h", | 299 "log/net_log_event_type_list.h", |
298 "log/net_log_parameters_callback.h", | 300 "log/net_log_parameters_callback.h", |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
353 "ssl/token_binding.h", | 355 "ssl/token_binding.h", |
354 ] | 356 ] |
355 net_unfiltered_sources = [] | 357 net_unfiltered_sources = [] |
356 | 358 |
357 deps = [ | 359 deps = [ |
358 ":constants", | 360 ":constants", |
359 ":net_resources", | 361 ":net_resources", |
360 "//base", | 362 "//base", |
361 "//net/base/registry_controlled_domains", | 363 "//net/base/registry_controlled_domains", |
362 "//net/data/ssl/certificate_transparency:ct_log_list", | 364 "//net/data/ssl/certificate_transparency:ct_log_list", |
363 "//net/http:generate_transport_security_state", | |
364 "//third_party/protobuf:protobuf_lite", | 365 "//third_party/protobuf:protobuf_lite", |
365 "//url:url_features", | 366 "//url:url_features", |
366 ] | 367 ] |
367 | 368 |
| 369 if (include_transport_security_state_preload_list) { |
| 370 deps += [ "//net/http:generate_transport_security_state" ] |
| 371 } |
| 372 |
368 public_deps = [ | 373 public_deps = [ |
369 ":net_quic_proto", | 374 ":net_quic_proto", |
370 ":traffic_annotation", | 375 ":traffic_annotation", |
371 "//crypto", | 376 "//crypto", |
372 "//crypto:platform", | 377 "//crypto:platform", |
373 "//third_party/boringssl", | 378 "//third_party/boringssl", |
374 ] | 379 ] |
375 | 380 |
376 if (!is_nacl) { | 381 if (!is_nacl) { |
377 sources += [ | 382 sources += [ |
(...skipping 5673 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6051 ] | 6056 ] |
6052 deps = [ | 6057 deps = [ |
6053 ":net_fuzzer_test_support", | 6058 ":net_fuzzer_test_support", |
6054 ":test_support", | 6059 ":test_support", |
6055 "//base", | 6060 "//base", |
6056 "//net", | 6061 "//net", |
6057 ] | 6062 ] |
6058 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 6063 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
6059 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 6064 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
6060 } | 6065 } |
OLD | NEW |