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

Unified Diff: net/http/BUILD.gn

Issue 2680933009: Add unittests for HSTS decoding. (Closed)
Patch Set: Comment rsleevi. Created 3 years, 9 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_unittest.pins » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..72f6d696d22f1036b1d9326aba624aab2996d131
--- /dev/null
+++ b/net/http/BUILD.gn
@@ -0,0 +1,26 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/compiled_action.gni")
+
+compiled_action_foreach("transport_security_state_unittest_data") {
+ tool = "//net/tools/transport_security_state_generator"
+ sources = [
+ "transport_security_state_static_unittest1.json",
+ "transport_security_state_static_unittest2.json",
+ "transport_security_state_static_unittest3.json",
+ ]
+
+ # Inputs in order expected by the command line of the tool.
+ inputs = [
+ "transport_security_state_static_unittest.pins",
+ "transport_security_state_static_unittest.template",
+ ]
+ outputs = [
+ "$target_gen_dir/{{source_name_part}}.h",
+ ]
+ args =
+ [ rebase_path("{{source_name_part}}.json", root_build_dir) ] +
+ rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
+}
« no previous file with comments | « net/BUILD.gn ('k') | net/http/transport_security_state_static_unittest.pins » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698