1// Copyright (C) 2017 The Android Open Source Project 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15cc_test { 16 name: "libvintf_test", 17 gtest: false, 18 srcs: ["main.cpp"], 19 20 shared_libs: [ 21 "libbase", 22 "libcutils", 23 "liblog", 24 "libvintf", 25 ], 26 static_libs: ["libgtest"], 27 28 cflags: [ 29 "-O0", 30 "-g", 31 ], 32} 33 34cc_test { 35 name: "vintf_object_test", 36 host_supported: true, 37 native_coverage: true, 38 srcs: [ 39 "vintf_object_tests.cpp", 40 ], 41 shared_libs: [ 42 "libbase", 43 "libcutils", 44 "liblog", 45 "libvintftest", 46 ], 47 static_libs: [ 48 "libgtest", 49 "libgmock", 50 ], 51 cflags: [ 52 "-O0", 53 "-g", 54 ], 55} 56