mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-08 07:49:19 +00:00
This CL is created as a best effort to migrate test targets to the new Android ownership model. It is based on historical data from repository history and insights from git blame. Given the nature of this effort, there may be instances of incorrect attribution. If you find incorrect or unnecessary attribution in this CL, please create a new CL to fix that. For detailed guidelines and further information on the migration please refer to the link below, go/new-android-ownership-model Bug: 304529413 Test: N/A Change-Id: Ibe1360ca3f7eb919834715aa90b0b842fbcd0692
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
// Copyright (C) 2022 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package {
|
|
default_team: "trendy_team_aaos_framework",
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
cc_test {
|
|
name: "RemoteAccessServiceUnitTest",
|
|
vendor: true,
|
|
srcs: ["*.cpp"],
|
|
whole_static_libs: [
|
|
"RemoteAccessService",
|
|
],
|
|
shared_libs: [
|
|
"libbase",
|
|
"libbinder_ndk",
|
|
"liblog",
|
|
"libutils",
|
|
"libgrpc++",
|
|
"libprotobuf-cpp-full",
|
|
],
|
|
// libgrpc++.so is installed as root, require root to access it.
|
|
require_root: true,
|
|
static_libs: [
|
|
"libgtest",
|
|
"libgmock",
|
|
],
|
|
defaults: [
|
|
"vhalclient_defaults",
|
|
],
|
|
cflags: [
|
|
"-Wno-unused-parameter",
|
|
],
|
|
test_suites: ["device-tests"],
|
|
}
|