blob: dc925c67b04204b7d2a1ac6914e7167214772cc4 [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
Chih-Hung Hsieh6866a0b2017-10-03 13:59:52 -070030 cflags: ["-Wall", "-Werror"],
31
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070032 proto: {
33 export_proto_headers: true,
Zhuoyao Zhangb9b0bfd2016-11-03 13:09:12 -070034 type: "full",
Zhuoyao Zhang25a007f2016-11-02 15:15:24 -070035 },
36
Zhuoyao Zhangb9b0bfd2016-11-03 13:09:12 -070037 target: {
38 android: {
39 srcs: ["VtsDriverControlMessage.proto"],
40 },
41 host: {
42 cflags: [
43 "-Wno-unused-parameter",
44 "-Werror",
45 ],
46 },
47 },
Tri Vo58d68d92017-05-08 13:56:39 -070048}
49
50cc_library_shared {
51 name: "libvts_proto_fuzzer_proto",
52 proto: {
53 export_proto_headers: true,
54 type: "full",
55 },
56 srcs: [
57 "ExecutionSpecificationMessage.proto",
58 ],
59 shared_libs: [
60 "libprotobuf-cpp-full",
61 "libvts_multidevice_proto",
62 ],
63 cflags: [
Chih-Hung Hsieh6866a0b2017-10-03 13:59:52 -070064 "-Wall",
65 "-Werror",
Tri Vo58d68d92017-05-08 13:56:39 -070066 "-Wno-unused-parameter",
67 ],
68}