Android: Add privapp-permissions XML

Bug: angleproject:8210
Bug: b/242671681
Change-Id: I57d14eb026fab319e080cedcfefd5c160c1321d7
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4617552
Reviewed-by: Cody Northrop <cnorthrop@google.com>
Commit-Queue: Cody Northrop <cnorthrop@google.com>
Reviewed-by: Ian Elliott <ianelliott@google.com>
This commit is contained in:
yanhongchen
2023-06-15 19:36:16 +08:00
committed by Angle LUCI CQ
parent 1d496191ad
commit b03a018c43
3 changed files with 24 additions and 1 deletions

View File

@@ -666,7 +666,7 @@ def main():
],
}))
# Add APKs with all of the root libraries
# Add APKs with all of the root libraries and permissions xml
blueprint_targets.append((
'filegroup',
{
@@ -683,6 +683,14 @@ def main():
'src/android_system_settings/src/com/android/angle/common/SearchProvider.java',
],
}))
blueprint_targets.append(('prebuilt_etc', {
'name': 'android.software.angle.xml',
'src': 'android/android.software.angle.xml',
'product_specific': True,
'sub_dir': 'permissions',
}))
blueprint_targets.append((
'java_defaults',
{
@@ -705,6 +713,7 @@ def main():
'privileged': True,
'product_specific': True,
'owner': 'google',
'required': ['android.software.angle.xml'],
}))
blueprint_targets.append(('android_library', {