forked from Ziyann/android_device_asus_grouper
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathBoardConfig.mk
69 lines (59 loc) · 3.17 KB
/
BoardConfig.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Copyright (C) 2010 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 sets variables that control the way modules are built
# thorughout the system. It should not be used to conditionally
# disable makefiles (the proper mechanism to control what gets
# included in a build is to use PRODUCT_PACKAGES in a product
# definition file).
#
# WARNING: This line must come *before* including the proprietary
# variant, so that it gets overwritten by the parent (which goes
# against the traditional rules of inheritance).
# The proprietary variant sets USE_CAMERA_STUB := false, this way
# we use the camera stub when the vendor tree isn't present, and
# the true camera library when the vendor tree is available. Similarly,
# we set USE_PROPRIETARY_AUDIO_EXTENSIONS to true in the proprietary variant as
# well.
USE_CAMERA_STUB := true
USE_PROPRIETARY_AUDIO_EXTENSIONS := false
TARGET_RELEASETOOLS_EXTENSIONS := device/asus/grouper
-include vendor/asus/grouper/BoardConfigVendor.mk
include device/asus/grouper/BoardConfigCommon.mk
#TARGET_NO_RECOVERY = true
TARGET_RECOVERY_FSTAB = device/asus/grouper/fstab.grouper
#BOARD_WIDEVINE_OEMCRYPTO_LEVEL := 1
TARGET_DISABLE_ARM_PIE := true
TARGET_GLOBAL_CFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hardfp -gtoggle -s -DNDEBUG -march=armv7-a -mthumb -O2 -funroll-loops -mimplicit-it=always -mno-warn-deprecated -mauto-it --disable-docs -mtls-dialect=gnu2 --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=1024 --param simultaneous-prefetches=6 --param prefetch-latency=400 -mvectorize-with-neon-quad
TARGET_GLOBAL_CPPFLAGS += -mtune=cortex-a9 -mfpu=neon -mfloat-abi=hardfp -gtoggle -s -DNDEBUG -O2 -funroll-loops -mthumb -march=armv7-a -mimplicit-it=always -mno-warn-deprecated -mauto-it --disable-docs -mtls-dialect=gnu2 --param l1-cache-size=32 --param l1-cache-line-size=32 --param l2-cache-size=1024 --param simultaneous-prefetches=6 --param prefetch-latency=400 -mvectorize-with-neon-quad
TARGET_BOOTANIMATION_PRELOAD := true
BOARD_SKIP_ANDROID_DOC_BUILD := true
DISABLE_DROIDDOC := true
TARGET_BOOTANIMATION_TEXTURE_CACHE := false
TARGET_ENABLE_NON_PIE_SUPPORT := true
WITH_DEXPREOPT := false
HWUI_COMPILE_FOR_PERF := true
BOARD_EGL_WORKAROUND_BUG_10194508 := true
$(call add-product-dex-preopt-module-config,services,--compiler-filter=everything)
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.dex2oat-flags=--no-watch-dog \
dalvik.vm.dex2oat-filter=everything \
dalvik.vm.image-dex2oat-filter=everything \
dalvik.vm.check-dex-sum=false \
dalvik.vm.checkjni=false \
dalvik.vm.usejit=true \
dalvik.vm.heaptargetutilization=0.9 \
dalvik.vm.dexopt-flags=v=a,o=v
PRODUCT_PROPERTY_OVERRIDES += \
pm.dexopt.shared=quicken