| # Copyright 2020 The Fuchsia 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") | |
| template("cmc") { | |
| compiled_action(target_name) { | |
| forward_variables_from(invoker, | |
| [ | |
| "args", | |
| "depfile", | |
| "deps", | |
| "inputs", | |
| "outputs", | |
| "sources", | |
| "public_deps", | |
| "testonly", | |
| "visibility", | |
| ]) | |
| tool = "//tools/cmc" | |
| tool_output_name = "cmc" | |
| } | |
| } |