blob: 27087b7b05aea0c9b96e3db0f42d6b24d6084d62 [file] [log] [blame]
Kathan Shuklad25dde72019-12-02 17:31:22 -08001// 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
15cc_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 Shuklaee3e3782019-12-03 14:07:12 -080030 "*.proto",
Kathan Shuklad25dde72019-12-02 17:31:22 -080031 ],
32}
33
34cc_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 Nagarajf8c8d182020-04-01 13:09:08 -070047 shared_libs: [
48 "liblog",
49 ],
Kathan Shuklad25dde72019-12-02 17:31:22 -080050 },
51 },
52}