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

Unified Diff: net/http/BUILD.gn

Issue 2574413002: Make static (preloaded) security state generation part of the build process. (Closed)
Patch Set: rebase Created 3 years, 8 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 | « net/BUILD.gn ('k') | net/http/transport_security_state_static.template » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/BUILD.gn
diff --git a/net/http/BUILD.gn b/net/http/BUILD.gn
index 72f6d696d22f1036b1d9326aba624aab2996d131..e51061939fa3addbc41df6b73949e87c2e3e6d7e 100644
--- a/net/http/BUILD.gn
+++ b/net/http/BUILD.gn
@@ -4,6 +4,22 @@
import("//build/compiled_action.gni")
+compiled_action("generate_transport_security_state") {
+ tool = "//net/tools/transport_security_state_generator"
+
+ # Inputs in order expected by the command line of the tool.
+ inputs = [
+ "transport_security_state_static.json",
+ "transport_security_state_static.pins",
+ "transport_security_state_static.template",
+ ]
+ outputs = [
+ "$target_gen_dir/transport_security_state_static.h",
+ ]
+ args =
+ rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
+}
+
compiled_action_foreach("transport_security_state_unittest_data") {
tool = "//net/tools/transport_security_state_generator"
sources = [
« no previous file with comments | « net/BUILD.gn ('k') | net/http/transport_security_state_static.template » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698