Android.mk revision 16dfdcff6e4bb025220b88d5fc132ae48e7cb437
1#
2# Copyright (C) 2014 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8#      http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH:= $(call my-dir)
17include $(CLEAR_VARS)
18
19LOCAL_SRC_FILES := \
20    AesCtrDecryptor.cpp \
21    JsonWebKey.cpp \
22    Utils.cpp \
23
24LOCAL_C_INCLUDES := \
25    bionic \
26    external/jsmn \
27    external/openssl/include \
28    frameworks/av/drm/mediadrm/plugins/clearkey \
29    frameworks/av/include \
30    frameworks/native/include \
31
32LOCAL_MODULE := libdrmclearkeyplugin
33
34LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/mediadrm
35
36LOCAL_SHARED_LIBRARIES := \
37    libcrypto \
38    liblog \
39    libstagefright_foundation \
40    libutils \
41
42LOCAL_STATIC_LIBRARIES := \
43    libjsmn \
44
45LOCAL_MODULE_TAGS := optional
46
47include $(BUILD_SHARED_LIBRARY)
48
49#########################################################################
50# Build unit tests
51
52include $(LOCAL_PATH)/tests/Android.mk
53