summaryrefslogtreecommitdiffstats
path: root/audio/Android.mk
diff options
context:
space:
mode:
authorJoonas Kylmälä <joonas.kylmala@iki.fi>2020-04-10 10:41:00 -0400
committerJoonas Kylmälä <joonas.kylmala@iki.fi>2020-04-10 10:41:00 -0400
commit697e4dd0e6b483da2e7b17e1a82b0b47104dcc7f (patch)
tree5ccd90eed0e8980c65588ab0aae51a1eaab9a629 /audio/Android.mk
downloaddevice_samsung_midas-common-697e4dd0e6b483da2e7b17e1a82b0b47104dcc7f.tar.gz
device_samsung_midas-common-697e4dd0e6b483da2e7b17e1a82b0b47104dcc7f.tar.bz2
device_samsung_midas-common-697e4dd0e6b483da2e7b17e1a82b0b47104dcc7f.zip
Initial commit
Signed-off-by: Joonas Kylmälä <joonas.kylmala@iki.fi>
Diffstat (limited to 'audio/Android.mk')
-rw-r--r--audio/Android.mk58
1 files changed, 58 insertions, 0 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
new file mode 100644
index 0000000..7db7659
--- /dev/null
+++ b/audio/Android.mk
@@ -0,0 +1,58 @@
+#
+# 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.
+
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+
+LOCAL_VENDOR_MODULE := true
+LOCAL_MODULE := audio.primary.i9305
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SHARED_LIBRARIES := libcutils liblog
+
+LOCAL_SRC_FILES := audio_hw.c
+
+LOCAL_C_INCLUDES += \
+ external/tinyalsa/include \
+
+LOCAL_SHARED_LIBRARIES += \
+ libdl \
+ libtinyalsa
+
+LOCAL_CFLAGS := -Wno-unused-parameter
+LOCAL_HEADER_LIBRARIES := libhardware_headers
+
+include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_VENDOR_MODULE := true
+LOCAL_MODULE := audio.primary.i9305_legacy
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_SHARED_LIBRARIES := libcutils liblog
+
+LOCAL_SRC_FILES := audio_hw_legacy.c
+
+LOCAL_SHARED_LIBRARIES += \
+ libdl
+
+LOCAL_CFLAGS := -Wno-unused-parameter
+LOCAL_HEADER_LIBRARIES := libhardware_headers
+
+include $(BUILD_SHARED_LIBRARY)