blob: 47ea5d84eed1cb6a702867ec7728b29f5fe24f65 [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")
assert(current_cpu == "x64")
driver_module("intel-rtc") {
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 = [ "intel-rtc.c" ]
deps = [
"//sdk/fidl/fuchsia.hardware.rtc:fuchsia.hardware.rtc_c",
"//src/devices/rtc/lib/rtc",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}