blob: b6bae72dc66a55a87e0604fc90c0cbb1108bc7d3 [file] [log] [blame] [edit]
# Copyright 2020 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")
executable("sysmem-version-test") {
sources = [ "sysmem-version-test.cc" ]
deps = [
"//sdk/lib/fdio",
"//sdk/lib/fidl/cpp:cpp_base",
"//zircon/system/ulib/sysmem-version",
"//zircon/system/ulib/zxtest",
]
testonly = true
# TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
# TODO(fxbug.dev/94768): This target uses mutable tables which are deprecated,
# rather than builders.
configs += [ "//build/cpp:fidl-wire-deprecated-mutable-tables" ]
# 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" ]
}
fuchsia_unittest_package("sysmem-version-test-pkg") {
package_name = "sysmem-version-test"
deps = [ ":sysmem-version-test" ]
}
group("tests") {
testonly = true
deps = [ ":sysmem-version-test-pkg" ]
}