-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apq8064: initial import from msm8960-common
- Loading branch information
Daniel Hillenbrand
committed
Apr 27, 2013
0 parents
commit 1906424
Showing
36 changed files
with
11,708 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# | ||
# Copyright (C) 2012 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. | ||
# | ||
|
||
LOCAL_PATH := $(call my-dir) | ||
|
||
ifeq ($(BOARD_VENDOR),htc) | ||
ifeq ($(TARGET_BOARD_PLATFORM),msm8960) | ||
include $(call all-subdir-makefiles,$(LOCAL_PATH)) | ||
endif | ||
endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# Copyright (C) 2013 The CyanogenMod 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). | ||
|
||
BOARD_VENDOR := htc | ||
|
||
# Bootloader | ||
TARGET_NO_BOOTLOADER := true | ||
|
||
# Kernel | ||
TARGET_KERNEL_SOURCE := kernel/htc/msm8960 | ||
|
||
# Platform | ||
TARGET_BOARD_PLATFORM := msm8960 | ||
TARGET_BOARD_PLATFORM_GPU := qcom-adreno200 | ||
|
||
# Architecture | ||
TARGET_ARCH := arm | ||
TARGET_ARCH_VARIANT := armv7-a-neon | ||
TARGET_ARCH_VARIANT_CPU := cortex-a9 | ||
TARGET_CPU_ABI := armeabi-v7a | ||
TARGET_CPU_ABI2 := armeabi | ||
TARGET_CPU_SMP := true | ||
TARGET_USE_KRAIT_BIONIC_OPTIMIZATION := true | ||
|
||
# Flags | ||
COMMON_GLOBAL_CFLAGS += -DQCOM_HARDWARE -DNEW_ION_API=1 | ||
|
||
# QCOM hardware | ||
BOARD_USES_QCOM_HARDWARE := true | ||
|
||
# Audio | ||
BOARD_USES_ALSA_AUDIO := true | ||
TARGET_QCOM_AUDIO_VARIANT := caf | ||
|
||
# Bluetooth | ||
BOARD_HAVE_BLUETOOTH := true | ||
BOARD_HAVE_BLUETOOTH_BCM := true | ||
|
||
# Camera | ||
TARGET_PROVIDES_CAMERA_HAL := false | ||
USE_CAMERA_STUB := true | ||
|
||
# QCOM GPS | ||
BOARD_VENDOR_QCOM_GPS_LOC_API_HARDWARE := $(TARGET_BOARD_PLATFORM) | ||
|
||
# Graphics | ||
USE_OPENGL_RENDERER := true | ||
TARGET_USES_C2D_COMPOSITION := true | ||
TARGET_USES_ION := true | ||
TARGET_QCOM_DISPLAY_VARIANT := caf | ||
BOARD_EGL_CFG := device/htc/apq8064-common/configs/egl.cfg | ||
|
||
# Lights | ||
TARGET_PROVIDES_LIBLIGHT := true | ||
|
||
# Power | ||
TARGET_PROVIDES_POWERHAL := true | ||
|
||
# RIL | ||
BOARD_RIL_CLASS := "../../../device/htc/apq8064-common/libril/" | ||
|
||
# Time | ||
KERNEL_HAS_GETTIMEOFDAY_HELPER := true | ||
|
||
# Webkit | ||
ENABLE_WEBGL := true | ||
TARGET_FORCE_CPU_UPLOAD := true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
android_device_htc_apq8064-common |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,153 @@ | ||
# | ||
# Copyright (C) 2013 The CyanogenMod 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. | ||
# | ||
|
||
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) | ||
|
||
COMMON_PATH := device/htc/apq8064-common | ||
|
||
# overlays | ||
DEVICE_PACKAGE_OVERLAYS += $(COMMON_PATH)/overlay | ||
|
||
# Permissions | ||
PRODUCT_COPY_FILES += \ | ||
frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ | ||
frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ | ||
frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ | ||
frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardwardware.sensor.gyroscope.xml \ | ||
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.distinct.xml \ | ||
frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ | ||
frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ | ||
frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ | ||
frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.compass.xml \ | ||
packages/wallpapers/LivePicker/android.software.live_wallpaper.xml:system/etc/permissions/android.software.live_wallpaper.xml | ||
|
||
# Audio | ||
PRODUCT_PACKAGES += \ | ||
alsa.msm8960 \ | ||
audio.a2dp.default \ | ||
audio_policy.msm8960 \ | ||
audio.primary.msm8960 \ | ||
audio.r_submix.default \ | ||
audio.usb.default \ | ||
libaudio-resampler | ||
|
||
# Bluetooth | ||
PRODUCT_PACKAGES += \ | ||
hci_qcomm_init | ||
|
||
# Camera | ||
PRODUCT_PACKAGES += \ | ||
camera.msm8960 | ||
|
||
# GPS | ||
PRODUCT_PACKAGES += \ | ||
libloc_adapter \ | ||
libloc_eng \ | ||
libgps.utils \ | ||
gps.msm8960 | ||
|
||
# Graphics | ||
PRODUCT_PACKAGES += \ | ||
copybit.msm8960 \ | ||
gralloc.msm8960 \ | ||
hwcomposer.msm8960 \ | ||
libgenlock \ | ||
liboverlay | ||
|
||
# Lights | ||
PRODUCT_PACKAGES += \ | ||
lights.msm8960 | ||
|
||
# OMX | ||
PRODUCT_PACKAGES += \ | ||
libc2dcolorconvert \ | ||
libdivxdrmdecrypt \ | ||
libOmxCore \ | ||
libOmxVdec \ | ||
libOmxVenc \ | ||
libOmxAacEnc \ | ||
libOmxAmrEnc \ | ||
libOmxEvrcEnc \ | ||
libOmxQcelp13Enc \ | ||
libstagefrighthw | ||
|
||
# Power | ||
PRODUCT_PACKAGES += \ | ||
power.msm8960 | ||
|
||
# HDMI | ||
PRODUCT_PACKAGES += \ | ||
hdmid | ||
|
||
# QCOM rngd | ||
PRODUCT_PACKAGES += \ | ||
qrngd | ||
|
||
# USB | ||
PRODUCT_PACKAGES += \ | ||
com.android.future.usb.accessory | ||
|
||
# Filesystem management tools | ||
PRODUCT_PACKAGES += \ | ||
make_ext4fs \ | ||
setup_fs | ||
|
||
# GPS config | ||
PRODUCT_COPY_FILES += \ | ||
$(COMMON_PATH)/configs/gps.conf:system/etc/gps.conf | ||
|
||
# Thermal config | ||
PRODUCT_COPY_FILES += \ | ||
$(COMMON_PATH)/configs/thermald.conf:system/etc/thermald.conf | ||
|
||
# WPA supplicant config | ||
PRODUCT_COPY_FILES += \ | ||
$(COMMON_PATH)/configs/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf | ||
|
||
# Media config | ||
PRODUCT_COPY_FILES += \ | ||
$(COMMON_PATH)/configs/audio_policy.conf:system/etc/audio_policy.conf \ | ||
$(COMMON_PATH)/configs/media_profiles.xml:system/etc/media_profiles.xml \ | ||
$(COMMON_PATH)/configs/media_codecs.xml:system/etc/media_codecs.xml | ||
|
||
# Common build properties | ||
PRODUCT_PROPERTY_OVERRIDES += \ | ||
com.qc.hardware=true \ | ||
debug.composition.type=dyn \ | ||
debug.egl.hw=1 \ | ||
debug.mdpcomp.logs=0 \ | ||
debug.sf.hw=1 \ | ||
dev.pm.dyn_samplingrate=1 \ | ||
lpa.decode=true \ | ||
persist.audio.fluence.mode=endfire \ | ||
persist.audio.vr.enable=false \ | ||
persist.audio.handset.mic=digital \ | ||
persist.audio.speaker.location=high \ | ||
persist.gps.qmienabled=true \ | ||
persist.hwc.mdpcomp.enable=true \ | ||
persist.thermal.monitor=true \ | ||
ro.baseband.arch=mdm \ | ||
ro.opengles.version=131072 \ | ||
ro.qc.sdk.audio.fluencetype=fluence \ | ||
ro.qualcomm.bt.hci_transport=smd \ | ||
ro.telephony.ril_class=HTC8960RIL \ | ||
ro.use_data_netmgrd=true \ | ||
wifi.interface=wlan0 |
Oops, something went wrong.