blob: 0549d202825febc43fe203653b38d60c803e5b37 [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")
group("tests") {
testonly = true
deps = [ "test:fake-msi-test" ]
}
zx_library("fake-msi") {
sdk = "static"
sdk_headers = [ "lib/fake-msi/msi.h" ]
testonly = true
sources = [ "fake-msi.cc" ]
public_deps = [
# Note: technically this dependency isn't necessary in the ZN build,
# but if it is missing the fake-msi --> fake-object dependency is
# not properly captured in the metadata passed to the GN build.
# This will become moot when both libraries are migrated to that
# build.
"//src/devices/testing/fake-object",
]
deps = [
"//sdk/lib/fdio",
"//sdk/lib/stdcompat",
"//src/devices/testing/fake-object",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/zircon-internal",
"//zircon/system/ulib/zx",
]
configs += [ "//build/config/fuchsia:static_cpp_standard_library" ]
# TODO(https://fxbug.dev/42136089): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}