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/config/crypto.gni") | 5 import("//build/config/crypto.gni") |
6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 import("//url/config.gni") | 8 import("//url/config.gni") |
9 | 9 |
10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. | 10 # TODO(cjhopman): //build/config/android/rules.gni also imports grit_rule.gni. |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
681 "url_request/test_url_fetcher_factory.h", | 681 "url_request/test_url_fetcher_factory.h", |
682 "url_request/url_request_test_util.cc", | 682 "url_request/url_request_test_util.cc", |
683 "url_request/url_request_test_util.h", | 683 "url_request/url_request_test_util.h", |
684 ] | 684 ] |
685 | 685 |
686 configs += [ ":net_win_size_truncation" ] | 686 configs += [ ":net_win_size_truncation" ] |
687 | 687 |
688 deps = [ | 688 deps = [ |
689 "//base", | 689 "//base", |
690 "//base/test:test_support", | 690 "//base/test:test_support", |
691 "//crypto:platform", | 691 "//crypto", |
692 "//net", | 692 "//net", |
693 "//net/tools/tld_cleanup", | 693 "//net/tools/tld_cleanup", |
694 "//testing/gmock", | 694 "//testing/gmock", |
695 "//testing/gtest", | 695 "//testing/gtest", |
696 "//url", | 696 "//url", |
697 ] | 697 ] |
698 | 698 |
699 if (is_ios) { | 699 if (is_ios) { |
700 deps += [ "//third_party/nss" ] | 700 deps += [ "//third_party/nss" ] |
701 } | 701 } |
(...skipping 11 matching lines...) Expand all Loading... |
713 deps += [ ":net_with_v8" ] | 713 deps += [ ":net_with_v8" ] |
714 } | 714 } |
715 | 715 |
716 if (!enable_mdns) { | 716 if (!enable_mdns) { |
717 sources -= [ | 717 sources -= [ |
718 "dns/mock_mdns_socket_factory.cc", | 718 "dns/mock_mdns_socket_factory.cc", |
719 "dns/mock_mdns_socket_factory.h", | 719 "dns/mock_mdns_socket_factory.h", |
720 ] | 720 ] |
721 } | 721 } |
722 | 722 |
723 if (!use_nss_certs) { | 723 if (use_nss_certs) { |
| 724 deps += ["//crypto:platform" ] |
| 725 } else { |
724 sources -= [ | 726 sources -= [ |
725 "test/cert_test_util_nss.cc", | 727 "test/cert_test_util_nss.cc", |
726 ] | 728 ] |
727 } | 729 } |
728 | 730 |
729 forward_dependent_configs_from = deps | 731 forward_dependent_configs_from = deps |
730 } | 732 } |
731 | 733 |
732 source_set("balsa") { | 734 source_set("balsa") { |
733 sources = [ | 735 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
746 "tools/balsa/simple_buffer.h", | 748 "tools/balsa/simple_buffer.h", |
747 "tools/balsa/split.cc", | 749 "tools/balsa/split.cc", |
748 "tools/balsa/split.h", | 750 "tools/balsa/split.h", |
749 "tools/balsa/string_piece_utils.h", | 751 "tools/balsa/string_piece_utils.h", |
750 "tools/quic/spdy_utils.cc", | 752 "tools/quic/spdy_utils.cc", |
751 "tools/quic/spdy_utils.h", | 753 "tools/quic/spdy_utils.h", |
752 ] | 754 ] |
753 deps = [ | 755 deps = [ |
754 ":net", | 756 ":net", |
755 "//base", | 757 "//base", |
| 758 "//url", |
756 ] | 759 ] |
757 } | 760 } |
758 | 761 |
759 if (use_v8_in_net) { | 762 if (use_v8_in_net) { |
760 component("net_with_v8") { | 763 component("net_with_v8") { |
761 sources = [ | 764 sources = [ |
762 "proxy/proxy_resolver_v8.cc", | 765 "proxy/proxy_resolver_v8.cc", |
763 "proxy/proxy_resolver_v8.h", | 766 "proxy/proxy_resolver_v8.h", |
764 "proxy/proxy_resolver_v8_tracing.cc", | 767 "proxy/proxy_resolver_v8_tracing.cc", |
765 "proxy/proxy_resolver_v8_tracing.h", | 768 "proxy/proxy_resolver_v8_tracing.h", |
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
839 if (use_v8_in_net) { | 842 if (use_v8_in_net) { |
840 executable("net_watcher") { | 843 executable("net_watcher") { |
841 sources = [ "tools/net_watcher/net_watcher.cc" ] | 844 sources = [ "tools/net_watcher/net_watcher.cc" ] |
842 deps = [ | 845 deps = [ |
843 ":net", | 846 ":net", |
844 ":net_with_v8", | 847 ":net_with_v8", |
845 "//base", | 848 "//base", |
846 ] | 849 ] |
847 | 850 |
848 if (is_linux) { | 851 if (is_linux) { |
849 configs += [ "//build/config/linux:gconf" ] | 852 configs += [ |
| 853 "//build/config/linux:gconf", |
| 854 "//build/config/linux:glib", |
| 855 ] |
850 deps += [ "//build/config/linux:gio" ] | 856 deps += [ "//build/config/linux:gio" ] |
851 } | 857 } |
852 } | 858 } |
853 } | 859 } |
854 | 860 |
855 executable("run_testserver") { | 861 executable("run_testserver") { |
856 sources = [ "tools/testserver/run_testserver.cc" ] | 862 sources = [ "tools/testserver/run_testserver.cc" ] |
857 deps = [ | 863 deps = [ |
858 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not | 864 ":net", # TODO(brettw) bug 363749: this shouldn't be necessary. It's not |
859 # in the GYP build, and can be removed when the bug is fixed. | 865 # in the GYP build, and can be removed when the bug is fixed. |
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1348 sources = [ "quic/quic_server_bin.cc" ] | 1354 sources = [ "quic/quic_server_bin.cc" ] |
1349 deps = [ | 1355 deps = [ |
1350 ":quic_tools", | 1356 ":quic_tools", |
1351 ":net", | 1357 ":net", |
1352 "//base", | 1358 "//base", |
1353 "//third_party/boringssl", | 1359 "//third_party/boringssl", |
1354 ] | 1360 ] |
1355 } | 1361 } |
1356 | 1362 |
1357 } # !is_android | 1363 } # !is_android |
OLD | NEW |