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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 deps = [ | 111 deps = [ |
112 ":net_resources", | 112 ":net_resources", |
113 "//base", | 113 "//base", |
114 "//net/base/registry_controlled_domains", | 114 "//net/base/registry_controlled_domains", |
115 "//third_party/protobuf:protobuf_lite", | 115 "//third_party/protobuf:protobuf_lite", |
116 "//url:url_features", | 116 "//url:url_features", |
117 ] | 117 ] |
118 | 118 |
119 public_deps = [ | 119 public_deps = [ |
| 120 ":net_extras_cert_proto", |
120 ":net_quic_proto", | 121 ":net_quic_proto", |
121 "//crypto", | 122 "//crypto", |
122 "//crypto:platform", | 123 "//crypto:platform", |
123 ] | 124 ] |
124 | 125 |
125 if (!is_nacl) { | 126 if (!is_nacl) { |
126 sources += gypi_values.net_non_nacl_sources | 127 sources += gypi_values.net_non_nacl_sources |
127 | 128 |
128 deps += [ | 129 deps += [ |
129 "//base/third_party/dynamic_annotations", | 130 "//base/third_party/dynamic_annotations", |
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
416 | 417 |
417 grit("net_resources") { | 418 grit("net_resources") { |
418 source = "base/net_resources.grd" | 419 source = "base/net_resources.grd" |
419 use_qualified_include = true | 420 use_qualified_include = true |
420 outputs = [ | 421 outputs = [ |
421 "grit/net_resources.h", | 422 "grit/net_resources.h", |
422 "net_resources.pak", | 423 "net_resources.pak", |
423 ] | 424 ] |
424 } | 425 } |
425 | 426 |
| 427 proto_library("net_extras_cert_proto") { |
| 428 visibility = [ ":net" ] |
| 429 |
| 430 sources = [ |
| 431 "extras/cert/proto/cert_verification.proto", |
| 432 ] |
| 433 cc_generator_options = "dllexport_decl=NET_EXPORT_PRIVATE:" |
| 434 cc_include = "net/base/net_export.h" |
| 435 |
| 436 defines = [ "NET_IMPLEMENTATION" ] |
| 437 |
| 438 extra_configs = [ "//build/config/compiler:wexit_time_destructors" ] |
| 439 } |
| 440 |
426 proto_library("net_quic_proto") { | 441 proto_library("net_quic_proto") { |
427 visibility = [ ":net" ] | 442 visibility = [ ":net" ] |
428 | 443 |
429 sources = [ | 444 sources = [ |
430 "quic/proto/cached_network_parameters.proto", | 445 "quic/proto/cached_network_parameters.proto", |
431 "quic/proto/source_address_token.proto", | 446 "quic/proto/source_address_token.proto", |
432 ] | 447 ] |
433 cc_generator_options = "dllexport_decl=NET_EXPORT_PRIVATE:" | 448 cc_generator_options = "dllexport_decl=NET_EXPORT_PRIVATE:" |
434 cc_include = "net/base/net_export.h" | 449 cc_include = "net/base/net_export.h" |
435 | 450 |
(...skipping 1229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 if (symbol_level > 0) { | 1680 if (symbol_level > 0) { |
1666 if (is_win) { | 1681 if (is_win) { |
1667 data += [ "$root_out_dir/net_unittests.exe.pdb" ] | 1682 data += [ "$root_out_dir/net_unittests.exe.pdb" ] |
1668 } else if (is_mac) { | 1683 } else if (is_mac) { |
1669 # TODO(crbug.com/330301): make this conditional on mac_strip_release. | 1684 # TODO(crbug.com/330301): make this conditional on mac_strip_release. |
1670 # data += [ "$root_out_dir/net_unittests.dSYM/" ] | 1685 # data += [ "$root_out_dir/net_unittests.dSYM/" ] |
1671 } | 1686 } |
1672 } | 1687 } |
1673 | 1688 |
1674 if (is_win) { | 1689 if (is_win) { |
1675 libs = [ | 1690 libs = [ "iphlpapi.lib" ] |
1676 "iphlpapi.lib", | |
1677 ] | |
1678 } | 1691 } |
1679 } | 1692 } |
1680 | 1693 |
1681 # !is_android && !is_win && !is_mac | 1694 # !is_android && !is_win && !is_mac |
1682 if (!is_ios) { | 1695 if (!is_ios) { |
1683 # TODO(crbug.com/594965): this should be converted to "app" template and | 1696 # TODO(crbug.com/594965): this should be converted to "app" template and |
1684 # enabled on iOS too. | 1697 # enabled on iOS too. |
1685 executable("net_perftests") { | 1698 executable("net_perftests") { |
1686 testonly = true | 1699 testonly = true |
1687 sources = [ | 1700 sources = [ |
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2032 "url_request/url_request_fuzzer.cc", | 2045 "url_request/url_request_fuzzer.cc", |
2033 ] | 2046 ] |
2034 deps = [ | 2047 deps = [ |
2035 ":net_fuzzer_test_support", | 2048 ":net_fuzzer_test_support", |
2036 ":test_support", | 2049 ":test_support", |
2037 "//base", | 2050 "//base", |
2038 "//net", | 2051 "//net", |
2039 ] | 2052 ] |
2040 dict = "data/http/http.dict" | 2053 dict = "data/http/http.dict" |
2041 } | 2054 } |
OLD | NEW |