blob: 966bc0471cdc58fa415168a2479f16844fffcddb [file] [log] [blame]
David Brazdil735b2cd2020-10-15 12:19:25 +00001// Copyright (C) 2020 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
Bob Badour2efc4762021-02-03 18:36:27 -080015package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
David Brazdil735b2cd2020-10-15 12:19:25 +000019cc_test {
20 name: "virt_hostside_tests_vsock_server",
21 srcs: ["server.cc"],
Andrew Walbran3049fdf2020-12-23 12:46:30 +000022 shared_libs: [
23 "android.system.virtmanager-cpp",
David Brazdil735b2cd2020-10-15 12:19:25 +000024 "libbase",
Andrew Walbran3049fdf2020-12-23 12:46:30 +000025 "libbinder",
David Brazdil735b2cd2020-10-15 12:19:25 +000026 "liblog",
Andrew Walbran3049fdf2020-12-23 12:46:30 +000027 "libutils",
David Brazdil735b2cd2020-10-15 12:19:25 +000028 ],
David Brazdil735b2cd2020-10-15 12:19:25 +000029 test_suites: ["device-tests"],
30}
31
32cc_binary {
33 name: "virt_hostside_tests_vsock_client",
34 srcs: ["client.cc"],
35 static_libs: [
36 "libbase",
37 "liblog",
38 ],
39 static_executable: true,
40 installable: false,
41}