prepare cellbroadcastreceiver to be a mainline module

1. prepare two build targets one for updatable module another
for the legacy platform module with diferent config
2. a new cellbroadcastpermissionconfig module to expose
a signature permission.
3. by default, the build include the legacy version.
Later we will switch to the updatable module after more validation
e.g, usre data migration due to uid change
4. for go devies, always include the platform cellbroadcast to
to avoid creating new process

Bug: 135956699
Test: unit test and test app
Change-Id: I4d757e27b1e36fbf4890d08afbd45a141bccfc7c
Merged-In: I4d757e27b1e36fbf4890d08afbd45a141bccfc7c
This commit is contained in:
Chen Xu 2019-08-15 15:48:42 -07:00 committed by Jordan Liu
parent 5242dc18bf
commit 675b92638d
2 changed files with 2 additions and 1 deletions

View File

@ -39,6 +39,7 @@ PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false
# Do not spin up a separate process for the network stack on go devices, use an in-process APK.
PRODUCT_PACKAGES += InProcessNetworkStack
PRODUCT_PACKAGES += CellBroadcastAppPlatform
# Strip the local variable table and the local variable type table to reduce
# the size of the system image. This has no bearing on stack traces, but will

View File

@ -21,6 +21,6 @@ PRODUCT_PACKAGES := \
ONS \
CarrierDefaultApp \
CallLogBackup \
CellBroadcastReceiver \
CellBroadcastAppPlatform \
PRODUCT_COPY_FILES := \