1// Copyright (C) 2019 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 15package { 16 default_team: "trendy_team_automotive", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_test { 21 name: "piperegistration_test", 22 test_suites: ["device-tests"], 23 srcs: [ 24 "PipeRegistrationTest.cpp", 25 "FakeRunner.cpp", 26 ], 27 static_libs: [ 28 "libgtest", 29 "libgmock", 30 ], 31 header_libs: [ 32 "computepipe_router_headers", 33 ], 34 shared_libs: [ 35 "libbinder_ndk", 36 "libbinder", 37 "libutils", 38 "android.automotive.computepipe.router@1.0-impl", 39 "android.automotive.computepipe.runner-V2-ndk", 40 "android.automotive.computepipe.registry-V2-ndk", 41 ], 42} 43 44cc_test { 45 name: "pipequery_test", 46 test_suites: ["device-tests"], 47 srcs: [ 48 "PipeQueryTest.cpp", 49 "FakeRunner.cpp", 50 ], 51 static_libs: [ 52 "libgtest", 53 "libgmock", 54 ], 55 header_libs: [ 56 "computepipe_router_headers", 57 ], 58 shared_libs: [ 59 "libbinder", 60 "libbinder_ndk", 61 "libutils", 62 "android.automotive.computepipe.router@1.0-impl", 63 "android.automotive.computepipe.runner-V2-ndk", 64 "android.automotive.computepipe.registry-V2-ndk", 65 ], 66} 67