Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(362)

Side by Side Diff: net/BUILD.gn

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/utility/BUILD.gn ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 source_set("constants") { 102 source_set("constants") {
102 sources = [ 103 sources = [
103 "base/trace_constants.cc", 104 "base/trace_constants.cc",
104 "base/trace_constants.h", 105 "base/trace_constants.h",
105 ] 106 ]
106 deps = [ 107 deps = [
107 "//base", 108 "//base",
108 ] 109 ]
109 } 110 }
110 111
111 component("net") { 112 jumbo_component("net") {
113 target_type = "component"
112 sources = [ 114 sources = [
113 "base/address_family.cc", 115 "base/address_family.cc",
114 "base/address_family.h", 116 "base/address_family.h",
115 "base/address_list.cc", 117 "base/address_list.cc",
116 "base/address_list.h", 118 "base/address_list.h",
117 "base/auth.cc", 119 "base/auth.cc",
118 "base/auth.h", 120 "base/auth.h",
119 "base/completion_callback.h", 121 "base/completion_callback.h",
120 "base/escape.cc", 122 "base/escape.cc",
121 "base/escape.h", 123 "base/escape.h",
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 "http/http_raw_request_headers.cc", 280 "http/http_raw_request_headers.cc",
279 "http/http_raw_request_headers.h", 281 "http/http_raw_request_headers.h",
280 "http/http_request_headers.cc", 282 "http/http_request_headers.cc",
281 "http/http_request_headers.h", 283 "http/http_request_headers.h",
282 "http/http_response_headers.cc", 284 "http/http_response_headers.cc",
283 "http/http_response_headers.h", 285 "http/http_response_headers.h",
284 "http/http_response_info.cc", 286 "http/http_response_info.cc",
285 "http/http_response_info.h", 287 "http/http_response_info.h",
286 "http/http_security_headers.cc", 288 "http/http_security_headers.cc",
287 "http/http_security_headers.h", 289 "http/http_security_headers.h",
288 "http/http_status_code_list", 290 "http/http_status_code_list.h",
289 "http/http_util.cc", 291 "http/http_util.cc",
290 "http/http_util.h", 292 "http/http_util.h",
291 "http/http_vary_data.cc", 293 "http/http_vary_data.cc",
292 "http/http_vary_data.h", 294 "http/http_vary_data.h",
293 "http/transport_security_state.cc", 295 "http/transport_security_state.cc",
294 "http/transport_security_state.h", 296 "http/transport_security_state.h",
295 "http/transport_security_state_source.cc", 297 "http/transport_security_state_source.cc",
296 "http/transport_security_state_source.h", 298 "http/transport_security_state_source.h",
297 "log/net_log.cc", 299 "log/net_log.cc",
298 "log/net_log.h", 300 "log/net_log.h",
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 "ssl/ssl_config_service.h", 354 "ssl/ssl_config_service.h",
353 "ssl/ssl_connection_status_flags.h", 355 "ssl/ssl_connection_status_flags.h",
354 "ssl/ssl_info.cc", 356 "ssl/ssl_info.cc",
355 "ssl/ssl_info.h", 357 "ssl/ssl_info.h",
356 "ssl/ssl_private_key.h", 358 "ssl/ssl_private_key.h",
357 "ssl/ssl_server_config.cc", 359 "ssl/ssl_server_config.cc",
358 "ssl/ssl_server_config.h", 360 "ssl/ssl_server_config.h",
359 "ssl/token_binding.cc", 361 "ssl/token_binding.cc",
360 "ssl/token_binding.h", 362 "ssl/token_binding.h",
361 ] 363 ]
364
365 jumbo_excluded_sources = [
366 ]
367 if (!is_nacl) {
368 jumbo_excluded_sources += [
369 # Something with templates and Entry classes.
370 "disk_cache/net_log_parameters.cc",
371
372 # Too many WriteResult enums.
373 "disk_cache/simple/simple_entry_impl.cc",
374
375 # Too many RecordWriteResult.
376 "disk_cache/simple/simple_synchronous_entry.cc",
377
378 # Same UMA macro CACHE_UMA_BACKEND_IMPL_OBJ in both entry_impl.cc
379 # and backend_impl.cc
380 "disk_cache/blockfile/entry_impl.cc",
381 "disk_cache/blockfile/backend_impl.cc",
382 "disk_cache/blockfile/eviction.cc",
383
384 # cubic_bytes.cc, cubic.cc, tcp_cubic_sender_base.cc,
385 # tcp_cubic_sender_packets.cc and tcp_cubic_sender_bytes.cc use
386 # the same constants (many)
387 "quic/core/congestion_control/cubic_bytes.cc",
388 "quic/core/congestion_control/cubic.cc",
389 "quic/core/congestion_control/tcp_cubic_sender_packets.cc",
390 "quic/core/congestion_control/tcp_cubic_sender_bytes.cc",
391
392 # Using the same functions, same constants.
393 "quic/core/crypto/aes_128_gcm_12_decrypter.cc",
394 "quic/core/crypto/aes_128_gcm_12_encrypter.cc",
395
396 # Using the same constants.
397 "quic/core/crypto/chacha20_poly1305_decrypter.cc",
398 "quic/core/crypto/chacha20_poly1305_encrypter.cc",
399
400 # Same RETURN_STRING_LITERAL as quic/core/crypto/crypto_utils.cc
401 "quic/core/quic_error_codes.cc",
402 "quic/core/quic_utils.cc",
403
404 # Too many kReadBufferSize
405 "quic/core/quic_spdy_session.cc",
406 "spdy/chromium/spdy_session.cc",
407
408 # Not C++
409 "http2/hpack/hpack_static_table_entries.inc",
410
411 # Too many (identical) ScopedBoolSaver classes.
412 # Also in quic_chromium_client_stream.cc.
413 "quic/chromium/bidirectional_stream_quic_impl.cc",
414
415 # Too many kExpirationKey and NetLogCallback.
416 "http/http_server_properties_manager.cc",
417
418 # HttpBasicState::read_buf() mising.
419 "http/http_basic_state.cc",
420
421 # Too many kValueSeparator.
422 "cookies/parsed_cookie.cc",
423 ]
424
425 if (use_nss_certs) {
426 jumbo_excluded_sources += [
427 # NSS and BoringSSL share header defines
428 "ssl/client_cert_store_nss.cc",
429 "ssl/ssl_platform_key_nss.cc",
430 "third_party/nss/ssl/cmpcert.cc",
431 "third_party/mozilla_security_manager/nsNSSCertificateDB.cpp",
432 "third_party/mozilla_security_manager/nsPKCS12Blob.cpp",
433 "cert/cert_verify_proc.cc",
434 "cert/cert_verify_proc_nss.cc",
435 "cert/ev_root_ca_metadata.cc",
436 "cert/internal/system_trust_store.cc",
437 "cert/internal/trust_store_nss.cc",
438 "cert/known_roots_nss.cc",
439 "cert/nss_cert_database.cc",
440 "cert/test_root_certs.cc",
441 "cert/test_root_certs_nss.cc",
442 "cert/x509_certificate_nss.cc",
443 "cert/x509_util_nss.cc",
444 ]
445 }
446
447 if (is_posix) {
448 jumbo_excluded_sources += [
449 # Uses <linux/if.h> which has the same defines as <net/if.h>
450 "base/network_interfaces_posix.cc",
451 "base/network_interfaces_linux.cc",
452
453 # IFF_LOWER_UP or IF_OPER_UP?
454 "base/address_tracker_linux.cc",
455 ]
456 }
457 }
458
362 net_unfiltered_sources = [] 459 net_unfiltered_sources = []
363 460
364 deps = [ 461 deps = [
365 ":constants", 462 ":constants",
366 ":net_resources", 463 ":net_resources",
367 "//base", 464 "//base",
368 "//net/base/registry_controlled_domains", 465 "//net/base/registry_controlled_domains",
369 "//net/data/ssl/certificate_transparency:ct_log_list", 466 "//net/data/ssl/certificate_transparency:ct_log_list",
370 "//third_party/protobuf:protobuf_lite", 467 "//third_party/protobuf:protobuf_lite",
371 "//url:url_features", 468 "//url:url_features",
(...skipping 5856 matching lines...) Expand 10 before | Expand all | Expand 10 after
6228 ] 6325 ]
6229 deps = [ 6326 deps = [
6230 ":net_fuzzer_test_support", 6327 ":net_fuzzer_test_support",
6231 ":test_support", 6328 ":test_support",
6232 "//base", 6329 "//base",
6233 "//net", 6330 "//net",
6234 ] 6331 ]
6235 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict" 6332 dict = "data/fuzzer_dictionaries/net_spdy_session_fuzzer.dict"
6236 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/" 6333 seed_corpus = "data/fuzzer_data/net_spdy_session_fuzzer/"
6237 } 6334 }
OLDNEW
« no previous file with comments | « content/utility/BUILD.gn ('k') | net/cookies/cookie_monster.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698