Format all Android.bp files with bpfmt to pass bpfmt buildin hook

bpfmt buildin hook (introduced in aosp/295130) will refuse us to
upload patch if any functional change made in those Android.bp files.

To separate formatting change from functional change, all those
Android.bp files are formatted here with command below:
find hardware/interfaces/radio/ -name Android.bp -exec bpfmt -w {} \;

Bug: 180649021
Test: atest VtsHalRadioV1_0TargetTest VtsHalRadioV1_1TargetTest
VtsHalRadioV1_2TargetTest VtsHalRadioV1_3TargetTest
VtsHalRadioV1_4TargetTest VtsHalRadioV1_5TargetTest

Change-Id: Iab8620bc1bd5035c03b693f836a115d9f688ce1d
This commit is contained in:
Rambo Wang 2021-02-18 18:39:04 -08:00
parent c3325707a5
commit 41ca2fd21e
9 changed files with 71 additions and 35 deletions

View file

@ -17,46 +17,56 @@
cc_test {
name: "VtsHalRadioV1_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["radio_hidl_hal_cell_broadcast.cpp",
"radio_hidl_hal_data.cpp",
"radio_hidl_hal_icc.cpp",
"radio_hidl_hal_ims.cpp",
"radio_hidl_hal_misc.cpp",
"radio_hidl_hal_sms.cpp",
"radio_hidl_hal_stk.cpp",
"radio_hidl_hal_test.cpp",
"radio_hidl_hal_voice.cpp",
"radio_indication.cpp",
"radio_response.cpp",
"VtsHalRadioV1_0TargetTest.cpp",
"vts_test_util.cpp"],
srcs: [
"radio_hidl_hal_cell_broadcast.cpp",
"radio_hidl_hal_data.cpp",
"radio_hidl_hal_icc.cpp",
"radio_hidl_hal_ims.cpp",
"radio_hidl_hal_misc.cpp",
"radio_hidl_hal_sms.cpp",
"radio_hidl_hal_stk.cpp",
"radio_hidl_hal_test.cpp",
"radio_hidl_hal_voice.cpp",
"radio_indication.cpp",
"radio_response.cpp",
"VtsHalRadioV1_0TargetTest.cpp",
"vts_test_util.cpp",
],
static_libs: [
"android.hardware.radio@1.0",
],
test_config: "vts_hal_radio_target_test.xml",
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}
cc_test {
name: "VtsHalSapV1_0TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["sap_callback.cpp",
"sap_hidl_hal_api.cpp",
"sap_hidl_hal_test.cpp",
"VtsHalSapV1_0TargetTest.cpp",
"vts_test_util.cpp"],
srcs: [
"sap_callback.cpp",
"sap_hidl_hal_api.cpp",
"sap_hidl_hal_test.cpp",
"VtsHalSapV1_0TargetTest.cpp",
"vts_test_util.cpp",
],
static_libs: [
"android.hardware.radio@1.0",
],
test_config: "vts_hal_sap_target_test.xml",
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}
cc_library_static {
name: "RadioVtsTestUtilBase",
defaults: ["VtsHalTargetTestDefaults"],
srcs : [
"vts_test_util.cpp"
srcs: [
"vts_test_util.cpp",
],
shared_libs: [
"android.hardware.radio@1.0",

View file

@ -17,11 +17,13 @@
cc_test {
name: "VtsHalRadioV1_1TargetTest",
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["radio_hidl_hal_api.cpp",
"radio_hidl_hal_test.cpp",
"radio_indication.cpp",
"radio_response.cpp",
"VtsHalRadioV1_1TargetTest.cpp"],
srcs: [
"radio_hidl_hal_api.cpp",
"radio_hidl_hal_test.cpp",
"radio_indication.cpp",
"radio_response.cpp",
"VtsHalRadioV1_1TargetTest.cpp",
],
static_libs: [
"RadioVtsTestUtilBase",
"android.hardware.radio@1.1",
@ -30,5 +32,8 @@ cc_test {
header_libs: [
"radio.util.header@1.0",
],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -34,5 +34,8 @@ cc_test {
"android.hardware.radio.config@1.1",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -32,5 +32,8 @@ cc_test {
"android.hardware.radio@1.0",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -35,5 +35,8 @@ cc_test {
"android.hardware.radio.config@1.1",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"]
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -36,5 +36,8 @@ cc_test {
"android.hardware.radio.config@1.1",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"]
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -29,5 +29,8 @@ cc_test {
"android.hardware.radio.config@1.0",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -29,5 +29,8 @@ cc_test {
"android.hardware.radio.config@1.1",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}

View file

@ -31,5 +31,8 @@ cc_test {
"android.hardware.radio.config@1.2",
],
header_libs: ["radio.util.header@1.0"],
test_suites: ["general-tests", "vts"],
test_suites: [
"general-tests",
"vts",
],
}