Android.mk revision d074e30ce44b9e33da43b67a4515b8986ca72b26
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 \
26d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libutils \
27d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libandroid_runtime \
28d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libnativehelper \
29d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libbinder \
30d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    libdl
31d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
32d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_STATIC_LIBRARIES :=
33d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
34d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_C_INCLUDES += \
35d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    $(JNI_H_INCLUDE) \
36d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    $(TOP)/frameworks/base/drm/libdrmframework/include \
37d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    $(TOP)/frameworks/base/drm/libdrmframework/plugins/common/include \
38d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi    $(TOP)/frameworks/base/include
39d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
40d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiLOCAL_PRELINK_MODULE := false
41d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
42d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshiinclude $(BUILD_SHARED_LIBRARY)
43d074e30ce44b9e33da43b67a4515b8986ca72b26aimitakeshi
44