blob: 1cd01f20895add06b345f5a965d8e17e8c67f7ff [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 fxbug.dev/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/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_c",
"//sdk/fidl/fuchsia.sysmem:fuchsia.sysmem_llcpp",
"//sdk/fidl/fuchsia.sysmem2:fuchsia.sysmem2_llcpp",
"//zircon/system/ulib/fidl-async-2",
]
deps = [
"//zircon/public/lib/fidl",
"//zircon/system/ulib/sysmem-make-tracking",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
group("tests") {
testonly = true
deps = [ "test:tests" ]
}