-
Notifications
You must be signed in to change notification settings - Fork 6
/
omap4.mk
52 lines (41 loc) · 1.73 KB
/
omap4.mk
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
52
# 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 += \
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
$(call inherit-product, hardware/ti/omap4/common.mk)
$(call inherit-product-if-exists, vendor/ti/omap4/omap4-vendor.mk)
$(call inherit-product-if-exists, vendor/widevine/omap4/widevine-vendor.mk)