blob: 6f9e8637ea93b58e59edfe7756d54f1fa5ef2c05 [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.
import("//build/zircon/zx_library.gni")
zx_library("sysmem-version") {
sdk = "source"
sdk_headers = [ "lib/sysmem-version/sysmem-version.h" ]
sources = [ "sysmem-version.cc" ]
public_deps = [
"//sdk/fidl/fuchsia.sysmem:fuchsia.sysmem_cpp",
"//sdk/fidl/fuchsia.sysmem2:fuchsia.sysmem2_cpp",
]
deps = [
"//sdk/lib/fidl",
"//src/devices/bind/fuchsia.amlogic.platform.sysmem.heap:fuchsia.amlogic.platform.sysmem.heap_cpp",
"//src/devices/bind/fuchsia.goldfish.platform.sysmem.heap:fuchsia.goldfish.platform.sysmem.heap_cpp",
"//src/devices/bind/fuchsia.sysmem.heap:fuchsia.sysmem.heap_cpp",
"//zircon/third_party/ulib/safemath",
]
# TODO(https://fxbug.dev/42176699): This target uses mutable tables which are deprecated,
# rather than builders.
configs += [ "//build/cpp:fidl-wire-deprecated-mutable-tables" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}