summaryrefslogtreecommitdiff
path: root/aosp_redfin.mk
diff options
context:
space:
mode:
authorChungjui Fan <chungjuifan@google.com>2020-06-16 15:14:04 +0800
committerChungjui Fan <chungjuifan@google.com>2020-06-16 15:14:16 +0800
commit737730c4a2534220dac81835232b75c971df9516 (patch)
treef063ec9217965f5237bc0b37551d344ce3725912 /aosp_redfin.mk
parent3b13583bb530f0420e59b08ec0a27afcf45be3b7 (diff)
downloadredfin-737730c4a2534220dac81835232b75c971df9516.tar.gz
Exclude unavailable features from AOSP build
Failed Items: testDelegatedCertInstallerDeviceIdAttestation testDeviceIdAttestationForProfileOwner testLocationFeatures Bug: 155943720 Bug: 159095429 Test: Tests pass for these failed items Change-Id: I332c38b612fc136c0ec1b3fe0d35f3e96b1cd8fd Signed-off-by: Chungjui Fan <chungjuifan@google.com>
Diffstat (limited to 'aosp_redfin.mk')
-rw-r--r--aosp_redfin.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/aosp_redfin.mk b/aosp_redfin.mk
index 58b15b9..25756bc 100644
--- a/aosp_redfin.mk
+++ b/aosp_redfin.mk
@@ -46,6 +46,10 @@ $(call inherit-product, device/google/redfin/device-redfin.mk)
$(call inherit-product-if-exists, vendor/google_devices/redfin/proprietary/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/redfin/prebuilts/device-vendor-redfin.mk)
+# Exclude features that are not available on AOSP devices.
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml
+
# Don't build super.img.
PRODUCT_BUILD_SUPER_PARTITION := false