blob: a8707787ceb5a5b60e4ddfb02a757208f77bd474 [file] [log] [blame] [edit]
# 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/components.gni")
import("//build/test.gni")
group("tests") {
testonly = true
deps = [ ":backlight-test-pkg" ]
}
test("backlight-test") {
output_name = "backlight-test"
sources = [ "backlight-test.cc" ]
deps = [
"//sdk/fidl/fuchsia.hardware.backlight:fuchsia.hardware.backlight_cpp_wire",
"//sdk/lib/fdio",
"//zircon/system/ulib/zxtest",
]
# TODO(fxbug.dev/69585): This target uses raw zx::channel with LLCPP which is deprecated.
# Please migrate to typed channel APIs (fidl::ClientEnd<T>, fidl::ServerEnd<T>).
# See linked bug for details.
configs += [ "//build/cpp:fidl-llcpp-deprecated-raw-channels" ]
}
fuchsia_unittest_package("backlight-test-pkg") {
package_name = "backlight-test"
deps = [ ":backlight-test" ]
}