Migrate GNSS HIDL HAL to AIDL HAL Add a gps.xml configuration parameter for CHRE/CHPP baud rate Fix for PVT assertion at patch_pvt_engine_cbs line=0078 Additional field in SatellitePVT Prevent the wrong common bias delta estimation Prevent wrong unhealthy satellites selection Fix LPPe UBP rounding error Fix LPPe UBP error message Fix ADR issues Add debug log for ADR and clk Bias Support pressureNotAvailable in LPPe Fix AIDL2 measurement corrections issue Fix unregistered pressure data after LPPe session Fix dereferenced null pointer Handle LTE B13/14 band handover Fixed the ordering of the GLNS satellites based on the ephemeris availability Report AGC values by constellation and central frequency Bug: 226691677 Bug: 218580284 Bug: 213009701 Bug: 226805895 Bug: 223361838 Bug: 226112617 Bug: 223593119 Bug: 225285619 Bug: 224969521 Bug: 225278936 Bug: 225285619 Bug: 228301290 Bug: 228405504 Bug: 229038024 Bug: 228288159 Bug: 229032461 Bug: 228791446 Verify test: 230286350 Test: atest VtsHalGnssTargetTest atest CtsLocationGnssTestCases atest GtsLocationTestCases atest PtsChreTestRunner Change-Id: Ia074bc30bf2ff52ea7ba26324c52c06c00b70979
232 lines
5.9 KiB
Text
232 lines
5.9 KiB
Text
// Copyright (C) 2020 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
soong_namespace {
|
|
}
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "//device/google/gs101:device_google_gs101_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: [
|
|
"//device/google/gs101:device_google_gs101_license",
|
|
],
|
|
}
|
|
|
|
cc_prebuilt_library_shared {
|
|
name: "android.hardware.gnss@2.1-impl-google",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/android.hardware.gnss@2.1-impl-google.so"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libhidlbase",
|
|
// "libhidltransport",
|
|
"libutils",
|
|
"android.hardware.gnss@1.0",
|
|
"android.hardware.gnss@1.1",
|
|
"android.hardware.gnss@2.0",
|
|
"android.hardware.gnss@2.1",
|
|
"android.hardware.gnss.measurement_corrections@1.0",
|
|
"android.hardware.gnss.visibility_control@1.0",
|
|
"android.hardware.gnss-V2-ndk",
|
|
"libhardware",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
// Bypass because libhidltransport is deprecated
|
|
check_elf_files: false,
|
|
}
|
|
|
|
cc_prebuilt_binary {
|
|
name: "android.hardware.gnss@2.1-service-brcm",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/android.hardware.gnss@2.1-service-brcm"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libutils",
|
|
"libhardware",
|
|
"android.hardware.gnss@1.0",
|
|
"libhidlbase",
|
|
// "libhidltransport",
|
|
// "libhwbinder",
|
|
"android.hardware.gnss@1.1",
|
|
"android.hardware.gnss@2.0",
|
|
"android.hardware.gnss@2.1",
|
|
"android.hardware.gnss-V2-ndk",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
// Bypass because libhidltransport is deprecated
|
|
// Bypass because libhwbinder is deprecated
|
|
check_elf_files: false,
|
|
vintf_fragments: ["android.hardware.gnss@2.1-service-brcm.xml"]
|
|
}
|
|
|
|
cc_prebuilt_library_shared {
|
|
name: "flp.default",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/flp.default.so"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
// Bypass because soname mismatch
|
|
check_elf_files: false,
|
|
}
|
|
|
|
cc_prebuilt_binary {
|
|
name: "gpsd",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/gpsd"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libutils",
|
|
"libhardware_legacy",
|
|
"libcutils",
|
|
"libssl",
|
|
"libcrypto",
|
|
// "libsitril-gps",
|
|
"android.frameworks.sensorservice@1.0",
|
|
"libhidlbase",
|
|
"libandroid_net",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
// Bypass because libsitril-gps is Android.mk module
|
|
check_elf_files: false,
|
|
}
|
|
|
|
cc_prebuilt_library_shared {
|
|
name: "gps.default",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/gps.default.so"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libcutils",
|
|
"libutils",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
// Bypass because soname mismatch
|
|
check_elf_files: false,
|
|
}
|
|
|
|
cc_prebuilt_binary {
|
|
name: "lhd",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/lhd"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libutils",
|
|
"libhardware_legacy",
|
|
"libc++",
|
|
"libc",
|
|
"libm",
|
|
"libz",
|
|
"android.hardware.contexthub@1.0",
|
|
"libhidlbase",
|
|
"libdl",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
}
|
|
|
|
cc_prebuilt_binary {
|
|
name: "scd",
|
|
arch: {
|
|
arm64: {
|
|
srcs: ["bin/scd"],
|
|
shared_libs: [
|
|
"liblog",
|
|
"libutils",
|
|
"libssl",
|
|
"libcrypto",
|
|
"libandroid_net",
|
|
],
|
|
},
|
|
},
|
|
compile_multilib: "64",
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
strip: {
|
|
none: true,
|
|
},
|
|
}
|