Guest User

Untitled

a guest
Dec 14th, 2020
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. # Copyright 2019 The Fuchsia 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/package.gni")
  6.  
  7. group("cpp") {
  8. deps = [ ":hello_world_cpp" ]
  9. }
  10.  
  11. executable("bin") {
  12. output_name = "hello_world_cpp"
  13.  
  14. sources = [ "hello_world.cc" ]
  15. deps = [ "//sdk/fidl/fuchsia.boot",
  16. "//sdk/fidl/fuchsia.hardware.virtioconsole:fuchsia.hardware.virtioconsole_llcpp",
  17. "//sdk/fidl/fuchsia.kernel",
  18. "//sdk/lib/fdio",
  19. "//sdk/lib/sys/cpp",
  20. "//sdk/lib/syslog/cpp",
  21. "//sdk/lib/syslog/cpp:backend_legacy",
  22. "//zircon/public/lib/zircon-internal",
  23. "//zircon/public/lib/zx",
  24. ]
  25.  
  26.  
  27. public_deps = [
  28. "//sdk/fidl/fuchsia.boot:fuchsia.boot_llcpp",
  29. "//sdk/fidl/fuchsia.virtualconsole:fuchsia.virtualconsole_llcpp",
  30. "//zircon/public/lib/fbl",
  31. "//zircon/system/ulib/zxc",
  32. ]
  33. }
  34.  
  35. package("hello_world_cpp") {
  36. deps = [ ":bin" ]
  37. binaries = [
  38. {
  39. name = "hello_world_cpp"
  40. },
  41. ]
  42.  
  43. meta = [
  44. {
  45. path = rebase_path("meta/hello_world_cpp.cmx")
  46. dest = "hello_world_cpp.cmx"
  47. },
  48. ]
  49. }
  50.  
Advertisement
Add Comment
Please, Sign In to add comment