1// 2// Copyright (C) 2018 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: "MtsMediaC2V1_0CommonUtil", 19 srcs: ["media_c2_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 "hardware.google.media.c2@1.0", 28 ], 29} 30 31cc_defaults { 32 name: "MtsMediaC2V1_0Defaults", 33 defaults: ["VtsHalTargetTestDefaults"], 34 35 // Link to these statically as they are not guaranteed to be on the device. 36 static_libs: [ 37 "MtsMediaC2V1_0CommonUtil", 38 "hardware.google.media.c2@1.0", 39 ], 40 41 shared_libs: [ 42 "android.hardware.media.bufferpool@1.0", 43 "android.hardware.media.omx@1.0", 44 "android.hardware.graphics.bufferqueue@1.0", 45 "android.hardware.graphics.common@1.0", 46 "liblog", 47 "libutils", 48 ], 49 50 compile_multilib: "both", 51} 52 53