Zhuoyao Zhang | 25a007f | 2016-11-02 15:15:24 -0700 | [diff] [blame] | 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", |
Zhuoyao Zhang | b9b0bfd | 2016-11-03 13:09:12 -0700 | [diff] [blame] | 20 | host_supported: true, |
Zhuoyao Zhang | 25a007f | 2016-11-02 15:15:24 -0700 | [diff] [blame] | 21 | |
| 22 | srcs: [ |
| 23 | "AndroidSystemControlMessage.proto", |
| 24 | "ComponentSpecificationMessage.proto", |
Zhuoyao Zhang | d2b5660 | 2016-11-21 10:51:27 -0800 | [diff] [blame] | 25 | "VtsProfilingMessage.proto", |
Zhuoyao Zhang | c721a6a | 2017-04-11 15:38:08 -0700 | [diff] [blame] | 26 | "VtsReportMessage.proto", |
Hans Chen | 9c2639b | 2018-06-22 16:58:45 -0700 | [diff] [blame^] | 27 | "VtsResourceControllerMessage.proto", |
Zhuoyao Zhang | 25a007f | 2016-11-02 15:15:24 -0700 | [diff] [blame] | 28 | ], |
| 29 | |
Chih-Hung Hsieh | 6866a0b | 2017-10-03 13:59:52 -0700 | [diff] [blame] | 30 | cflags: ["-Wall", "-Werror"], |
| 31 | |
Zhuoyao Zhang | 25a007f | 2016-11-02 15:15:24 -0700 | [diff] [blame] | 32 | proto: { |
| 33 | export_proto_headers: true, |
Zhuoyao Zhang | b9b0bfd | 2016-11-03 13:09:12 -0700 | [diff] [blame] | 34 | type: "full", |
Zhuoyao Zhang | 25a007f | 2016-11-02 15:15:24 -0700 | [diff] [blame] | 35 | }, |
| 36 | |
Zhuoyao Zhang | b9b0bfd | 2016-11-03 13:09:12 -0700 | [diff] [blame] | 37 | target: { |
| 38 | android: { |
| 39 | srcs: ["VtsDriverControlMessage.proto"], |
| 40 | }, |
| 41 | host: { |
| 42 | cflags: [ |
| 43 | "-Wno-unused-parameter", |
| 44 | "-Werror", |
| 45 | ], |
| 46 | }, |
| 47 | }, |
Tri Vo | 58d68d9 | 2017-05-08 13:56:39 -0700 | [diff] [blame] | 48 | } |
| 49 | |
| 50 | cc_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 Hsieh | 6866a0b | 2017-10-03 13:59:52 -0700 | [diff] [blame] | 64 | "-Wall", |
| 65 | "-Werror", |
Tri Vo | 58d68d9 | 2017-05-08 13:56:39 -0700 | [diff] [blame] | 66 | "-Wno-unused-parameter", |
| 67 | ], |
| 68 | } |