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 ], 28 29 proto: { 30 export_proto_headers: true, 31 type: "full", 32 }, 33 34 target: { 35 android: { 36 srcs: ["VtsDriverControlMessage.proto"], 37 }, 38 host: { 39 cflags: [ 40 "-Wno-unused-parameter", 41 "-Werror", 42 ], 43 }, 44 }, 45} 46 47cc_library_shared { 48 name: "libvts_proto_fuzzer_proto", 49 proto: { 50 export_proto_headers: true, 51 type: "full", 52 }, 53 srcs: [ 54 "ExecutionSpecificationMessage.proto", 55 ], 56 shared_libs: [ 57 "libprotobuf-cpp-full", 58 "libvts_multidevice_proto", 59 ], 60 cflags: [ 61 "-Wno-unused-parameter", 62 ], 63} 64