| # 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/config/fuchsia/rules.gni") |
| |
| driver_module("fake-display") { |
| configs += [ |
| "//build/config:all_source", |
| "//build/config/fuchsia:enable_zircon_asserts", |
| ] |
| configs -= [ "//build/config/fuchsia:no_cpp_standard_library" ] |
| configs += [ |
| "//build/config/fuchsia:static_cpp_standard_library", |
| "//build/unification/config:zircon-migrated", |
| ] |
| sources = [ "bind.cc" ] |
| deps = [ |
| ":fake-lib", |
| "//src/devices/lib/driver", |
| |
| # TODO(fxb/38132): Migrate to the new bind rules and delete the below |
| "//src/lib/ddk:ddk-deprecated-binding-headers", |
| ] |
| } |
| |
| source_set("fake-lib") { |
| configs += [ "//build/config:all_source" ] |
| sources = [ "fake-display.cc" ] |
| public_deps = [ |
| "//sdk/banjo/ddk.protocol.composite", |
| "//sdk/banjo/ddk.protocol.display.capture", |
| "//sdk/banjo/ddk.protocol.display.clamprgb", |
| "//sdk/banjo/ddk.protocol.display.controller", |
| "//sdk/banjo/ddk.protocol.sysmem", |
| "//sdk/fidl/fuchsia.sysmem:fuchsia.sysmem_c", |
| "//src/devices/bus/lib/device-protocol-platform-device", |
| "//src/lib/ddk", |
| |
| # TODO(fxb/38132): Migrate to the new bind rules and delete the below |
| "//src/lib/ddk:ddk-deprecated-binding-headers", |
| "//src/lib/ddktl", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zircon-internal", |
| "//zircon/public/lib/zx", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/image-format", |
| ] |
| } |