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

Commit ffddb1da authored by Gurpreet Singh's avatar Gurpreet Singh Committed by Gerrit Code Review
Browse files

Merge "Using common apex_defaults for listed modules."

parents 90340a66 0263a6d2
Loading
Loading
Loading
Loading
+4 −8
Original line number Original line Diff line number Diff line
@@ -23,7 +23,6 @@ package {


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


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


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


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