2021-10-18 16:53:40 -07:00
|
|
|
// Copyright (C) 2021 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.
|
|
|
|
|
|
|
|
|
|
package {
|
2024-02-05 15:45:22 +00:00
|
|
|
default_team: "trendy_team_fwk_telephony",
|
2021-10-18 16:53:40 -07:00
|
|
|
// See: http://go/android-license-faq
|
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
|
// to get the below license kinds:
|
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_binary {
|
|
|
|
|
name: "android.hardware.radio-service.compat",
|
|
|
|
|
relative_install_path: "hw",
|
|
|
|
|
init_rc: ["radio-compat.rc"],
|
|
|
|
|
vintf_fragments: ["radio-compat.xml"],
|
|
|
|
|
vendor: true,
|
|
|
|
|
cflags: [
|
|
|
|
|
"-Wall",
|
|
|
|
|
"-Wextra",
|
|
|
|
|
"-DANDROID_UTILS_REF_BASE_DISABLE_IMPLICIT_CONSTRUCTION",
|
|
|
|
|
],
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"android.hardware.radio-library.compat",
|
Re-enable radio satellite tests. radio to V3
This moves everything to radio-V3. What happened was satellite-V1 was
added with changes to the radio HAL in master. When radio-V2 was
frozen on goog/master, this showed up as radio-V2 having backwards
incompatible changes in goog/master. So I disabled the build files
there. Now that radio-V2 is frozen, we can re-enable the usage
of radio-V3 types in master (the VTS test was the only thing using
these new types).
In order to resolve this, I’ve moved all the radio libs over to V3.
Ideally, we could have moved one service over at a time, as
"satellite" support was needed. Though I’ve done this expecting other
radio libs to change in V3, this will mean we don’t expect more radio
.bp changes in Android V.
One alternative to this would have been to change the other radio libs
to import V3, but this is considered somewhat of a hack, and it would be
guaranteed to break any vendor-owned builds. With the current change,
vendor-owned build configs should still work as-is until they manually
add satellite.
Test: hal_implementation_test, vts_treble_vintf_vendor_test
Bug: 277379745
Change-Id: Iedc3097a9db58c0539e4aa61d089ee9d1986d51f
2023-04-11 21:27:15 +00:00
|
|
|
"android.hardware.radio.config-V3-ndk",
|
2021-10-18 16:53:40 -07:00
|
|
|
"android.hardware.radio.config@1.0",
|
|
|
|
|
"android.hardware.radio.config@1.1",
|
|
|
|
|
"android.hardware.radio.config@1.2",
|
|
|
|
|
"android.hardware.radio.config@1.3",
|
Re-enable radio satellite tests. radio to V3
This moves everything to radio-V3. What happened was satellite-V1 was
added with changes to the radio HAL in master. When radio-V2 was
frozen on goog/master, this showed up as radio-V2 having backwards
incompatible changes in goog/master. So I disabled the build files
there. Now that radio-V2 is frozen, we can re-enable the usage
of radio-V3 types in master (the VTS test was the only thing using
these new types).
In order to resolve this, I’ve moved all the radio libs over to V3.
Ideally, we could have moved one service over at a time, as
"satellite" support was needed. Though I’ve done this expecting other
radio libs to change in V3, this will mean we don’t expect more radio
.bp changes in Android V.
One alternative to this would have been to change the other radio libs
to import V3, but this is considered somewhat of a hack, and it would be
guaranteed to break any vendor-owned builds. With the current change,
vendor-owned build configs should still work as-is until they manually
add satellite.
Test: hal_implementation_test, vts_treble_vintf_vendor_test
Bug: 277379745
Change-Id: Iedc3097a9db58c0539e4aa61d089ee9d1986d51f
2023-04-11 21:27:15 +00:00
|
|
|
"android.hardware.radio.data-V3-ndk",
|
|
|
|
|
"android.hardware.radio.ims-V2-ndk",
|
|
|
|
|
"android.hardware.radio.ims.media-V2-ndk",
|
|
|
|
|
"android.hardware.radio.messaging-V3-ndk",
|
|
|
|
|
"android.hardware.radio.modem-V3-ndk",
|
|
|
|
|
"android.hardware.radio.network-V3-ndk",
|
2022-12-12 13:58:55 -08:00
|
|
|
"android.hardware.radio.sap-V1-ndk",
|
Re-enable radio satellite tests. radio to V3
This moves everything to radio-V3. What happened was satellite-V1 was
added with changes to the radio HAL in master. When radio-V2 was
frozen on goog/master, this showed up as radio-V2 having backwards
incompatible changes in goog/master. So I disabled the build files
there. Now that radio-V2 is frozen, we can re-enable the usage
of radio-V3 types in master (the VTS test was the only thing using
these new types).
In order to resolve this, I’ve moved all the radio libs over to V3.
Ideally, we could have moved one service over at a time, as
"satellite" support was needed. Though I’ve done this expecting other
radio libs to change in V3, this will mean we don’t expect more radio
.bp changes in Android V.
One alternative to this would have been to change the other radio libs
to import V3, but this is considered somewhat of a hack, and it would be
guaranteed to break any vendor-owned builds. With the current change,
vendor-owned build configs should still work as-is until they manually
add satellite.
Test: hal_implementation_test, vts_treble_vintf_vendor_test
Bug: 277379745
Change-Id: Iedc3097a9db58c0539e4aa61d089ee9d1986d51f
2023-04-11 21:27:15 +00:00
|
|
|
"android.hardware.radio.sim-V3-ndk",
|
|
|
|
|
"android.hardware.radio.voice-V3-ndk",
|
2021-10-25 20:20:49 -07:00
|
|
|
"android.hardware.radio@1.0",
|
|
|
|
|
"android.hardware.radio@1.1",
|
|
|
|
|
"android.hardware.radio@1.2",
|
|
|
|
|
"android.hardware.radio@1.3",
|
|
|
|
|
"android.hardware.radio@1.4",
|
|
|
|
|
"android.hardware.radio@1.5",
|
|
|
|
|
"android.hardware.radio@1.6",
|
2021-10-18 16:53:40 -07:00
|
|
|
"libbase",
|
|
|
|
|
"libbinder_ndk",
|
|
|
|
|
"libhidlbase",
|
|
|
|
|
"libutils",
|
|
|
|
|
],
|
|
|
|
|
srcs: [
|
|
|
|
|
"hidl-utils.cpp",
|
|
|
|
|
"service.cpp",
|
|
|
|
|
],
|
|
|
|
|
}
|