blob: 321fd9fb3adb7a294ed46cec54cee15ea09b0582 [file] [log] [blame]
# 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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/test.gni")
import("//build/test/test_package.gni")
test("mt8167-thermal") {
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "mt8167-thermal.cc" ]
deps = [
"//sdk/fidl/fuchsia.hardware.thermal:fuchsia.hardware.thermal_c",
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/test-utils",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
"//zircon/system/fidl/fuchsia-sysinfo:c",
]
}
unittest_package("mt8167-thermal-package") {
package_name = "mt8167-thermal"
deps = [ ":mt8167-thermal" ]
tests = [
{
name = "mt8167-thermal"
dest = "mt8167-thermal-test"
},
]
}