1// Copyright 2011 The Android Open Source Project 2java_defaults { 3 name: "CellBroadcastCommon", 4 min_sdk_version: "29", 5 sdk_version: "system_current", 6 privileged: true, 7 srcs: [ 8 "src/**/*.java", 9 ":framework-annotations", 10 ":cellbroadcast-constants-shared-srcs", 11 ], 12 static_libs: [ 13 "androidx.legacy_legacy-support-v4", 14 "androidx.legacy_legacy-support-v13", 15 "androidx.recyclerview_recyclerview", 16 "androidx.preference_preference", 17 "androidx.appcompat_appcompat", 18 "androidx.legacy_legacy-preference-v14", 19 ], 20 optimize: { 21 proguard_flags_files: ["proguard.flags"], 22 }, 23 resource_dirs: ["res"], 24} 25 26android_app { 27 name: "CellBroadcastApp", 28 defaults: ["CellBroadcastCommon"], 29 certificate: "networkstack", 30 manifest: "AndroidManifest.xml", 31} 32 33android_app { 34 name: "CellBroadcastAppPlatform", 35 defaults: ["CellBroadcastCommon"], 36 certificate: "platform", 37 // CellBroadcastAppPlatform is a replacement for com.android.cellbroadcast apex which consists 38 // of CellBroadcastApp 39 overrides: ["com.android.cellbroadcast"], 40 manifest: "AndroidManifest_Platform.xml", 41 system_ext_specific: true, 42 privileged: true, 43 required: ["privapp_whitelist_com.android.cellbroadcastreceiver"], 44} 45