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

Commit e6d6d4f1 authored by Jihoon Kang's avatar Jihoon Kang
Browse files

Modify audio-framework-aconfig as aconfig_declarations_group module type

audio-framework-aconfig module is used to provide the generated srcjar
files to the combined list located in frameworks/base/AconfigFlags.bp.

Given that the list is now being replaced with
aconfig_declarations_group module type for the ease in management, the
list can no longer accept a filegroup of srcjar files. To maintain the
current data flow of providing the list of java_aconfig_library modules,
this change modifies the module type of audio-framework-aconfig from
filegroup to aconfig_declarations_group.

Test: m api-stubs-docs-non-updatable
Bug: 320492079
Change-Id: Iab5a580ca87f2b9ff0441a1b374f3ee59a521954
parent bdb16902
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -134,11 +134,11 @@ cc_aconfig_library {
    defaults: ["audio-aconfig-cc-defaults"],
}

filegroup {
aconfig_declarations_group {
    name: "audio-framework-aconfig",
    srcs: [
        ":android.media.audio-aconfig-java{.generated_srcjars}",
        ":android.media.audiopolicy-aconfig-java{.generated_srcjars}",
        ":android.media.midi-aconfig-java{.generated_srcjars}",
    java_aconfig_libraries: [
        "android.media.audio-aconfig-java",
        "android.media.audiopolicy-aconfig-java",
        "android.media.midi-aconfig-java",
    ],
}