| # 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/unification/zx_library.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ "test:fake-msi-package" ] |
| } |
| |
| zx_library("fake-msi") { |
| sdk = "static" |
| sdk_headers = [ "lib/fake-msi/msi.h" ] |
| testonly = true |
| shared = 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", |
| "//src/devices/testing/fake-object", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zircon-internal", |
| "//zircon/public/lib/zx", |
| ] |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] |
| } |