| # Copyright 2021 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/components.gni") |
| |
| group("cpp") { |
| deps = [ |
| ":logs-stderr-cpp", |
| ":logs-stdout-and-stderr-cpp", |
| ":logs-stdout-cpp", |
| ] |
| } |
| |
| executable("bin") { |
| output_name = "prints_when_launched_cpp" |
| |
| sources = [ "src/main.cc" ] |
| } |
| |
| fuchsia_component("logs-stdout-and-stderr-cpp") { |
| deps = [ ":bin" ] |
| component_name = "logs-stdout-and-stderr-cpp" |
| manifest = "meta/logs_stdout_and_stderr_cpp.cml" |
| } |
| |
| fuchsia_component("logs-stdout-cpp") { |
| deps = [ ":bin" ] |
| manifest = "meta/logs_stdout_cpp.cml" |
| } |
| |
| fuchsia_component("logs-stderr-cpp") { |
| deps = [ ":bin" ] |
| manifest = "meta/logs_stderr_cpp.cml" |
| } |