| 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/jumbo.gni") |
| 10 import("//build/config/ui.gni") | 11 import("//build/config/ui.gni") |
| 11 import("//net/features.gni") | 12 import("//net/features.gni") |
| 12 import("//testing/libfuzzer/fuzzer_test.gni") | 13 import("//testing/libfuzzer/fuzzer_test.gni") |
| 13 import("//testing/test.gni") | 14 import("//testing/test.gni") |
| 14 import("//third_party/icu/config.gni") | 15 import("//third_party/icu/config.gni") |
| 15 import("//third_party/protobuf/proto_library.gni") | 16 import("//third_party/protobuf/proto_library.gni") |
| 16 import("//tools/grit/grit_rule.gni") | 17 import("//tools/grit/grit_rule.gni") |
| 17 import("//url/features.gni") | 18 import("//url/features.gni") |
| 18 | 19 |
| 19 if (!is_proto_quic) { | 20 if (!is_proto_quic) { |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 source_set("constants") { | 97 source_set("constants") { |
| 97 sources = [ | 98 sources = [ |
| 98 "base/trace_constants.cc", | 99 "base/trace_constants.cc", |
| 99 "base/trace_constants.h", | 100 "base/trace_constants.h", |
| 100 ] | 101 ] |
| 101 deps = [ | 102 deps = [ |
| 102 "//base", | 103 "//base", |
| 103 ] | 104 ] |
| 104 } | 105 } |
| 105 | 106 |
| 106 component("net") { | 107 jumbo_target("net") { |
| 108 target_type = "component" |
| 107 sources = [ | 109 sources = [ |
| 108 "base/address_family.cc", | 110 "base/address_family.cc", |
| 109 "base/address_family.h", | 111 "base/address_family.h", |
| 110 "base/address_list.cc", | 112 "base/address_list.cc", |
| 111 "base/address_list.h", | 113 "base/address_list.h", |
| 112 "base/auth.cc", | 114 "base/auth.cc", |
| 113 "base/auth.h", | 115 "base/auth.h", |
| 114 "base/completion_callback.h", | 116 "base/completion_callback.h", |
| 115 "base/escape.cc", | 117 "base/escape.cc", |
| 116 "base/escape.h", | 118 "base/escape.h", |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 "http/http_log_util.cc", | 273 "http/http_log_util.cc", |
| 272 "http/http_log_util.h", | 274 "http/http_log_util.h", |
| 273 "http/http_request_headers.cc", | 275 "http/http_request_headers.cc", |
| 274 "http/http_request_headers.h", | 276 "http/http_request_headers.h", |
| 275 "http/http_response_headers.cc", | 277 "http/http_response_headers.cc", |
| 276 "http/http_response_headers.h", | 278 "http/http_response_headers.h", |
| 277 "http/http_response_info.cc", | 279 "http/http_response_info.cc", |
| 278 "http/http_response_info.h", | 280 "http/http_response_info.h", |
| 279 "http/http_security_headers.cc", | 281 "http/http_security_headers.cc", |
| 280 "http/http_security_headers.h", | 282 "http/http_security_headers.h", |
| 281 "http/http_status_code_list", | 283 "http/http_status_code_list.h", |
| 282 "http/http_util.cc", | 284 "http/http_util.cc", |
| 283 "http/http_util.h", | 285 "http/http_util.h", |
| 284 "http/http_vary_data.cc", | 286 "http/http_vary_data.cc", |
| 285 "http/http_vary_data.h", | 287 "http/http_vary_data.h", |
| 286 "http/transport_security_state.cc", | 288 "http/transport_security_state.cc", |
| 287 "http/transport_security_state.h", | 289 "http/transport_security_state.h", |
| 288 "http/transport_security_state_source.h", | 290 "http/transport_security_state_source.h", |
| 289 "log/net_log.cc", | 291 "log/net_log.cc", |
| 290 "log/net_log.h", | 292 "log/net_log.h", |
| 291 "log/net_log_capture_mode.cc", | 293 "log/net_log_capture_mode.cc", |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 "ssl/ssl_config_service.h", | 346 "ssl/ssl_config_service.h", |
| 345 "ssl/ssl_connection_status_flags.h", | 347 "ssl/ssl_connection_status_flags.h", |
| 346 "ssl/ssl_info.cc", | 348 "ssl/ssl_info.cc", |
| 347 "ssl/ssl_info.h", | 349 "ssl/ssl_info.h", |
| 348 "ssl/ssl_private_key.h", | 350 "ssl/ssl_private_key.h", |
| 349 "ssl/ssl_server_config.cc", | 351 "ssl/ssl_server_config.cc", |
| 350 "ssl/ssl_server_config.h", | 352 "ssl/ssl_server_config.h", |
| 351 "ssl/token_binding.cc", | 353 "ssl/token_binding.cc", |
| 352 "ssl/token_binding.h", | 354 "ssl/token_binding.h", |
| 353 ] | 355 ] |
| 356 |
| 357 jumbo_excluded_sources = [ |
| 358 ] |
| 359 if (!is_nacl) { |
| 360 jumbo_excluded_sources += [ |
| 361 # Something with templates and Entry classes. |
| 362 "disk_cache/net_log_parameters.cc", |
| 363 |
| 364 # Same UMA macro CACHE_UMA_BACKEND_IMPL_OBJ in both entry_impl.cc |
| 365 # and backend_impl.cc |
| 366 "disk_cache/blockfile/entry_impl.cc", |
| 367 "disk_cache/blockfile/backend_impl.cc", |
| 368 "disk_cache/blockfile/eviction.cc", |
| 369 |
| 370 # cubic_bytes.cc, cubic.cc, tcp_cubic_sender_base.cc, |
| 371 # tcp_cubic_sender_packets.cc and tcp_cubic_sender_bytes.cc use |
| 372 # the same constants (many) |
| 373 "quic/core/congestion_control/cubic_bytes.cc", |
| 374 "quic/core/congestion_control/cubic.cc", |
| 375 "quic/core/congestion_control/tcp_cubic_sender_packets.cc", |
| 376 "quic/core/congestion_control/tcp_cubic_sender_bytes.cc", |
| 377 |
| 378 # http2_hpack_huffman_decoder.cc and hpack_huffman_decoder.cc use |
| 379 # the same names. |
| 380 "http2/hpack/huffman/http2_hpack_huffman_decoder.cc", |
| 381 "spdy/core/hpack/hpack_huffman_decoder.cc", |
| 382 |
| 383 # Using the same functions, same constants. |
| 384 "quic/core/crypto/aes_128_gcm_12_decrypter.cc", |
| 385 "quic/core/crypto/aes_128_gcm_12_encrypter.cc", |
| 386 |
| 387 # Using the same constants. |
| 388 "quic/core/crypto/chacha20_poly1305_decrypter.cc", |
| 389 "quic/core/crypto/chacha20_poly1305_encrypter.cc", |
| 390 |
| 391 # Not C++ |
| 392 "http2/hpack/hpack_static_table_entries.inc", |
| 393 |
| 394 # Too many (identical) ScopedBoolSaver classes. |
| 395 # Also in quic_chromium_client_stream.cc. |
| 396 "quic/chromium/bidirectional_stream_quic_impl.cc", |
| 397 ] |
| 398 |
| 399 if (use_nss_certs) { |
| 400 jumbo_excluded_sources += [ |
| 401 # NSS and BoringSSL share header defines |
| 402 "ssl/client_cert_store_nss.cc", |
| 403 "ssl/ssl_platform_key_nss.cc", |
| 404 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp", |
| 405 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp", |
| 406 ] |
| 407 } |
| 408 |
| 409 if (is_posix) { |
| 410 jumbo_excluded_sources += [ |
| 411 # Uses <linux/if.h> which has the same defines as <net/if.h> |
| 412 "base/network_interfaces_posix.cc", |
| 413 ] |
| 414 } |
| 415 } |
| 416 |
| 354 net_unfiltered_sources = [] | 417 net_unfiltered_sources = [] |
| 355 | 418 |
| 356 deps = [ | 419 deps = [ |
| 357 ":constants", | 420 ":constants", |
| 358 ":net_resources", | 421 ":net_resources", |
| 359 "//base", | 422 "//base", |
| 360 "//net/base/registry_controlled_domains", | 423 "//net/base/registry_controlled_domains", |
| 361 "//net/data/ssl/certificate_transparency:ct_log_list", | 424 "//net/data/ssl/certificate_transparency:ct_log_list", |
| 362 "//net/http:generate_transport_security_state", | 425 "//net/http:generate_transport_security_state", |
| 363 "//third_party/protobuf:protobuf_lite", | 426 "//third_party/protobuf:protobuf_lite", |
| (...skipping 5770 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6134 ] | 6197 ] |
| 6135 deps = [ | 6198 deps = [ |
| 6136 ":net_fuzzer_test_support", | 6199 ":net_fuzzer_test_support", |
| 6137 ":test_support", | 6200 ":test_support", |
| 6138 "//base", | 6201 "//base", |
| 6139 "//net", | 6202 "//net", |
| 6140 ] | 6203 ] |
| 6141 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" | 6204 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" |
| 6142 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" | 6205 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" |
| 6143 } | 6206 } |
| OLD | NEW |