1#
2# Copyright (C) 2013 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)
17
18# the mediadrm signer library
19# ============================================================
20include $(CLEAR_VARS)
21
22LOCAL_MODULE:= com.android.mediadrm.signer
23LOCAL_MODULE_TAGS := optional
24
25LOCAL_SRC_FILES := \
26            $(call all-java-files-under, java) \
27            $(call all-aidl-files-under, java)
28
29include $(BUILD_JAVA_LIBRARY)
30
31
32# ====  com.android.mediadrm.signer.xml lib def  ========================
33include $(CLEAR_VARS)
34
35LOCAL_MODULE := com.android.mediadrm.signer.xml
36LOCAL_MODULE_TAGS := optional
37
38LOCAL_MODULE_CLASS := ETC
39
40# This will install the file in /system/etc/permissions
41#
42LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
43
44LOCAL_SRC_FILES := $(LOCAL_MODULE)
45
46include $(BUILD_PREBUILT)
47