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

Commit 0263a6d2 authored by Gurpreet Singh's avatar Gurpreet Singh
Browse files

Using common apex_defaults for listed modules.

In /packages/modules/common/sdk/ModuleDefaults.bp file, some
apex_defaults are added to provide common parameters corresponding to
Q, R, S, and T releases.
(Refer to CL link for above mentioned change -
https://android-review.googlesource.com/c/platform/packages/modules/common/+/2005890?forceReload=true)

This CL is using the apex_default corresponding to Q release for the
com.google.android.media.swcodec and com.google.android.media module.

Bug: 172589606
Test: USE_RBE=true m
Since there are no runtime changes, successful code build is enough for
testing.

Change-Id: I5394f162cd92dec842215f69ffcce6d28f951e8c
parent bfe11d22
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@ package {

apex_defaults {
    name: "com.android.media-defaults",
    updatable: true,
    bootclasspath_fragments: ["com.android.media-bootclasspath-fragment"],
    systemserverclasspath_fragments: ["com.android.media-systemserverclasspath-fragment"],
    multilib: {
@@ -67,14 +66,13 @@ apex_defaults {
    // Use a custom AndroidManifest.xml used for API targeting.
    androidManifest: ":com.android.media-androidManifest",

    // IMPORTANT: For the APEX to be installed on Android 10 (API 29),
    // min_sdk_version should be 29. This enables the build system to make
    // IMPORTANT: q-launched-apex-module enables the build system to make
    // sure the package compatible to Android 10 in two ways:
    // - build the APEX package compatible to Android 10
    //   so that the package can be installed.
    // - build artifacts (lib/javalib/bin) against Android 10 SDK
    //   so that the artifacts can run.
    min_sdk_version: "29",
    defaults: ["q-launched-apex-module"],
    // Indicates that pre-installed version of this apex can be compressed.
    // Whether it actually will be compressed is controlled on per-device basis.
    compressible: true,
@@ -148,7 +146,6 @@ filegroup {

apex_defaults {
    name: "com.android.media.swcodec-defaults",
    updatable: true,
    binaries: [
        "mediaswcodec",
    ],
@@ -172,14 +169,13 @@ apex_defaults {
    // Use a custom AndroidManifest.xml used for API targeting.
    androidManifest: ":com.android.media.swcodec-androidManifest",

    // IMPORTANT: For the APEX to be installed on Android 10 (API 29),
    // min_sdk_version should be 29. This enables the build system to make
    // IMPORTANT: q-launched-apex-module enables the build system to make
    // sure the package compatible to Android 10 in two ways:
    // - build the APEX package compatible to Android 10
    //   so that the package can be installed.
    // - build artifacts (lib/javalib/bin) against Android 10 SDK
    //   so that the artifacts can run.
    min_sdk_version: "29",
    defaults: ["q-launched-apex-module"],
    // Indicates that pre-installed version of this apex can be compressed.
    // Whether it actually will be compressed is controlled on per-device basis.
    compressible: true,