2010-07-29 10:12:27 +09:00
|
|
|
#
|
|
|
|
# Copyright (C) 2010 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_SRC_FILES:= \
|
|
|
|
DrmManagerClientImpl.cpp \
|
|
|
|
DrmManagerClient.cpp
|
|
|
|
|
|
|
|
LOCAL_MODULE:= libdrmframework
|
|
|
|
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
libutils \
|
2010-09-09 16:16:14 -07:00
|
|
|
libbinder
|
|
|
|
|
|
|
|
ifeq ($(TARGET_SIMULATOR),true)
|
|
|
|
LOCAL_LDLIBS += -ldl
|
|
|
|
else
|
|
|
|
LOCAL_SHARED_LIBRARIES += libdl
|
|
|
|
endif
|
2010-07-29 10:12:27 +09:00
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := \
|
|
|
|
libdrmframeworkcommon
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
|
|
$(TOP)/frameworks/base/drm/libdrmframework/include \
|
|
|
|
$(TOP)/frameworks/base/include
|
|
|
|
|
2011-03-14 14:02:13 -07:00
|
|
|
|
2010-07-29 10:12:27 +09:00
|
|
|
|
2010-09-10 12:46:57 -07:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
2010-07-29 10:12:27 +09:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|