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// 16 17cc_library_shared { 18 name: "libstagefright_goldfish_avcdec", 19 vendor: true, 20 srcs: [ 21 "GoldfishAVCDec.cpp", 22 "MediaH264Decoder.cpp", 23 ], 24 export_include_dirs: [ 25 "include", 26 ], 27 shared_libs: [ 28 "libstagefrighthw", 29 "android.hardware.media.omx@1.0", 30 "android.hardware.graphics.common@1.2", 31 "libstagefright_foundation", 32 "libbase", 33 "libbinder", 34 "libcutils", 35 "liblog", 36 "libui", 37 "libutils", 38 ], 39 static_libs: [ 40 "libgoldfish_codecs_common", 41 ], 42 header_libs: [ 43 "media_plugin_headers", 44 "libmedia_headers", 45 "libnativewindow_headers", 46 "libhardware_headers", 47 "libgralloc_cb.ranchu", 48 ], 49 cflags: [ 50 "-DLOG_TAG=\"goldfish_avcdec\"", 51 "-Wno-unused-private-field", 52 ], 53} 54