mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Drop references to CAN HAL from libnetdevice and libnl++" into main
This commit is contained in:
committed by
Android (Google) Code Review
commit
f066f5d424
@@ -23,11 +23,20 @@ package {
|
||||
default_applicable_licenses: ["hardware_interfaces_license"],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "android.hardware.automotive.can@libnetdevice",
|
||||
defaults: ["android.hardware.automotive.can@defaults"],
|
||||
cc_defaults {
|
||||
name: "libnetdevice-common",
|
||||
host_supported: true,
|
||||
vendor_available: true,
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libutils",
|
||||
],
|
||||
srcs: [
|
||||
"can.cpp",
|
||||
"common.cpp",
|
||||
@@ -41,3 +50,14 @@ cc_library_static {
|
||||
"libnl++",
|
||||
],
|
||||
}
|
||||
|
||||
// TODO: migrate to "libnetdevice" and remove
|
||||
cc_library_static {
|
||||
name: "android.hardware.automotive.can@libnetdevice",
|
||||
defaults: ["libnetdevice-common"],
|
||||
}
|
||||
|
||||
cc_library_static {
|
||||
name: "libnetdevice",
|
||||
defaults: ["libnetdevice-common"],
|
||||
}
|
||||
|
||||
@@ -25,9 +25,18 @@ package {
|
||||
|
||||
cc_library_static {
|
||||
name: "libnl++",
|
||||
defaults: ["android.hardware.automotive.can@defaults"],
|
||||
host_supported: true,
|
||||
vendor_available: true,
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-DANDROID_BASE_UNIQUE_FD_DISABLE_IMPLICIT_CONVERSION",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"libutils",
|
||||
],
|
||||
srcs: [
|
||||
"protocols/common/Empty.cpp",
|
||||
"protocols/common/Error.cpp",
|
||||
|
||||
Reference in New Issue
Block a user