Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Copyright 2019 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/package.gni")
- group("cpp") {
- deps = [ ":hello_world_cpp" ]
- }
- executable("bin") {
- output_name = "hello_world_cpp"
- sources = [ "hello_world.cc" ]
- deps = [ "//sdk/fidl/fuchsia.boot",
- "//sdk/fidl/fuchsia.hardware.virtioconsole:fuchsia.hardware.virtioconsole_llcpp",
- "//sdk/fidl/fuchsia.kernel",
- "//sdk/lib/fdio",
- "//sdk/lib/sys/cpp",
- "//sdk/lib/syslog/cpp",
- "//sdk/lib/syslog/cpp:backend_legacy",
- "//zircon/public/lib/zircon-internal",
- "//zircon/public/lib/zx",
- ]
- public_deps = [
- "//sdk/fidl/fuchsia.boot:fuchsia.boot_llcpp",
- "//sdk/fidl/fuchsia.virtualconsole:fuchsia.virtualconsole_llcpp",
- "//zircon/public/lib/fbl",
- "//zircon/system/ulib/zxc",
- ]
- }
- package("hello_world_cpp") {
- deps = [ ":bin" ]
- binaries = [
- {
- name = "hello_world_cpp"
- },
- ]
- meta = [
- {
- path = rebase_path("meta/hello_world_cpp.cmx")
- dest = "hello_world_cpp.cmx"
- },
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment