1// 2// Copyright (C) 2017 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_static { 18 name: "VtsHalMediaOmxV1_0CommonUtil", 19 srcs: ["media_hidl_test_common.cpp"], 20 21 header_libs: ["media_plugin_headers"], 22 export_header_lib_headers: ["media_plugin_headers"], 23 export_include_dirs: ["."], 24 25 static_libs: [ 26 "VtsHalHidlTargetTestBase", 27 "libhidlmemory", 28 "android.hidl.allocator@1.0", 29 "android.hidl.memory@1.0", 30 "android.hardware.media.omx@1.0", 31 "android.hardware.graphics.allocator@2.0", 32 "android.hardware.graphics.allocator@3.0", 33 "android.hardware.graphics.common@1.0", 34 "android.hardware.graphics.common@1.1", 35 "android.hardware.graphics.common@1.2", 36 "android.hardware.graphics.mapper@2.0", 37 "android.hardware.graphics.mapper@3.0", 38 ], 39 export_static_lib_headers: [ 40 "android.hardware.graphics.allocator@2.0", 41 "android.hardware.graphics.allocator@3.0", 42 "android.hardware.graphics.common@1.0", 43 "android.hardware.graphics.common@1.1", 44 "android.hardware.graphics.common@1.2", 45 "android.hardware.graphics.mapper@2.0", 46 "android.hardware.graphics.mapper@3.0", 47 ], 48} 49 50cc_defaults { 51 name: "VtsHalMediaOmxV1_0Defaults", 52 defaults: ["VtsHalTargetTestDefaults"], 53 54 // Link to these statically as they are not guaranteed to be on the device. 55 static_libs: [ 56 "VtsHalMediaOmxV1_0CommonUtil", 57 "android.hardware.graphics.allocator@2.0", 58 "android.hardware.graphics.allocator@3.0", 59 "android.hardware.graphics.common@1.0", 60 "android.hardware.graphics.common@1.1", 61 "android.hardware.graphics.common@1.2", 62 "android.hardware.graphics.mapper@2.0", 63 "android.hardware.graphics.mapper@3.0", 64 "android.hardware.graphics.bufferqueue@1.0", 65 "android.hardware.graphics.common@1.0", 66 "android.hardware.media.omx@1.0", 67 "android.hardware.media@1.0", 68 "android.hidl.allocator@1.0", 69 "android.hidl.memory@1.0", 70 "libhidlmemory", 71 "libnativehelper", 72 ], 73 74 // TODO(b/64437680): Assume these libs are always available on the device. 75 shared_libs: [ 76 "libstagefright_foundation", 77 ], 78} 79