summaryrefslogtreecommitdiff
path: root/legacy/Android.bp
blob: 16d23700d81db2385a7f40e5ca9db7aa390025d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2020 The Android Open Source Project
// legacy app only used to preserve data and migrate to CellBroadcastApp.
// This will not be part of the Cellbroadcast mainline module.
// The app is included to system img by default. If OEMs have their own legacy
// app they can replace this one. If OEMs don't care about data loss or data
// migration complete, OEMs can remove this app going forward.
package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "packages_apps_CellBroadcastReceiver_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: [
        "packages_apps_CellBroadcastReceiver_license",
    ],
}

android_app {
    name: "CellBroadcastLegacyApp",
    manifest: "AndroidManifest.xml",
    certificate: "platform",

    static_libs: [
        "androidx.appcompat_appcompat",
    ],

    libs: ["app-compat-annotations"],

    srcs: [
        "src/**/*.aidl",
        "src/**/*.java",
        ":framework-annotations",
        ":cellbroadcast-database-sources",
    ],
    privileged: true,
    sdk_version: "system_current",
}