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

Side by Side Diff: net/BUILD.gn

Issue 2174853002: [Mac/GN] Do not include unnecessary bundle data from //net. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 4 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 | « no previous file | no next file » | 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/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 "//base", 622 "//base",
623 "//base/test:test_support", 623 "//base/test:test_support",
624 "//crypto", 624 "//crypto",
625 "//net", 625 "//net",
626 "//net/tools/tld_cleanup", 626 "//net/tools/tld_cleanup",
627 "//testing/gmock", 627 "//testing/gmock",
628 "//testing/gtest", 628 "//testing/gtest",
629 "//url", 629 "//url",
630 ] 630 ]
631 631
632 deps = [ 632 deps = []
633 ":test_support_bundle_data",
634 ]
635 633
636 data = [ 634 data = [
637 "data/", 635 "data/",
638 ] 636 ]
639 637
640 if (!is_ios) { 638 if (is_ios) {
639 deps += [ ":test_support_bundle_data" ]
640 } else {
641 public_deps += [ "//third_party/protobuf:py_proto" ] 641 public_deps += [ "//third_party/protobuf:py_proto" ]
642 } 642 }
643 643
644 if (use_nss_certs) { 644 if (use_nss_certs) {
645 public_deps += [ "//crypto:platform" ] 645 public_deps += [ "//crypto:platform" ]
646 } 646 }
647 647
648 if (is_android) { 648 if (is_android) {
649 sources += [ 649 sources += [
650 "test/spawned_test_server/remote_test_server.cc", 650 "test/spawned_test_server/remote_test_server.cc",
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 1332
1333 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1333 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1334 "//build/config/compiler:no_size_t_to_int_warning", 1334 "//build/config/compiler:no_size_t_to_int_warning",
1335 ] 1335 ]
1336 defines = [] 1336 defines = []
1337 1337
1338 deps = [ 1338 deps = [
1339 ":balsa", 1339 ":balsa",
1340 ":extras", 1340 ":extras",
1341 ":net", 1341 ":net",
1342 ":net_unittests_bundle_data",
1343 ":simple_quic_tools", 1342 ":simple_quic_tools",
1344 ":stale_while_revalidate_experiment_domains", 1343 ":stale_while_revalidate_experiment_domains",
1345 ":test_support", 1344 ":test_support",
1346 "//base", 1345 "//base",
1347 "//base:i18n", 1346 "//base:i18n",
1348 "//base/third_party/dynamic_annotations", 1347 "//base/third_party/dynamic_annotations",
1349 "//crypto", 1348 "//crypto",
1350 "//crypto:platform", 1349 "//crypto:platform",
1351 "//crypto:test_support", 1350 "//crypto:test_support",
1352 "//net/base/registry_controlled_domains", 1351 "//net/base/registry_controlled_domains",
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1539 1538
1540 # Needs GetAppOutput(). 1539 # Needs GetAppOutput().
1541 "test/python_utils_unittest.cc", 1540 "test/python_utils_unittest.cc",
1542 1541
1543 # The following tests are disabled because they don't apply to 1542 # The following tests are disabled because they don't apply to
1544 # iOS. 1543 # iOS.
1545 # OS is not "linux" or "freebsd" or "openbsd". 1544 # OS is not "linux" or "freebsd" or "openbsd".
1546 "socket/unix_domain_client_socket_posix_unittest.cc", 1545 "socket/unix_domain_client_socket_posix_unittest.cc",
1547 "socket/unix_domain_server_socket_posix_unittest.cc", 1546 "socket/unix_domain_server_socket_posix_unittest.cc",
1548 ] 1547 ]
1548
1549 bundle_deps = [ ":net_unittests_bundle_data" ]
1549 } 1550 }
1550 1551
1551 # Unit tests that aren't supported by the current ICU alternatives on Android. 1552 # Unit tests that aren't supported by the current ICU alternatives on Android.
1552 if (is_android && use_platform_icu_alternatives) { 1553 if (is_android && use_platform_icu_alternatives) {
1553 sources -= [ 1554 sources -= [
1554 "base/filename_util_unittest.cc", 1555 "base/filename_util_unittest.cc",
1555 "base/url_util_unittest.cc", 1556 "base/url_util_unittest.cc",
1556 "cert/x509_certificate_unittest.cc", 1557 "cert/x509_certificate_unittest.cc",
1557 "proxy/proxy_resolver_v8_unittest.cc", 1558 "proxy/proxy_resolver_v8_unittest.cc",
1558 "url_request/url_request_job_unittest.cc", 1559 "url_request/url_request_job_unittest.cc",
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
2001 "url_request/url_request_fuzzer.cc", 2002 "url_request/url_request_fuzzer.cc",
2002 ] 2003 ]
2003 deps = [ 2004 deps = [
2004 ":net_fuzzer_test_support", 2005 ":net_fuzzer_test_support",
2005 ":test_support", 2006 ":test_support",
2006 "//base", 2007 "//base",
2007 "//net", 2008 "//net",
2008 ] 2009 ]
2009 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict" 2010 dict = "data/fuzzer_dictionaries/net_url_request_fuzzer.dict"
2010 } 2011 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698