summaryrefslogtreecommitdiffstats
path: root/omap4.mk
blob: dc1782e35826d0f4045d97ba33ff214ebc285f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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
PRODUCT_PROPERTY_OVERRIDES += \
    ro.hwui.disable_scissor_opt=true

# Disable dirty regions invalidation
PRODUCT_PROPERTY_OVERRIDES += \
    debug.hwui.render_dirty_regions=false

# We don't support eglSwapBuffersWithDamageKHR; this avoids some unnecessary code
PRODUCT_PROPERTY_OVERRIDES += \
    debug.hwui.swap_with_damage=false

# We don't support the new camera API
PRODUCT_PROPERTY_OVERRIDES += \
    camera2.portability.force_api=1

# GPU producer to CPU consumer not supported
PRODUCT_PROPERTY_OVERRIDES += \
    ro.bq.gpu_to_cpu_unsupported=1

$(call inherit-product, hardware/ti/omap4/common.mk)
$(call inherit-product-if-exists, vendor/ti/omap4/omap4-vendor.mk)