summaryrefslogtreecommitdiff
path: root/common-device.mk
blob: 74ce34c9a15b00d6024b3e0585e54dcb0ae1636a (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
# common place to define features for all linaro supported boards

INCLUDE_TESTS ?= 1

# Set default log size on userdebug/eng build to 1M
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PROPERTY_OVERRIDES += ro.logd.size=1M
endif

# enable adbd started with root permission
PRODUCT_PROPERTY_OVERRIDES += service.adb.root=1

PRODUCT_COPY_FILES += $(call add-to-product-copy-files-if-exists,\
                          device/linaro/build/disablesuspend.sh:system/bin/disablesuspend.sh)

# Copy media codecs config file
# so that to enable mediaplayback
PRODUCT_COPY_FILES += device/linaro/build/media_codecs.xml:system/etc/media_codecs.xml \
  frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml

# Integrate the dev tools application
PRODUCT_PACKAGES += Development DevelopmentSettings

# integrate the webview apk
PRODUCT_PACKAGES += webview
PRODUCT_PACKAGES += getcap setcap

ifeq ($(INCLUDE_TESTS), 1)
# integrate tests that will not be integrated by default
$(call inherit-product-if-exists, device/linaro/build/extra-and-tests.mk)
endif