blob: 6eaad8b59d977386c1167b0b9b2a17966bf39a5a [file] [log] [blame]
Yu Shan7a5283f2022-10-25 18:01:05 -07001// 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 {
Aditya Choudhary04ef2122024-02-02 14:00:43 +000016 default_team: "trendy_team_aaos_framework",
Yu Shan7a5283f2022-10-25 18:01:05 -070017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20cc_test {
21 name: "RemoteAccessServiceUnitTest",
Eric Jeong0fcaf8c2025-01-10 11:35:51 -080022 team: "trendy_team_aaos_power_triage",
Yu Shan7a5283f2022-10-25 18:01:05 -070023 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}