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

Side by Side Diff: net/http/BUILD.gn

Issue 2811733003: Revert "Make transport security state generation part of the build." (Closed)
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « net/BUILD.gn ('k') | net/http/transport_security_state_static.template » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/compiled_action.gni") 5 import("//build/compiled_action.gni")
6 6
7 compiled_action("generate_transport_security_state") {
8 tool = "//net/tools/transport_security_state_generator"
9
10 # Inputs in order expected by the command line of the tool.
11 inputs = [
12 "transport_security_state_static.json",
13 "transport_security_state_static.pins",
14 "transport_security_state_static.template",
15 ]
16 outputs = [
17 "$target_gen_dir/transport_security_state_static.h",
18 ]
19 args =
20 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
21 }
22
23 compiled_action_foreach("transport_security_state_unittest_data") { 7 compiled_action_foreach("transport_security_state_unittest_data") {
24 tool = "//net/tools/transport_security_state_generator" 8 tool = "//net/tools/transport_security_state_generator"
25 sources = [ 9 sources = [
26 "transport_security_state_static_unittest1.json", 10 "transport_security_state_static_unittest1.json",
27 "transport_security_state_static_unittest2.json", 11 "transport_security_state_static_unittest2.json",
28 "transport_security_state_static_unittest3.json", 12 "transport_security_state_static_unittest3.json",
29 ] 13 ]
30 14
31 # Inputs in order expected by the command line of the tool. 15 # Inputs in order expected by the command line of the tool.
32 inputs = [ 16 inputs = [
33 "transport_security_state_static_unittest.pins", 17 "transport_security_state_static_unittest.pins",
34 "transport_security_state_static_unittest.template", 18 "transport_security_state_static_unittest.template",
35 ] 19 ]
36 outputs = [ 20 outputs = [
37 "$target_gen_dir/{{source_name_part}}.h", 21 "$target_gen_dir/{{source_name_part}}.h",
38 ] 22 ]
39 args = 23 args =
40 [ rebase_path("{{source_name_part}}.json", root_build_dir) ] + 24 [ rebase_path("{{source_name_part}}.json", root_build_dir) ] +
41 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) 25 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
42 } 26 }
OLDNEW
« 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