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 17package { 18 default_team: "trendy_team_android_media_codec_framework", 19 // See: http://go/android-license-faq 20 // A large-scale-change added 'default_applicable_licenses' to import 21 // all of the 'license_kinds' from "hardware_interfaces_license" 22 // to get the below license kinds: 23 // SPDX-license-identifier-Apache-2.0 24 default_applicable_licenses: ["hardware_interfaces_license"], 25} 26 27cc_library_static { 28 name: "VtsHalMediaOmxV1_0CommonUtil", 29 srcs: ["media_hidl_test_common.cpp"], 30 31 header_libs: ["media_plugin_headers"], 32 export_header_lib_headers: ["media_plugin_headers"], 33 export_include_dirs: ["."], 34 35 shared_libs: [ 36 "libui", 37 ], 38 39 static_libs: [ 40 "libgtest", 41 "libhidlmemory", 42 "[email protected]", 43 "[email protected]", 44 "[email protected]", 45 "[email protected]", 46 "[email protected]", 47 "[email protected]", 48 ], 49 export_static_lib_headers: [ 50 "[email protected]", 51 "[email protected]", 52 "[email protected]", 53 ], 54} 55 56cc_defaults { 57 name: "VtsHalMediaOmxV1_0Defaults", 58 defaults: ["VtsHalTargetTestDefaults"], 59 60 // Link to these statically as they are not guaranteed to be on the device. 61 static_libs: [ 62 "VtsHalMediaOmxV1_0CommonUtil", 63 "[email protected]", 64 "[email protected]", 65 "[email protected]", 66 "[email protected]", 67 "[email protected]", 68 "[email protected]", 69 "[email protected]", 70 "[email protected]", 71 "libhidlmemory", 72 ], 73 74 // TODO(b/64437680): Assume these libs are always available on the device. 75 shared_libs: [ 76 "libnativehelper", 77 "libui", 78 "libstagefright_foundation", 79 "libstagefright_omx_utils", 80 ], 81} 82