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