blob: 1516353cff9fafb6570753b4bc98a82613d9c2a8 [file] [log] [blame]
# Copyright 2015 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.
# Creates a symlink.
# Args:
# source: Path to link to.
# output: Where to create the symlink.
template("symlink") {
action(target_name) {
forward_variables_from(invoker,
[
"data_deps",
"deps",
"testonly",
"visibility",
])
outputs = [ invoker.output ]
script = "//src/lib/vulkan/build/symlink.py"
args = [
"-f",
rebase_path(invoker.source, get_path_info(invoker.output, "dir")),
rebase_path(invoker.output, root_build_dir),
]
}
}