From 25949002d6ad7c94d3863b5a577d520c2c75e810 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Fri, 29 Jan 2016 19:19:51 +0100 Subject: Set up unified build for wifi-only variants Change-Id: I9fffe523aefac96e2cd0461b9398806b02e4c131 --- device.mk | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 device.mk (limited to 'device.mk') 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 -- cgit v1.1