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