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

Unified Diff: net/http/BUILD.gn

Issue 2906633003: Add a build flag to configure bundling of HSTS preload list (Closed)
Patch Set: change flag to INCLUDE_TRANSPORT_SECURITY_STATE_PRELOAD_LIST Created 3 years, 6 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
Index: net/http/BUILD.gn
diff --git a/net/http/BUILD.gn b/net/http/BUILD.gn
index e51061939fa3addbc41df6b73949e87c2e3e6d7e..95d82bdc4f2d17682ec4e9387189e739f9ec4061 100644
--- a/net/http/BUILD.gn
+++ b/net/http/BUILD.gn
@@ -3,6 +3,7 @@
# found in the LICENSE file.
import("//build/compiled_action.gni")
+import("//net/features.gni")
compiled_action("generate_transport_security_state") {
tool = "//net/tools/transport_security_state_generator"
@@ -16,13 +17,14 @@ compiled_action("generate_transport_security_state") {
outputs = [
"$target_gen_dir/transport_security_state_static.h",
]
- args =
- rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
+ args = rebase_path(inputs, root_build_dir) +
+ rebase_path(outputs, root_build_dir) + [ "--include-transport-security-state-preload-list=$include_transport_security_state_preload_list" ]
}
compiled_action_foreach("transport_security_state_unittest_data") {
tool = "//net/tools/transport_security_state_generator"
sources = [
+ "transport_security_state_static_unittest0.json",
"transport_security_state_static_unittest1.json",
"transport_security_state_static_unittest2.json",
"transport_security_state_static_unittest3.json",

Powered by Google App Engine
This is Rietveld 408576698