| OLD | NEW |
| (Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//build/compiled_action.gni") |
| 6 |
| 7 compiled_action_foreach("transport_security_state_unittest_data") { |
| 8 tool = "//net/tools/transport_security_state_generator" |
| 9 sources = [ |
| 10 "transport_security_state_static_unittest1.json", |
| 11 "transport_security_state_static_unittest2.json", |
| 12 "transport_security_state_static_unittest3.json", |
| 13 ] |
| 14 |
| 15 # Inputs in order expected by the command line of the tool. |
| 16 inputs = [ |
| 17 "transport_security_state_static_unittest.pins", |
| 18 "transport_security_state_static_unittest.template", |
| 19 ] |
| 20 outputs = [ |
| 21 "$target_gen_dir/{{source_name_part}}.h", |
| 22 ] |
| 23 args = |
| 24 [ rebase_path("{{source_name_part}}.json", root_build_dir) ] + |
| 25 rebase_path(inputs, root_build_dir) + rebase_path(outputs, root_build_dir) |
| 26 } |
| OLD | NEW |