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

Side by Side Diff: net/BUILD.gn

Issue 2662673002: Restrict the set of WoSign/StartCom certs to the Alexa Top 1M (Closed)
Patch Set: Created 3 years, 10 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 | net/cert/cert_verify_proc.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/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 component("net") { 99 component("net") {
100 sources = gypi_values.net_nacl_common_sources 100 sources = gypi_values.net_nacl_common_sources
101 net_unfiltered_sources = [] 101 net_unfiltered_sources = []
102 102
103 deps = [ 103 deps = [
104 ":constants", 104 ":constants",
105 ":net_resources", 105 ":net_resources",
106 "//base", 106 "//base",
107 "//net/base/registry_controlled_domains", 107 "//net/base/registry_controlled_domains",
108 "//net/data/ssl/wosign:wosign_domains",
108 "//third_party/protobuf:protobuf_lite", 109 "//third_party/protobuf:protobuf_lite",
109 "//url:url_features", 110 "//url:url_features",
110 ] 111 ]
111 112
112 public_deps = [ 113 public_deps = [
113 ":net_quic_proto", 114 ":net_quic_proto",
114 "//crypto", 115 "//crypto",
115 "//crypto:platform", 116 "//crypto:platform",
116 ] 117 ]
117 118
(...skipping 1125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1243 1244
1244 configs += [ 1245 configs += [
1245 "//build/config:precompiled_headers", 1246 "//build/config:precompiled_headers",
1246 1247
1247 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 1248 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
1248 "//build/config/compiler:no_size_t_to_int_warning", 1249 "//build/config/compiler:no_size_t_to_int_warning",
1249 ] 1250 ]
1250 defines = [] 1251 defines = []
1251 1252
1252 deps = [ 1253 deps = [
1254 ":cert_verify_proc_whitelist_unittest_data",
1253 ":extras", 1255 ":extras",
1254 ":net", 1256 ":net",
1255 ":simple_quic_tools", 1257 ":simple_quic_tools",
1256 ":test_support", 1258 ":test_support",
1257 "//base", 1259 "//base",
1258 "//base:i18n", 1260 "//base:i18n",
1259 "//base/third_party/dynamic_annotations", 1261 "//base/third_party/dynamic_annotations",
1260 "//crypto", 1262 "//crypto",
1261 "//crypto:platform", 1263 "//crypto:platform",
1262 "//crypto:test_support", 1264 "//crypto:test_support",
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
1586 1588
1587 # Some linker failures have been observed for this target on the Win64 1589 # Some linker failures have been observed for this target on the Win64
1588 # continuous builder, see crbug.com/659369. 1590 # continuous builder, see crbug.com/659369.
1589 # TODO(sebmarchand): Remove this once we have some data. 1591 # TODO(sebmarchand): Remove this once we have some data.
1590 if (is_win && linkrepro_root_dir != "") { 1592 if (is_win && linkrepro_root_dir != "") {
1591 ldflags = [ "/LINKREPRO:" + linkrepro_root_dir + "/" + target_name ] 1593 ldflags = [ "/LINKREPRO:" + linkrepro_root_dir + "/" + target_name ]
1592 } 1594 }
1593 } 1595 }
1594 } 1596 }
1595 1597
1598 action_foreach("cert_verify_proc_whitelist_unittest_data") {
1599 script = "//net/tools/dafsa/make_dafsa.py"
1600 sources = [
1601 "//net/cert/cert_verify_proc_whitelist_unittest1.gperf",
1602 ]
1603 outputs = [
1604 "${target_gen_dir}/cert/{{source_name_part}}-inc.cc",
1605 ]
1606 args = [
1607 "{{source}}",
1608 rebase_path("${target_gen_dir}/cert/{{source_name_part}}-inc.cc",
1609 root_build_dir),
1610 ]
1611 }
1612
1596 # Fuzzers 1613 # Fuzzers
1597 1614
1598 # This has a global (InitGlobals) that must always be linked in, so 1615 # This has a global (InitGlobals) that must always be linked in, so
1599 # must be a source set instead of a static library. 1616 # must be a source set instead of a static library.
1600 source_set("net_fuzzer_test_support") { 1617 source_set("net_fuzzer_test_support") {
1601 testonly = true 1618 testonly = true
1602 1619
1603 sources = [ 1620 sources = [
1604 "base/fuzzer_test_support.cc", 1621 "base/fuzzer_test_support.cc",
1605 "dns/fuzzed_host_resolver.cc", 1622 "dns/fuzzed_host_resolver.cc",
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
2083 if (host_toolchain == current_toolchain) { 2100 if (host_toolchain == current_toolchain) {
2084 executable("domain_security_preload_generator") { 2101 executable("domain_security_preload_generator") {
2085 sources = gypi_values.net_domain_security_state_generator_sources 2102 sources = gypi_values.net_domain_security_state_generator_sources
2086 deps = [ 2103 deps = [
2087 "//base", 2104 "//base",
2088 "//crypto", 2105 "//crypto",
2089 "//third_party/boringssl", 2106 "//third_party/boringssl",
2090 ] 2107 ]
2091 } 2108 }
2092 } 2109 }
OLDNEW
« no previous file with comments | « no previous file | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698