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

Unified Diff: net/BUILD.gn

Issue 2906633003: Add a build flag to configure bundling of HSTS preload list (Closed)
Patch Set: add one missing file and address lgarron comments Created 3 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 4201f5b5d88d4ba4ca0826f3aa78255a9590f113..9aa45187d9ce7132227eae33cbacf221cebc0c20 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -54,6 +54,7 @@ buildflag_header("features") {
"ENABLE_REPORTING=$enable_reporting",
"ENABLE_WEBSOCKETS=$enable_websockets",
"USE_BYTE_CERTS=$use_byte_certs",
+ "INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST=$include_transport_security_state_preload_list",
]
}
@@ -286,6 +287,7 @@ component("net") {
"http/http_vary_data.h",
"http/transport_security_state.cc",
"http/transport_security_state.h",
+ "http/transport_security_state_source.cc",
"http/transport_security_state_source.h",
"log/net_log.cc",
"log/net_log.h",
@@ -360,11 +362,14 @@ component("net") {
"//base",
"//net/base/registry_controlled_domains",
"//net/data/ssl/certificate_transparency:ct_log_list",
- "//net/http:generate_transport_security_state",
"//third_party/protobuf:protobuf_lite",
"//url:url_features",
]
+ if (include_transport_security_state_preload_list) {
+ deps += [ "//net/http:generate_transport_security_state" ]
+ }
+
public_deps = [
":net_quic_proto",
":traffic_annotation",
« no previous file with comments | « no previous file | net/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698