blob: 9ad438dbac0f49672b82315047eda671cd6581ed [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/bind/bind.gni")
import("//build/config/fuchsia/rules.gni")
bind_rules("msm8998_bind") {
rules = "msm8998.bind"
output = "msm8998_bind.h"
tests = "bind_tests.json"
deps = [
"//src/devices/bind/fuchsia.platform",
"//src/devices/bind/fuchsia.qualcomm.platform",
]
}
group("tests") {
testonly = true
deps = [ ":msm8998_bind_test" ]
}
driver_module("msm8998") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
sources = [ "msm8998.cc" ]
deps = [
":msm8998_bind",
"//sdk/banjo/fuchsia.hardware.platform.bus:fuchsia.hardware.platform.bus_banjo_cpp",
"//sdk/banjo/fuchsia.hardware.platform.device",
"//src/devices/lib/driver",
"//src/lib/ddk",
"//src/lib/ddktl",
"//zircon/public/lib/fbl",
]
# TODO(fxbug.dev/47406): restore some form of data dependency on msm8998
# boot shim.
}