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 17 cc_test { 18 name: "VtsHalMediaOmxV1_0TargetAudioEncTest", 19 defaults: ["hidl_defaults"], 20 srcs: ["VtsHalMediaOmxV1_0TargetAudioEncTest.cpp", 21 "media_audio_hidl_test_common.cpp"], 22 shared_libs: [ 23 "libbase", 24 "liblog", 25 "libcutils", 26 "libhidlbase", 27 "libhidlmemory", 28 "libhidltransport", 29 "libhwbinder", 30 "libnativehelper", 31 "libutils", 32 "libstagefright_foundation", 33 "android.hidl.allocator (a] 1.0", 34 "android.hidl.memory (a] 1.0", 35 "android.hardware.media.omx (a] 1.0", 36 ], 37 static_libs: ["VtsHalHidlTargetTestBase", 38 "VtsHalMediaOmxV1_0CommonUtil"], 39 cflags: [ 40 "-O0", 41 "-g", 42 ], 43 include_dirs: [ 44 "frameworks/native/include/media/openmax/", 45 "hardware/interfaces/media/omx/1.0/vts/functional/common", 46 ], 47 } 48 49 cc_test { 50 name: "VtsHalMediaOmxV1_0TargetAudioDecTest", 51 defaults: ["hidl_defaults"], 52 srcs: ["VtsHalMediaOmxV1_0TargetAudioDecTest.cpp", 53 "media_audio_hidl_test_common.cpp"], 54 shared_libs: [ 55 "libbase", 56 "liblog", 57 "libcutils", 58 "libhidlbase", 59 "libhidlmemory", 60 "libhidltransport", 61 "libhwbinder", 62 "libnativehelper", 63 "libutils", 64 "libstagefright_foundation", 65 "android.hidl.allocator (a] 1.0", 66 "android.hidl.memory (a] 1.0", 67 "android.hardware.media.omx (a] 1.0", 68 ], 69 static_libs: ["VtsHalHidlTargetTestBase", 70 "VtsHalMediaOmxV1_0CommonUtil"], 71 cflags: [ 72 "-O0", 73 "-g", 74 ], 75 include_dirs: [ 76 "frameworks/native/include/media/openmax/", 77 "hardware/interfaces/media/omx/1.0/vts/functional/common", 78 ], 79 } 80 81 82