1PRODUCT_COPY_FILES += \ 2 hardware/google/pixel/common/init.pixel.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.pixel.rc 3 4BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/common/vendor 5SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/common/system_ext 6 7# Enable atrace categories and tools for pixel devices 8PRODUCT_PACKAGES += \ 9 atrace_categories.txt.pixel \ 10 dmabuf_dump 11 12# fastbootd 13PRODUCT_PACKAGES += \ 14 fastbootd 15 16# Enable RKP support 17PRODUCT_PRODUCT_PROPERTIES += \ 18 remote_provisioning.hostname=remoteprovisioning.googleapis.com 19 20# Pixel Experience 21 22ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 23ifeq (,$(filter aosp_%,$(TARGET_PRODUCT))) 24PRODUCT_PACKAGES_DEBUG += wifi_diagnostic 25BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_diagnostic 26endif 27endif 28 29PRODUCT_PACKAGES_DEBUG += wifi_sniffer 30BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_sniffer 31 32PRODUCT_PACKAGES_DEBUG += wifi_perf_diag 33BOARD_VENDOR_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/wifi_perf_diag 34 35# Enable whole-program R8 Java optimizations for SystemUI and system_server, 36# but also allow explicit overriding for testing and development. 37SYSTEM_OPTIMIZE_JAVA ?= true 38SYSTEMUI_OPTIMIZE_JAVA ?= true 39 40# Exclude features that are not available on AOSP devices. 41ifneq (,$(filter aosp_%,$(TARGET_PRODUCT))) 42PRODUCT_COPY_FILES += \ 43 frameworks/native/data/etc/aosp_excluded_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/aosp_excluded_hardware.xml 44endif 45 46# Preopt SystemUI 47ifneq ($(RELEASE_SYSTEMUI_USE_SPEED_PROFILE), true) 48PRODUCT_DEXPREOPT_SPEED_APPS += SystemUIGoogle # For internal 49PRODUCT_DEXPREOPT_SPEED_APPS += SystemUI # For AOSP 50endif 51 52# Set on-device compilation mode for SystemUI. 53ifeq ($(RELEASE_SYSTEMUI_USE_SPEED_PROFILE), true) 54PRODUCT_PROPERTY_OVERRIDES += \ 55 dalvik.vm.systemuicompilerfilter=speed-profile 56else 57PRODUCT_PROPERTY_OVERRIDES += \ 58 dalvik.vm.systemuicompilerfilter=speed 59endif 60 61# Virtual fingerprint HAL 62PRODUCT_PACKAGES += com.android.hardware.biometrics.fingerprint.virtual 63 64# Virtual face HAL 65PRODUCT_PACKAGES += com.android.hardware.biometrics.face.virtual 66 67# AI Labs artifacts 68ifeq ($(RELEASE_INSTALL_AI_LABS_ARTIFACTS), true) 69 include vendor/google/AILabs/ai_labs.mk 70endif 71