Index: net/http/BUILD.gn |
diff --git a/net/http/BUILD.gn b/net/http/BUILD.gn |
index e51061939fa3addbc41df6b73949e87c2e3e6d7e..86a29ef8a604954a29ca2f437f0eadede8df29a2 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,8 +17,9 @@ 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) + |
+ [ "--filter-level=$hsts_preload_list_filter_level" ] |
} |
compiled_action_foreach("transport_security_state_unittest_data") { |