summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
author Justin Yun <justinyun@google.com> 2024-06-28 13:37:32 +0900
committer Justin Yun <justinyun@google.com> 2024-06-28 13:37:32 +0900
commite1f9d9778f80c498b6c6747157006302224e652f (patch)
tree1d8056fd6e8636286a51adf2b78f227d7c786110 /data
parent8a56df6825b5042503d74d690071c4bca9db91f2 (diff)
Define android.software.credentials.xml as prebuilt_etc
Instead of using PRODUCT_COPY_FILES to copy a source file to install, define a prebuilt_etc module and add it to the PRODUCT_PACKAGES. android.software.credentials.xml is to be installed in system for GSI. Bug: 345373198 Test: See if android.software.credentials.xml is installed in system/etc/permissions Change-Id: Ib9f030e1e0ff6db55a6e07444943407f9ff1c1df
Diffstat (limited to 'data')
-rw-r--r--data/etc/Android.bp8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/etc/Android.bp b/data/etc/Android.bp
index b63d14b2cb..ab09de102b 100644
--- a/data/etc/Android.bp
+++ b/data/etc/Android.bp
@@ -370,6 +370,14 @@ prebuilt_etc {
defaults: ["frameworks_native_data_etc_defaults"],
}
+// installed in system for GSI
+prebuilt_etc {
+ name: "android.software.credentials.prebuilt.xml",
+ relative_install_path: "permissions",
+ src: "android.software.credentials.xml",
+ filename_from_src: true,
+}
+
prebuilt_etc {
name: "android.software.device_id_attestation.prebuilt.xml",
src: "android.software.device_id_attestation.xml",