| 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)
|
| +}
|
|
|