| # 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/test.gni") |
| import("//src/sys/build/fuchsia_unittest_package.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":backlight-test-pkg" ] |
| } |
| |
| test("backlight-test") { |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| output_name = "backlight-test" |
| sources = [ "backlight-test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.backlight:fuchsia.hardware.backlight_llcpp", |
| "//sdk/lib/fdio", |
| "//zircon/public/lib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("backlight-test-pkg") { |
| package_name = "backlight-test" |
| executable_path = "test/backlight-test" |
| deps = [ ":backlight-test" ] |
| } |