| # 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("//build/unification/images/migrated_manifest.gni") |
| |
| test("backlight-test") { |
| # Dependent manifests unfortunately cannot be marked as `testonly`. |
| # TODO(44278): Remove when converting this file to proper GN build idioms. |
| testonly = false |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| output_name = "backlight-test" |
| sources = [ "backlight-test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.backlight:fuchsia.hardware.backlight_llcpp", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/zxtest", |
| ] |
| |
| # TODO(46866): Fix the leaks and remove this. |
| deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ] |
| } |
| |
| migrated_manifest("backlight-test-manifest") { |
| deps = [ ":backlight-test" ] |
| } |