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 17 cc_library_static { 18 name: "libVtsHalGraphicsComposerTestUtils", 19 defaults: ["hidl_defaults"], 20 srcs: ["VtsHalGraphicsComposerTestUtils.cpp"], 21 shared_libs: ["android.hardware.graphics.composer (a] 2.1"], 22 static_libs: [ 23 "VtsHalHidlTargetTestBase", 24 ], 25 cflags: [ 26 "-Wall", 27 "-Wextra", 28 "-Werror", 29 "-O0", 30 "-g", 31 ], 32 export_include_dirs: ["."], 33 } 34 35 cc_test { 36 name: "VtsHalGraphicsComposerV2_1TargetTest", 37 defaults: ["hidl_defaults"], 38 srcs: ["VtsHalGraphicsComposerV2_1TargetTest.cpp"], 39 shared_libs: [ 40 "android.hardware.graphics.allocator (a] 2.0", 41 "android.hardware.graphics.composer (a] 2.1", 42 "android.hardware.graphics.mapper (a] 2.0", 43 "libbase", 44 "libcutils", 45 "libfmq", 46 "libhidlbase", 47 "libhidltransport", 48 "liblog", 49 "libnativehelper", 50 "libsync", 51 "libutils", 52 ], 53 static_libs: [ 54 "libhwcomposer-command-buffer", 55 "libVtsHalGraphicsComposerTestUtils", 56 "libVtsHalGraphicsMapperTestUtils", 57 "VtsHalHidlTargetTestBase", 58 ], 59 cflags: [ 60 "-Wall", 61 "-Wextra", 62 "-Werror", 63 "-O0", 64 "-g", 65 ] 66 } 67