aboutsummaryrefslogtreecommitdiffstats
path: root/device.mk
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-01-29 19:19:51 +0100
committerAndreas Blaesius <skate4life@gmx.de>2016-02-22 23:03:38 +0100
commit25949002d6ad7c94d3863b5a577d520c2c75e810 (patch)
tree6e24397f82585a5c0c1fc492e660305ab6826172 /device.mk
parent0e766ffb17c5d867a87ed04d8cb6c5c603577d53 (diff)
downloaddevice_samsung_espressowifi-25949002d6ad7c94d3863b5a577d520c2c75e810.zip
device_samsung_espressowifi-25949002d6ad7c94d3863b5a577d520c2c75e810.tar.gz
device_samsung_espressowifi-25949002d6ad7c94d3863b5a577d520c2c75e810.tar.bz2
Set up unified build for wifi-only variants
Change-Id: I9fffe523aefac96e2cd0461b9398806b02e4c131
Diffstat (limited to 'device.mk')
-rw-r--r--device.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/device.mk b/device.mk
new file mode 100644
index 0000000..e0e4337
--- /dev/null
+++ b/device.mk
@@ -0,0 +1,32 @@
+#
+# Copyright (C) 2016 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.
+#
+
+# Include common device configuration
+$(call inherit-product, device/samsung/espresso/espresso-common.mk)
+
+# Include wifi-only overlays
+DEVICE_PACKAGE_OVERLAYS += device/samsung/espresso/overlay/aosp
+
+# Audio
+PRODUCT_COPY_FILES += \
+ device/samsung/espresso/audio/audio_policy.conf:system/etc/audio_policy.conf
+
+# IR
+PRODUCT_PACKAGES += \
+ consumerir.piranha
+
+PRODUCT_COPY_FILES += \
+ frameworks/native/data/etc/android.hardware.consumerir.xml:system/etc/permissions/android.hardware.consumerir.xml