Merge "Rename VehicleHalUtils to VehicleHalUtilsVendor."
This commit is contained in:
commit
51ded99b43
16 changed files with 51 additions and 24 deletions
|
@ -26,7 +26,7 @@ cc_test {
|
|||
"libhidlbase",
|
||||
],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"android.hardware.automotive.vehicle@2.0",
|
||||
"libgtest",
|
||||
"libgmock",
|
||||
|
|
|
@ -24,8 +24,8 @@ cc_library_headers {
|
|||
local_include_dirs: ["include"],
|
||||
export_include_dirs: ["include"],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: ["VehicleHalUtils"],
|
||||
static_libs: ["VehicleHalUtilsVendor"],
|
||||
header_libs: ["VehicleHalTestUtilHeaders"],
|
||||
export_static_lib_headers: ["VehicleHalUtils"],
|
||||
export_static_lib_headers: ["VehicleHalUtilsVendor"],
|
||||
export_header_lib_headers: ["VehicleHalTestUtilHeaders"],
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ cc_test {
|
|||
defaults: ["VehicleHalDefaults"],
|
||||
srcs: ["*.cpp"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"libgtest",
|
||||
],
|
||||
header_libs: [
|
||||
|
|
|
@ -26,7 +26,7 @@ cc_library {
|
|||
export_include_dirs: ["include"],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"FakeObd2Frame",
|
||||
],
|
||||
shared_libs: [
|
||||
|
|
|
@ -24,7 +24,7 @@ cc_test {
|
|||
srcs: ["*.cpp"],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"FakeVehicleHalValueGenerators",
|
||||
"FakeObd2Frame",
|
||||
],
|
||||
|
|
|
@ -39,7 +39,7 @@ cc_defaults {
|
|||
],
|
||||
export_header_lib_headers: ["IVehicleHardware"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"FakeVehicleHalValueGenerators",
|
||||
"FakeObd2Frame",
|
||||
"FakeUserHal",
|
||||
|
@ -47,5 +47,5 @@ cc_defaults {
|
|||
shared_libs: [
|
||||
"libjsoncpp",
|
||||
],
|
||||
export_static_lib_headers: ["VehicleHalUtils"],
|
||||
export_static_lib_headers: ["VehicleHalUtilsVendor"],
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ cc_test {
|
|||
"VehicleHalTestUtilHeaders",
|
||||
],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"FakeVehicleHardware",
|
||||
"FakeVehicleHalValueGenerators",
|
||||
"FakeObd2Frame",
|
||||
|
|
|
@ -26,7 +26,7 @@ cc_library {
|
|||
export_include_dirs: ["include"],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
export_static_lib_headers: ["VehicleHalUtils"],
|
||||
export_static_lib_headers: ["VehicleHalUtilsVendor"],
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ cc_test {
|
|||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"FakeObd2Frame",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
test_suites: ["device-tests"],
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ cc_library {
|
|||
export_include_dirs: ["include"],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
export_static_lib_headers: ["VehicleHalUtils"],
|
||||
export_static_lib_headers: ["VehicleHalUtilsVendor"],
|
||||
}
|
||||
|
|
|
@ -25,7 +25,7 @@ cc_test {
|
|||
defaults: ["VehicleHalDefaults"],
|
||||
static_libs: [
|
||||
"FakeUserHal",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"libgtest",
|
||||
"libgmock",
|
||||
],
|
||||
|
|
|
@ -34,10 +34,10 @@ cc_library {
|
|||
shared_libs: ["libprotobuf-cpp-full"],
|
||||
static_libs: [
|
||||
"VehicleHalProtos",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
defaults: ["VehicleHalDefaults"],
|
||||
export_static_lib_headers: ["VehicleHalUtils"],
|
||||
export_static_lib_headers: ["VehicleHalUtilsVendor"],
|
||||
}
|
||||
|
||||
cc_test {
|
||||
|
@ -51,7 +51,7 @@ cc_test {
|
|||
static_libs: [
|
||||
"VehicleHalProtoMessageConverter",
|
||||
"VehicleHalProtos",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"libgtest",
|
||||
],
|
||||
header_libs: ["VehicleHalDefaultConfig"],
|
||||
|
|
|
@ -19,7 +19,7 @@ package {
|
|||
}
|
||||
|
||||
cc_library {
|
||||
name: "VehicleHalUtils",
|
||||
name: "VehicleHalUtilsVendor",
|
||||
srcs: ["src/*.cpp"],
|
||||
vendor: true,
|
||||
local_include_dirs: ["include"],
|
||||
|
@ -27,6 +27,33 @@ cc_library {
|
|||
defaults: ["VehicleHalDefaults"],
|
||||
}
|
||||
|
||||
// This is a non-vendor version for VehicleHalUtilsVendor.
|
||||
cc_library {
|
||||
name: "VehicleHalUtils",
|
||||
srcs: ["src/*.cpp"],
|
||||
local_include_dirs: ["include"],
|
||||
export_include_dirs: ["include"],
|
||||
static_libs: [
|
||||
"android-automotive-large-parcelable-lib",
|
||||
"android.hardware.automotive.vehicle-V1-ndk",
|
||||
"libmath",
|
||||
],
|
||||
shared_libs: [
|
||||
"libbase",
|
||||
"liblog",
|
||||
"libutils",
|
||||
],
|
||||
cflags: [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Werror",
|
||||
"-Wthread-safety",
|
||||
],
|
||||
defaults: [
|
||||
"android-automotive-large-parcelable-defaults",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_headers {
|
||||
name: "VehicleHalUtilHeaders",
|
||||
export_include_dirs: ["include"],
|
||||
|
|
|
@ -19,11 +19,11 @@ package {
|
|||
}
|
||||
|
||||
cc_test {
|
||||
name: "VehicleHalVehicleUtilsTest",
|
||||
name: "VehicleHalVehicleUtilsVendorTest",
|
||||
srcs: ["*.cpp"],
|
||||
vendor: true,
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"libgtest",
|
||||
"libgmock",
|
||||
],
|
||||
|
|
|
@ -33,7 +33,7 @@ cc_binary {
|
|||
static_libs: [
|
||||
"DefaultVehicleHal",
|
||||
"FakeVehicleHardware",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
header_libs: [
|
||||
"IVehicleHardware",
|
||||
|
@ -58,7 +58,7 @@ cc_library {
|
|||
"src/SubscriptionManager.cpp",
|
||||
],
|
||||
static_libs: [
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
],
|
||||
header_libs: [
|
||||
"IVehicleHardware",
|
||||
|
|
|
@ -24,7 +24,7 @@ cc_test {
|
|||
srcs: ["*.cpp"],
|
||||
static_libs: [
|
||||
"DefaultVehicleHal",
|
||||
"VehicleHalUtils",
|
||||
"VehicleHalUtilsVendor",
|
||||
"libgtest",
|
||||
"libgmock",
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue