| # 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/config.gni") | |
| import("//build/testing/environments.gni") | |
| import("//src/sys/build/components.gni") | |
| executable("bin") { | |
| output_name = "activity_ctl" | |
| sources = [ "activity_ctl.cc" ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.ui.activity", | |
| "//sdk/fidl/fuchsia.ui.activity.control", | |
| "//sdk/lib/fit", | |
| "//sdk/lib/sys/cpp", | |
| "//src/lib/fxl", | |
| "//zircon/public/lib/async-cpp", | |
| "//zircon/public/lib/zx", | |
| "//zircon/system/ulib/async-loop:async-loop-cpp", | |
| "//zircon/system/ulib/async-loop:async-loop-default", | |
| "//zircon/system/ulib/cmdline", | |
| ] | |
| # TODO(fxbug.dev/58162): delete the below and fix compiler warnings | |
| configs += [ "//build/config:Wno-conversion" ] | |
| } | |
| fuchsia_component("activity-ctl-component") { | |
| component_name = "activity-ctl" | |
| manifest = "meta/activity-ctl.cmx" | |
| deps = [ ":bin" ] | |
| } | |
| fuchsia_package("activity-ctl") { | |
| deps = [ ":activity-ctl-component" ] | |
| } |