summaryrefslogtreecommitdiffstats
path: root/audio/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'audio/Android.mk')
-rwxr-xr-xaudio/Android.mk103
1 files changed, 0 insertions, 103 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
deleted file mode 100755
index 5026c54..0000000
--- a/audio/Android.mk
+++ /dev/null
@@ -1,103 +0,0 @@
-#
-# 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.
-
-ifeq ($(BOARD_USES_AUDIO_LEGACY),true)
-LOCAL_PATH := $(call my-dir)
-
-include $(CLEAR_VARS)
-
-LOCAL_MODULE := audio.primary.$(TARGET_BOARD_PLATFORM)
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_MODULE_TAGS := optional
-
-LOCAL_SHARED_LIBRARIES := \
- libcutils \
- libutils \
- libmedia \
- libhardware_legacy
-
-LOCAL_SHARED_LIBRARIES += libdl
-
-LOCAL_SHARED_LIBRARIES += libaudio
-
-ifeq ($(BOARD_FORCE_STATIC_A2DP),true)
- LOCAL_SHARED_LIBRARIES += liba2dp
-endif
-
-
-LOCAL_STATIC_LIBRARIES := \
- libmedia_helper
-
-LOCAL_WHOLE_STATIC_LIBRARIES := \
- libaudiohw_legacy
-
-include $(BUILD_SHARED_LIBRARY)
-
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := \
- AudioPolicyManagerBase.cpp \
- AudioPolicyCompatClient.cpp \
- audio_policy_hal.cpp
-
-ifeq ($(AUDIO_POLICY_TEST),true)
- LOCAL_CFLAGS += -DAUDIO_POLICY_TEST
-endif
-
-ifeq ($(BOARD_HAVE_BLUETOOTH),true)
- LOCAL_CFLAGS += -DWITH_A2DP
-endif
-
-LOCAL_STATIC_LIBRARIES := libmedia_helper
-LOCAL_MODULE := libaudiopolicy_legacy2
-LOCAL_MODULE_TAGS := optional
-
-include $(BUILD_STATIC_LIBRARY)
-
-
-# The default audio policy, for now still implemented on top of legacy
-# policy code
-include $(CLEAR_VARS)
-
-LOCAL_SRC_FILES := \
- AudioPolicyManagerDefault.cpp
-
-LOCAL_SHARED_LIBRARIES := \
- libcutils \
- libutils \
- libmedia
-
-LOCAL_STATIC_LIBRARIES := \
- libmedia_helper
-
-LOCAL_WHOLE_STATIC_LIBRARIES := \
- libaudiopolicy_legacy2
-
-ifeq ($(BOARD_USES_AUDIO_LEGACY),true)
-LOCAL_SHARED_LIBRARIES += libaudiopolicy
-endif
-
-LOCAL_C_INCLUDES := $(LOCAL_PATH)
-LOCAL_MODULE := audio_policy.$(TARGET_BOARD_PLATFORM)
-LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_MODULE_TAGS := optional
-
-ifeq ($(BOARD_HAVE_BLUETOOTH),true)
- LOCAL_CFLAGS += -DWITH_A2DP
-endif
-
-include $(BUILD_SHARED_LIBRARY)
-
-endif ## AUDIOPOLICY