blob: 8f158e5b0beb70e5b59dee1b1460d45743e563e8 [file] [log] [blame]
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -07001//
2// Copyright (C) 2016 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17cc_library_shared {
18
19 name: "libvts_multidevice_proto",
Zhuoyao Zhangb9b0bfd2016-11-03 13:09:12 -070020 host_supported: true,
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070021
22 srcs: [
23 "AndroidSystemControlMessage.proto",
24 "ComponentSpecificationMessage.proto",
Zhuoyao Zhangd2b56602016-11-21 10:51:27 -080025 "VtsProfilingMessage.proto",
Zhuoyao Zhangc721a6a2017-04-11 15:38:08 -070026 "VtsReportMessage.proto",
Hans Chen9c2639b2018-06-22 16:58:45 -070027 "VtsResourceControllerMessage.proto",
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070028 ],
29
Dan Willemsen311a7b02019-05-07 17:35:15 -070030 cflags: [
31 "-Wall",
32 "-Werror",
33 ],
Chih-Hung Hsieh6866a0b2017-10-03 13:59:52 -070034
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070035 proto: {
36 export_proto_headers: true,
Zhuoyao Zhangb9b0bfd2016-11-03 13:09:12 -070037 type: "full",
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070038 },
39
Zhuoyao Zhangb9b0bfd2016-11-03 13:09:12 -070040 target: {
41 android: {
42 srcs: ["VtsDriverControlMessage.proto"],
43 },
44 host: {
45 cflags: [
46 "-Wno-unused-parameter",
47 "-Werror",
48 ],
49 },
50 },
Tri Vo58d68d92017-05-08 13:56:39 -070051}
52
53cc_library_shared {
54 name: "libvts_proto_fuzzer_proto",
55 proto: {
56 export_proto_headers: true,
57 type: "full",
58 },
59 srcs: [
60 "ExecutionSpecificationMessage.proto",
61 ],
62 shared_libs: [
63 "libprotobuf-cpp-full",
64 "libvts_multidevice_proto",
65 ],
66 cflags: [
Chih-Hung Hsieh6866a0b2017-10-03 13:59:52 -070067 "-Wall",
68 "-Werror",
Tri Vo58d68d92017-05-08 13:56:39 -070069 "-Wno-unused-parameter",
70 ],
71}
Dan Willemsen311a7b02019-05-07 17:35:15 -070072
73java_library_host {
74 name: "libvts_protos_host",
75 srcs: ["**/*.proto"],
76 proto: {
77 type: "full",
78 },
79}