Kathan Shukla | d25dde7 | 2019-12-02 17:31:22 -0800 | [diff] [blame] | 1 | // Copyright (C) 2019 The Android Open Source Project |
| 2 | // |
| 3 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | // you may not use this file except in compliance with the License. |
| 5 | // You may obtain a copy of the License at |
| 6 | // |
| 7 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | // |
| 9 | // Unless required by applicable law or agreed to in writing, software |
| 10 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | // See the License for the specific language governing permissions and |
| 13 | // limitations under the License. |
| 14 | |
| 15 | cc_defaults { |
| 16 | name: "libcomputepipeprotos-defaults", |
| 17 | |
| 18 | proto: { |
| 19 | export_proto_headers: true, |
| 20 | include_dirs: ["external/protobuf/src"], |
| 21 | }, |
| 22 | |
| 23 | cflags: [ |
| 24 | "-Wall", |
| 25 | "-Werror", |
| 26 | "-Wno-unused-parameter", |
| 27 | ], |
| 28 | |
| 29 | srcs: [ |
Kathan Shukla | ee3e378 | 2019-12-03 14:07:12 -0800 | [diff] [blame] | 30 | "*.proto", |
Kathan Shukla | d25dde7 | 2019-12-02 17:31:22 -0800 | [diff] [blame] | 31 | ], |
| 32 | } |
| 33 | |
| 34 | cc_library { |
| 35 | name: "libcomputepipeprotos", |
| 36 | defaults: ["libcomputepipeprotos-defaults"], |
| 37 | host_supported: false, |
| 38 | vendor_available: true, |
| 39 | target: { |
| 40 | android: { |
| 41 | proto: { |
| 42 | type: "lite", |
| 43 | }, |
| 44 | static_libs: [ |
| 45 | "libprotobuf-cpp-lite", |
| 46 | ], |
Yogeshwar Nagaraj | f8c8d18 | 2020-04-01 13:09:08 -0700 | [diff] [blame] | 47 | shared_libs: [ |
| 48 | "liblog", |
| 49 | ], |
Kathan Shukla | d25dde7 | 2019-12-02 17:31:22 -0800 | [diff] [blame] | 50 | }, |
| 51 | }, |
| 52 | } |