# Copyright 2022 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. | |
load("@rules_fuchsia//:defs.bzl", "fuchsia_package_resource") | |
cc_binary( | |
name = "hello_world", | |
srcs = ["main.cc"], | |
) | |
fuchsia_package_resource( | |
name = "resource", | |
src = "main.cc", | |
dest = "data/main.cc", | |
) |