1// Copyright (C) 2022 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_aaos_framework", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20cc_test { 21 name: "RemoteAccessServiceUnitTest", 22 team: "trendy_team_aaos_power_triage", 23 vendor: true, 24 srcs: ["*.cpp"], 25 whole_static_libs: [ 26 "RemoteAccessService", 27 ], 28 shared_libs: [ 29 "libbase", 30 "libbinder_ndk", 31 "liblog", 32 "libutils", 33 "libgrpc++", 34 "libprotobuf-cpp-full", 35 ], 36 // libgrpc++.so is installed as root, require root to access it. 37 require_root: true, 38 static_libs: [ 39 "libgtest", 40 "libgmock", 41 ], 42 defaults: [ 43 "vhalclient_defaults", 44 ], 45 cflags: [ 46 "-Wno-unused-parameter", 47 ], 48 test_suites: ["device-tests"], 49} 50