• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
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",
20    host_supported: true,
21
22    srcs: [
23        "AndroidSystemControlMessage.proto",
24        "ComponentSpecificationMessage.proto",
25        "VtsProfilingMessage.proto",
26        "VtsReportMessage.proto",
27        "VtsResourceControllerMessage.proto",
28    ],
29
30    cflags: ["-Wall", "-Werror"],
31
32    proto: {
33        export_proto_headers: true,
34        type: "full",
35    },
36
37    target: {
38        android: {
39            srcs: ["VtsDriverControlMessage.proto"],
40        },
41        host: {
42            cflags: [
43                "-Wno-unused-parameter",
44                "-Werror",
45            ],
46        },
47    },
48}
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: [
64        "-Wall",
65        "-Werror",
66        "-Wno-unused-parameter",
67    ],
68}
69