93 lines
2.1 KiB
Plaintext
93 lines
2.1 KiB
Plaintext
|
|
package {
|
||
|
|
default_applicable_licenses: [
|
||
|
|
"packages_apps_MtkContacts_license",
|
||
|
|
"Android-Apache-2.0",
|
||
|
|
],
|
||
|
|
}
|
||
|
|
|
||
|
|
// See: http://go/android-license-faq
|
||
|
|
license {
|
||
|
|
name: "packages_apps_MtkContacts_license",
|
||
|
|
package_name: "Mtk Contacts App",
|
||
|
|
visibility: [":__subpackages__"],
|
||
|
|
license_kinds: [
|
||
|
|
"SPDX-license-identifier-Apache-2.0",
|
||
|
|
"SPDX-license-identifier-BSD",
|
||
|
|
"SPDX-license-identifier-CC-BY",
|
||
|
|
],
|
||
|
|
license_text: [
|
||
|
|
"NOTICE",
|
||
|
|
],
|
||
|
|
}
|
||
|
|
|
||
|
|
android_app {
|
||
|
|
name: "MtkContacts",
|
||
|
|
overrides: [
|
||
|
|
"Contacts",
|
||
|
|
],
|
||
|
|
srcs: [
|
||
|
|
"src/**/*.java",
|
||
|
|
"src-bind/**/*.java",
|
||
|
|
/// M: add ext for Plugin interface @{
|
||
|
|
"ext/**/*.java",
|
||
|
|
/// @}
|
||
|
|
],
|
||
|
|
|
||
|
|
/// M: append for MTK resource @{
|
||
|
|
resource_dirs: [
|
||
|
|
"res",
|
||
|
|
"res_ext",
|
||
|
|
],
|
||
|
|
/// @}
|
||
|
|
|
||
|
|
static_libs: [
|
||
|
|
"com.android.phone.common-lib",
|
||
|
|
|
||
|
|
"com.google.android.material_material",
|
||
|
|
"androidx.transition_transition",
|
||
|
|
"androidx.legacy_legacy-support-v13",
|
||
|
|
"androidx.appcompat_appcompat",
|
||
|
|
"androidx.cardview_cardview",
|
||
|
|
"androidx.recyclerview_recyclerview",
|
||
|
|
"androidx.palette_palette",
|
||
|
|
"androidx.legacy_legacy-support-v4",
|
||
|
|
"android-common",
|
||
|
|
"com.android.vcard.mtk",
|
||
|
|
"guava",
|
||
|
|
"libphonenumber",
|
||
|
|
],
|
||
|
|
|
||
|
|
/// M: for using framework @{
|
||
|
|
libs: [
|
||
|
|
// add for AOSP
|
||
|
|
"voip-common",
|
||
|
|
// add for mtk add-on functions.
|
||
|
|
"telephony-common",
|
||
|
|
"framework",
|
||
|
|
"mediatek-framework",
|
||
|
|
"mediatek-common",
|
||
|
|
"mediatek-telephony-common",
|
||
|
|
"mediatek-telephony-base",
|
||
|
|
"mediatek-telecom-common",
|
||
|
|
],
|
||
|
|
/// @}
|
||
|
|
|
||
|
|
/// M: certificate: "shared", @{
|
||
|
|
certificate: "platform",
|
||
|
|
/// @}
|
||
|
|
/// M: product_specific: true, @{
|
||
|
|
system_ext_specific: true,
|
||
|
|
/// @}
|
||
|
|
privileged: true,
|
||
|
|
required: ["privapp_whitelist_com.android.contacts"],
|
||
|
|
|
||
|
|
optimize: {
|
||
|
|
proguard_flags_files: ["proguard.flags"],
|
||
|
|
},
|
||
|
|
|
||
|
|
/// M: sdk_version: "system_current", @{
|
||
|
|
platform_apis: true,
|
||
|
|
/// @}
|
||
|
|
min_sdk_version: "21",
|
||
|
|
}
|