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

Commit 5e9010e2 authored by Paul Duffin's avatar Paul Duffin Committed by Automerger Merge Worker
Browse files

Merge "Conditionally add the car bcpf to platform bootclasspath" am:...

Merge "Conditionally add the car bcpf to platform bootclasspath" am: 18f0a04e am: 8076a6a0 am: 75fa8c90

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2378892



Change-Id: Ib6a03255fca5e2b8aac105e6f1e11329911e0021
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 042112f4 75fa8c90
Loading
Loading
Loading
Loading
+25 −6
Original line number Diff line number Diff line
@@ -23,6 +23,18 @@ package {
    default_applicable_licenses: ["frameworks_base_license"],
}

soong_config_module_type {
    name: "custom_platform_bootclasspath",
    module_type: "platform_bootclasspath",
    config_namespace: "AUTO",
    bool_variables: [
        "car_bootclasspath_fragment",
    ],
    properties: [
        "fragments",
    ],
}

// This module provides access to information Soong has related to the
// whole platform bootclasspath. Currently, that information is provided solely
// through configuration but additional information will be added here.
@@ -41,7 +53,7 @@ package {
//
// This module needs to be present in the build for the above processing to be
// done correctly.
platform_bootclasspath {
custom_platform_bootclasspath {
    name: "platform-bootclasspath",

    // The bootclasspath_fragments that contribute to the platform
@@ -127,16 +139,23 @@ platform_bootclasspath {
            apex: "com.android.wifi",
            module: "com.android.wifi-bootclasspath-fragment",
        },
        {
            apex: "com.android.virt",
            module: "com.android.virt-bootclasspath-fragment",
        },
    ],

    soong_config_variables: {
        car_bootclasspath_fragment: {
            fragments: [
                // only used for auto
                {
                    apex: "com.android.car.framework",
                    module: "com.android.car.framework-bootclasspath-fragment",
                },
        {
            apex: "com.android.virt",
            module: "com.android.virt-bootclasspath-fragment",
        },
            ],
        },
    },

    // Additional information needed by hidden api processing.
    hidden_api: {