-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathcommon.mk
72 lines (60 loc) · 2.23 KB
/
common.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
68
69
70
71
72
#
# 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.
#
# Overlay
DEVICE_PACKAGE_OVERLAYS := device/zte/msm7x27-common/overlay
# Inherit qcom common
$(call inherit-product, device/qcom/msm7x27/msm7x27.mk)
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony.mk)
# Inherit hdpi 512
$(call inherit-product, frameworks/native/build/phone-hdpi-512-dalvik-heap.mk)
# AAPT
PRODUCT_AAPT_CONFIG := normal hdpi
PRODUCT_AAPT_PREF_CONFIG := hdpi
# GPS
PRODUCT_PACKAGES += \
librpc
# Camera
PRODUCT_PACKAGES += \
camera.msm7x27
# Misc
PRODUCT_PACKAGES += \
lights.msm7x27 \
sensors.msm7x27 \
power.msm7x27 \
hwcomposer.msm7x27
# FM Radio
PRODUCT_PACKAGES += \
libfmradio.si4708 \
Effem
# Audio
PRODUCT_PACKAGES += \
audio.primary.msm7x27 \
audio_policy.msm7x27 \
audio.usb.default
# FM Radio
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/com.stericsson.hardware.fm.receiver.xml:system/etc/permissions/com.stericsson.hardware.fm.receiver.xml
# Media and vold
PRODUCT_COPY_FILES += \
device/zte/msm7x27-common/prebuilt/vold.fstab:system/etc/vold.fstab \
device/zte/msm7x27-common/media/AudioFilter.csv:system/etc/AudioFilter.csv \
device/zte/msm7x27-common/media/AutoVolumeControl.txt:system/etc/AutoVolumeControl.txt \
device/zte/msm7x27-common/media/media_profiles.xml:system/etc/media_profiles.xml \
device/zte/msm7x27-common/media/audio_policy.conf:system/etc/audio_policy.conf \
device/zte/msm7x27-common/media/media_codecs.xml:system/etc/media_codecs.xml \
device/zte/msm7x27-common/prebuilt/gps.conf:system/etc/gps.conf