1# 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 libhardware \ 25 liblog \ 26 libutils \ 27 libbinder \ 28 29LOCAL_STATIC_LIBRARIES := \ 30 android.hardware.drm@1.0-helper \ 31 32LOCAL_C_INCLUDES := \ 33 hardware/interfaces/drm 34 35LOCAL_HEADER_LIBRARIES := \ 36 media_plugin_headers 37 38# TODO(b/18948909) Some legacy DRM plugins only support 32-bit. They need to be 39# migrated to 64-bit. Once all of a device's legacy DRM plugins support 64-bit, 40# that device can turn on TARGET_ENABLE_MEDIADRM_64 to build this service as 41# 64-bit. 42ifneq ($(TARGET_ENABLE_MEDIADRM_64), true) 43LOCAL_32_BIT_ONLY := true 44endif 45