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

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

Issue 2906633003: Add a build flag to configure bundling of HSTS preload list (Closed)
Patch Set: self (one typo) Created 3 years, 5 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
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 import("//net/features.gni")
6 7
7 compiled_action("generate_transport_security_state") { 8 compiled_action("generate_transport_security_state") {
8 tool = "//net/tools/transport_security_state_generator" 9 tool = "//net/tools/transport_security_state_generator"
9 10
10 # Inputs in order expected by the command line of the tool. 11 # Inputs in order expected by the command line of the tool.
11 inputs = [ 12 inputs = [
12 "transport_security_state_static.json", 13 "transport_security_state_static.json",
13 "transport_security_state_static.pins", 14 "transport_security_state_static.pins",
14 "transport_security_state_static.template", 15 "transport_security_state_static.template",
15 ] 16 ]
16 outputs = [ 17 outputs = [
17 "$target_gen_dir/transport_security_state_static.h", 18 "$target_gen_dir/transport_security_state_static.h",
18 ] 19 ]
19 args = 20 args =
20 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) 21 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
21 } 22 }
22 23
23 compiled_action_foreach("transport_security_state_unittest_data") { 24 compiled_action_foreach("transport_security_state_unittest_data") {
24 tool = "//net/tools/transport_security_state_generator" 25 tool = "//net/tools/transport_security_state_generator"
25 sources = [ 26 sources = [
27 "transport_security_state_static_unittest0.json",
26 "transport_security_state_static_unittest1.json", 28 "transport_security_state_static_unittest1.json",
27 "transport_security_state_static_unittest2.json", 29 "transport_security_state_static_unittest2.json",
28 "transport_security_state_static_unittest3.json", 30 "transport_security_state_static_unittest3.json",
29 ] 31 ]
30 32
31 # Inputs in order expected by the command line of the tool. 33 # Inputs in order expected by the command line of the tool.
32 inputs = [ 34 inputs = [
33 "transport_security_state_static_unittest.pins", 35 "transport_security_state_static_unittest.pins",
34 "transport_security_state_static_unittest.template", 36 "transport_security_state_static_unittest.template",
35 ] 37 ]
36 outputs = [ 38 outputs = [
37 "$target_gen_dir/{{source_name_part}}.h", 39 "$target_gen_dir/{{source_name_part}}.h",
38 ] 40 ]
39 args = 41 args =
40 [ rebase_path("{{source_name_part}}.json", root_build_dir) ] + 42 [ rebase_path("{{source_name_part}}.json", root_build_dir) ] +
41 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) 43 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir)
42 } 44 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698