1# 2# Copyright 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# 16LOCAL_PATH := $(call my-dir) 17 18commonSources := \ 19 GoldfishVPX.cpp \ 20 goldfish_vpx_impl.cpp 21 22$(call emugl-begin-shared-library,libstagefright_goldfish_vpxdec$(GOLDFISH_OPENGL_LIB_SUFFIX)) 23 24LOCAL_SRC_FILES := $(commonSources) 25 26LOCAL_CFLAGS += -DLOG_TAG=\"goldfish_vpxdec\" 27LOCAL_CFLAGS += -Wno-unused-private-field 28 29$(call emugl-export,SHARED_LIBRARIES,libcutils libutils liblog) 30 31LOCAL_HEADER_LIBRARIES := media_plugin_headers \ 32 libmedia_headers \ 33 libbinder_headers \ 34 libhidlbase_impl_internal \ 35 libbase 36 37LOCAL_HEADER_LIBRARIES += libui_headers \ 38 libnativewindow_headers \ 39 libhardware_headers \ 40 libarect_headers \ 41 libarect_headers_for_ndk 42 43LOCAL_HEADER_LIBRARIES += libgralloc_cb.ranchu 44 45LOCAL_SHARED_LIBRARIES += \ 46 libbinder \ 47 libutils \ 48 liblog \ 49 libcutils \ 50 libui \ 51 android.hardware.media.omx@1.0 \ 52 android.hardware.graphics.allocator@3.0 \ 53 android.hardware.graphics.mapper@3.0 \ 54 libstagefright_foundation 55 56$(call emugl-export,C_INCLUDES,$(LOCAL_PATH)) 57$(call emugl-import,libgoldfish_codecs_common) 58$(call emugl-import,libstagefrighthw) 59$(call emugl-end-module) 60