1// 2// Copyright (C) 2016 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: "libVtsHalGraphicsMapperTestUtils", 19 defaults: ["hidl_defaults"], 20 srcs: ["VtsHalGraphicsMapperTestUtils.cpp"], 21 shared_libs: [ 22 "android.hardware.graphics.allocator@2.0", 23 "android.hardware.graphics.mapper@2.0", 24 ], 25 static_libs: [ 26 "VtsHalHidlTargetTestBase", 27 ], 28 cflags: [ 29 "-Wall", 30 "-Wextra", 31 "-Werror", 32 "-O0", 33 "-g", 34 ], 35 export_include_dirs: ["."], 36} 37 38cc_test { 39 name: "VtsHalGraphicsMapperV2_0TargetTest", 40 defaults: ["hidl_defaults"], 41 srcs: ["VtsHalGraphicsMapperV2_0TargetTest.cpp"], 42 shared_libs: [ 43 "libbase", 44 "liblog", 45 "libcutils", 46 "libhidlbase", 47 "libhidltransport", 48 "libnativehelper", 49 "libsync", 50 "libutils", 51 "android.hardware.graphics.allocator@2.0", 52 "android.hardware.graphics.mapper@2.0", 53 "android.hardware.graphics.common@1.0", 54 ], 55 static_libs: [ 56 "libVtsHalGraphicsMapperTestUtils", 57 "VtsHalHidlTargetTestBase", 58 ], 59 cflags: [ 60 "-Wall", 61 "-Wextra", 62 "-Werror", 63 "-O0", 64 "-g", 65 ] 66} 67