summaryrefslogtreecommitdiffstats
path: root/drm/libdrmframework/plugins/common/util/Android.mk
diff options
context:
space:
mode:
authorPravat Dalbehera <pravat.dalbehera@sonyericsson.com>2011-01-05 09:02:51 +0100
committerJohan Redestig <johan.redestig@sonyericsson.com>2011-01-05 09:02:51 +0100
commitfdd65a0fc7df2c878cc601e4c0f4021cb264f051 (patch)
treea8c288da5c4cf8ef658df6b81406dedf916a56ce /drm/libdrmframework/plugins/common/util/Android.mk
parent7f7371ad2df83fe6a085089446575d0bcd24d59a (diff)
downloadframeworks_av-fdd65a0fc7df2c878cc601e4c0f4021cb264f051.zip
frameworks_av-fdd65a0fc7df2c878cc601e4c0f4021cb264f051.tar.gz
frameworks_av-fdd65a0fc7df2c878cc601e4c0f4021cb264f051.tar.bz2
Initial OMA DRM forward lock contribution
OMA DRM forward lock agent is plugged into the Open DRM framework. Forward lock agent implementation contains: - Forward lock engine to communicate with framework - Converter to encrypt the original file into a special format - Decoder to feed the decrypted data for rendering - Lightweight unique key-encryption mechanism - Documentation Change-Id: Id828ebc30b8147b58b14960a73571648bc01ae94
Diffstat (limited to 'drm/libdrmframework/plugins/common/util/Android.mk')
-rw-r--r--drm/libdrmframework/plugins/common/util/Android.mk52
1 files changed, 52 insertions, 0 deletions
diff --git a/drm/libdrmframework/plugins/common/util/Android.mk b/drm/libdrmframework/plugins/common/util/Android.mk
new file mode 100644
index 0000000..15dda80
--- /dev/null
+++ b/drm/libdrmframework/plugins/common/util/Android.mk
@@ -0,0 +1,52 @@
+#
+# 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 := \
+ src/MimeTypeUtil.cpp
+
+LOCAL_MODULE := libdrmutility
+
+LOCAL_SHARED_LIBRARIES := \
+ libutils \
+ libdl \
+ libdvm \
+ libandroid_runtime \
+ libnativehelper \
+ liblog
+
+
+base := frameworks/base
+
+LOCAL_C_INCLUDES += \
+ $(JNI_H_INCLUDE) \
+ $(base)/include \
+ $(base)/include/drm \
+ $(base)/include/drm/plugins \
+ $(LOCAL_PATH)/include
+
+
+ifneq ($(TARGET_BUILD_VARIANT),user)
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/tools
+
+endif
+
+LOCAL_MODULE_TAGS := optional
+
+include $(BUILD_STATIC_LIBRARY)