Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eda47ee2 authored by Cole Faust's avatar Cole Faust
Browse files

Remove dependencies on the 1-variant fallback

When adding a dependencies, if the variants don't match, but the
dependency only has 1 variant anyways, soong will always use that
variant. This makes it hard to add new variants to soong, because the
1-variant fallback stops being used and you start getting missing
variant errors. Make changes to bp files such that all dependencies
correctly specify the variant to use.

Bug: 372091092
Flag: EXEMPT refactor
Test: m nothing
Change-Id: I586e9329c22fa94c2fe83a56dc34dff1fe311900
parent 674fff48
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -39,9 +39,11 @@ python_test_host {
        unit_test: false,
    },
    data: [
        ":PandoraServer",
        "config.yml",
    ],
    device_common_data: [
        ":PandoraServer",
    ],
}

python_test_host {
@@ -68,9 +70,11 @@ python_test_host {
        unit_test: false,
    },
    data: [
        ":PandoraServer",
        "config.yml",
    ],
    device_common_data: [
        ":PandoraServer",
    ],
}

sh_binary_host {
+4 −2
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ java_test_host {
        "tradefed",
    ],

    data: [
    device_common_data: [
        ":BumbleBluetoothTestsApp",
        "bumble_config.json",
    ],
@@ -80,9 +80,11 @@ java_test_host {
    ],

    data: [
        ":BumbleBluetoothTestsApp",
        "bumble_config.json",
    ],
    device_common_data: [
        ":BumbleBluetoothTestsApp",
    ],
    data_native_bins: [
        "bumble_pandora_server",
    ],
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ java_test_host {
        "tradefed",
    ],

    data: [
    device_common_data: [
        ":BluetoothMetricsTestApp",
    ],

+3 −1
Original line number Diff line number Diff line
@@ -307,11 +307,13 @@ cc_genrule {
        ":BlueberryFacadeAndCertGeneratedStub_py",
        ":bluetooth_cert_test_host_deps-zip",
        ":bluetooth_cert_test_sources-zip",
        ":bluetooth_cert_test_target_deps-zip",
        ":gd_hci_packets_python3_gen-zip",
        ":gd_smp_packets_python3_gen-zip",
        ":llvm-tools-zip",
    ],
    device_first_srcs: [
        ":bluetooth_cert_test_target_deps-zip",
    ],
    out: ["bluetooth_cert_tests.zip"],
    cmd: "$(location merge_zips) $(genDir)/temp.zip $(in) && " +
        "unzip -q -d $(genDir)/files $(genDir)/temp.zip && " +
+4 −4
Original line number Diff line number Diff line
@@ -325,7 +325,7 @@ cc_test {
        "libgmock",
        "server_configurable_flags",
    ],
    data: [
    device_first_data: [
        ":audio_set_configurations_bfbs",
        ":audio_set_configurations_json",
        ":audio_set_scenarios_bfbs",
@@ -791,7 +791,7 @@ cc_test {
        "le_audio/le_audio_types.cc",
        "le_audio/le_audio_utils.cc",
    ],
    data: [
    device_first_data: [
        ":audio_set_configurations_bfbs",
        ":audio_set_configurations_json",
        ":audio_set_scenarios_bfbs",
@@ -900,7 +900,7 @@ cc_test {
        "test/common/btm_api_mock.cc",
        "test/common/mock_csis_client.cc",
    ],
    data: [
    device_first_data: [
        ":audio_set_configurations_bfbs",
        ":audio_set_configurations_json",
        ":audio_set_scenarios_bfbs",
@@ -1026,7 +1026,7 @@ cc_test {
        "libosi",
        "server_configurable_flags",
    ],
    data: [
    device_first_data: [
        ":audio_set_configurations_bfbs",
        ":audio_set_configurations_json",
        ":audio_set_scenarios_bfbs",