55 lines
1.8 KiB
Makefile
55 lines
1.8 KiB
Makefile
# Copyright (C) 2011 The Android Open Source Project
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# This file lists the modules that are specific to OMAP4 but are used by
|
|
# all OMAP4 devices.
|
|
|
|
OMAP4_NEXT_FOLDER := hardware/ti/omap4
|
|
|
|
PRODUCT_PACKAGES += \
|
|
hwcomposer.omap4 \
|
|
power.omap4
|
|
|
|
PRODUCT_VENDOR_KERNEL_HEADERS := hardware/ti/omap4/kernel-headers
|
|
|
|
# Init
|
|
PRODUCT_COPY_FILES += \
|
|
$(OMAP4_NEXT_FOLDER)/rootdir/init.omap4.rc:root/init.omap4.rc
|
|
|
|
# SGX540 is slower with the scissor optimization enabled
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
ro.hwui.disable_scissor_opt=true
|
|
|
|
# Disable dirty regions invalidation
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
debug.hwui.render_dirty_regions=false
|
|
|
|
# We don't support eglSwapBuffersWithDamageKHR; this avoids some unnecessary code
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
debug.hwui.swap_with_damage=false
|
|
|
|
# We don't support the new camera API
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
camera2.portability.force_api=1
|
|
|
|
# GPU producer to CPU consumer not supported
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
ro.bq.gpu_to_cpu_unsupported=1
|
|
|
|
# affects lock screen ColorFader and ensures release of /dev/pvrsrvkm GPU ressources
|
|
ADDITIONAL_BUILD_PROPERTIES += \
|
|
ro.egl.destroy_after_detach=true
|
|
|
|
$(call inherit-product, hardware/ti/omap4/common.mk)
|
|
$(call inherit-product-if-exists, vendor/ti/omap4/omap4-vendor.mk)
|