blob: 28db567a9f0b9f3ba404ba0f91df99e81344ffc5 [file] [log] [blame]
Peter Kalauskas724a9fc2018-11-14 09:38:32 -08001#
2# Copyright (C) 2019 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
16include $(CLEAR_VARS)
17LOCAL_PROPRIETARY_MODULE := true
18LOCAL_MODULE_RELATIVE_PATH := hw
19
20LOCAL_SHARED_LIBRARIES := \
21 android.hardware.drm@1.0 \
22 android.hidl.memory@1.0 \
23 libhidlbase \
24 libhidltransport \
25 libhardware \
26 liblog \
27 libutils \
28 libbinder \
29
30LOCAL_STATIC_LIBRARIES := \
31 android.hardware.drm@1.0-helper \
32
33LOCAL_C_INCLUDES := \
34 hardware/interfaces/drm
35
36LOCAL_HEADER_LIBRARIES := \
37 media_plugin_headers
38
39# TODO(b/18948909) Some legacy DRM plugins only support 32-bit. They need to be
40# migrated to 64-bit. Once all of a device's legacy DRM plugins support 64-bit,
41# that device can turn on TARGET_ENABLE_MEDIADRM_64 to build this service as
42# 64-bit.
43ifneq ($(TARGET_ENABLE_MEDIADRM_64), true)
44LOCAL_32_BIT_ONLY := true
45endif