127ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#
227ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# Copyright (C) 2010 The Android Open Source Project
327ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#
427ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# Licensed under the Apache License, Version 2.0 (the "License");
527ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# you may not use this file except in compliance with the License.
627ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# You may obtain a copy of the License at
727ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#
827ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#      http://www.apache.org/licenses/LICENSE-2.0
927ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#
1027ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# Unless required by applicable law or agreed to in writing, software
1127ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# distributed under the License is distributed on an "AS IS" BASIS,
1227ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1327ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# See the License for the specific language governing permissions and
1427ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# limitations under the License.
1527ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#
1627ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_PATH:= $(call my-dir)
1727ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiinclude $(CLEAR_VARS)
1827ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
1927ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_SRC_FILES:= \
2027ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi    src/DrmPassthruPlugIn.cpp
2127ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
2227ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_MODULE := libdrmpassthruplugin
2327ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
2427ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_STATIC_LIBRARIES := libdrmframeworkcommon
2527ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
2627ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_SHARED_LIBRARIES := \
275e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown    libutils \
28da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog \
295e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown    libdl
309691a73139bb36c5bf294ed13eedcb04d7f05320Iliyan Malchev
3127ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
3227ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiLOCAL_C_INCLUDES += \
33559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/drm/libdrmframework/include \
34559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/drm/libdrmframework/plugins/passthru/include \
35559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include \
36559bf2836f5da25b75bfb229fec0d20d540ee426James Dong    $(TOP)/frameworks/av/include
3727ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
3827ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi# Set the following flag to enable the decryption passthru flow
3927ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi#LOCAL_CFLAGS += -DENABLE_PASSTHRU_DECRYPTION
4027ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
410335b70c6cdbe96650d4bed817f9233cd8db1c6dJean-Baptiste QueruLOCAL_MODULE_TAGS := optional
4227ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshi
4327ed8ad2db653f6ac07dcf8bcc05e2409c8bb024aimitakeshiinclude $(BUILD_SHARED_LIBRARY)
44