| # 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. |
| |
| executable("lspwr") { |
| sources = [ "lspwr.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.power:fuchsia.hardware.power_c", |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fbl", |
| ] |
| |
| # TODO(fxbug.dev/95833): This target uses the deprecated C bindings. |
| # Consider switching to the C++ bindings. See linked bug for details. |
| configs += [ "//build/c:fidl-deprecated-c-bindings" ] |
| } |