1d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#
2d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# Copyright (C) 2010 The Android Open Source Project
3d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#
4d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# Licensed under the Apache License, Version 2.0 (the "License");
5d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# you may not use this file except in compliance with the License.
6d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# You may obtain a copy of the License at
7d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#
8d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#      http://www.apache.org/licenses/LICENSE-2.0
9d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#
10d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# Unless required by applicable law or agreed to in writing, software
11d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# distributed under the License is distributed on an "AS IS" BASIS,
12d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# See the License for the specific language governing permissions and
14d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi# limitations under the License.
15d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi#
16d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_PATH:= $(call my-dir)
17d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiinclude $(CLEAR_VARS)
18d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
19d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_SRC_FILES:= \
20d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    android_drm_DrmManagerClient.cpp
21d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
22d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_MODULE:= libdrmframework_jni
23d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
24d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_SHARED_LIBRARIES := \
25d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libdrmframework \
26d685894212e6dbeac1fda4996903c1da115d49a6Ying Wang    liblog \
27d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libutils \
28d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libandroid_runtime \
29d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libnativehelper \
30bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown    libbinder \
31bd882b1c8708686d373c56e07e6bb8b1cb6ffd9eJeff Brown    libdl
32d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
33d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_STATIC_LIBRARIES :=
34d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
35d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_C_INCLUDES += \
36d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    $(JNI_H_INCLUDE) \
37ba4d0433319393d626d2169683209e4956a087e2James Dong    $(TOP)/frameworks/av/drm/libdrmframework/include \
38ba4d0433319393d626d2169683209e4956a087e2James Dong    $(TOP)/frameworks/av/drm/libdrmframework/plugins/common/include \
39057b086e0e054247840060cbd1e14295a214221bHenrik B Andersson    $(TOP)/frameworks/av/include \
40057b086e0e054247840060cbd1e14295a214221bHenrik B Andersson    $(TOP)/libcore/include
41d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
423070af08821ee86f06a9cc6b58dbb79c82946b94Iliyan Malchev
43d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
443802949f5cfe500b8bc41371ff99c82c9ed5d9c3Jean-Baptiste QueruLOCAL_MODULE_TAGS := optional
453802949f5cfe500b8bc41371ff99c82c9ed5d9c3Jean-Baptiste Queru
46d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiinclude $(BUILD_SHARED_LIBRARY)
47