| # 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-bti-test" ] |
| } |
| |
| zx_library("fake-bti") { |
| sdk = "static" |
| sdk_headers = [ "lib/fake-bti/bti.h" ] |
| testonly = true |
| |
| sources = [ "fake-bti.cc" ] |
| public_deps = [ |
| # Note: technically this dependency isn't necessary in the ZN build, |
| # but if it is missing the fake-bti --> 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", |
| "//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" ] |
| } |