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