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

Commit c5eac509 authored by Brad Stenning's avatar Brad Stenning Committed by android-build-merger
Browse files

Merge "Fix build file such that CarSystemUi can be easily extended" into qt-qpr1-dev

am: c2327e54

Change-Id: I960535c3900069ce4b5980e499eb03ae1db8d318
parents 01e625c3 c2327e54
Loading
Loading
Loading
Loading
+31 −12
Original line number Diff line number Diff line
@@ -13,18 +13,19 @@
// See the License for the specific language governing permissions and
// limitations under the License.
//
android_app {
    name: "CarSystemUI",

    overrides: [
        "SystemUI",
    ],
android_library {
    name: "CarSystemUI-core",

    srcs: [
        "src/**/*.java",
        "src/**/I*.aidl",
    ],

    resource_dirs: [
        "res-keyguard",
        "res",
    ],

    static_libs: [
        "SystemUI-core",
        "CarNotificationLib",
@@ -58,6 +59,28 @@ android_app {

    manifest: "AndroidManifest.xml",

    plugins: ["dagger2-compiler-2.19"],

}

android_app {
    name: "CarSystemUI",

    static_libs: [
        "CarSystemUI-core",
    ],

    libs: [
        "telephony-common",
        "android.car",
    ],

    resource_dirs: [],

     overrides: [
        "SystemUI",
    ],

    platform_apis: true,
    product_specific: true,
    certificate: "platform",
@@ -68,12 +91,6 @@ android_app {
            "proguard.flags",
        ],
    },
    resource_dirs: [
        "res-keyguard",
        "res",
    ],


    dxflags: ["--multi-dex"],

    aaptflags: [
@@ -81,6 +98,8 @@ android_app {
        "com.android.keyguard",
    ],

    kotlincflags: ["-Xjvm-default=enable"],

    plugins: ["dagger2-compiler-2.19"],

    required: ["privapp_whitelist_com.android.systemui"],