Enforce RRO on packages including system-critical overlays
Overlays only for the following packages will be converted into RROs.
- framework-res
- Bluetooth
- Settings
- TeleService
These are selected as packages including the set of must-have overlays
in http://b/35859726#comment16.
Test: building succeeded on userdebug of the following products.
- marlin, marlinf, marlinw, marlin_cc, marlin_sesame, marlin_cfi,
marlin_asan, marlin_l10n, marlin_kasan, marlin_svelte,
marlin_coverage, marlin_asan_coverage
- sailfish, sailfishf, sailfishw, sailfish_cc, sailfish_sesame,
sailfish_asan, sailfish_l10n, sailfish_kasan, sailfish_corp,
sailfish_coverage, sailfish_asan_coverage, sailfish_bootpreopt,
sailfish_gmscore_next
- aosp_marlin, aosp_marlin_svelte, aosp_sailfish
- sailfish-userdebug_P
And tested sailfish-userdebug on a sailfish device.
Bug: 36231603
Change-Id: Ia5bddccf5b6bf3063b65fb2e8cea93515b650b1c
diff --git a/device-common.mk b/device-common.mk
index 9dfb91e..c91367b 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -31,6 +31,12 @@
DEVICE_PACKAGE_OVERLAYS += device/google/marlin/overlay
+PRODUCT_ENFORCE_RRO_TARGETS := \
+ framework-res \
+ Bluetooth \
+ Settings \
+ TeleService
+
# Input device files
PRODUCT_COPY_FILES += \
device/google/marlin/gpio-keys.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gpio-keys.kl \