blob: 2bf0b07cfd13c2db93bd9dd4836caad369c14be2 [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/config/fuchsia/rules.gni")
driver_module("msm8x53-som") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
sources = [
"msm8x53-clock.cc",
"msm8x53-gpio.cc",
"msm8x53-pil.cc",
"msm8x53-power.cc",
"msm8x53-sdc1.cc",
"msm8x53.cc",
]
deps = [
"//sdk/banjo/ddk.protocol.platform.bus",
"//sdk/banjo/ddk.protocol.platform.device",
"//src/devices/lib/driver",
"//src/devices/lib/msm8x53",
"//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/hwreg",
]
# TODO(fxbug.dev/47406): restore some form of data dependency on msm8x53-som
# boot shim.
}