1 // Copyright (C) 2016 The Android Open Source Project
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
15 // ==== c++ proto device library ==============================
17 name: "libplatformprotos",
19 // b/34740546, work around clang-tidy segmentation fault.
20 tidy_checks: ["-modernize*"],
22 export_proto_headers: true,
23 include_dirs: ["external/protobuf/src"],
37 // The proto files generate full protos, but we only use
38 // them as lite on device. This works fine for a static
39 // library, where the unused full symbols are stripped,
40 // but fails if it is linked as a standalone shared
41 // library because it is missing the full runtime.
48 "core/proto/**/*.proto",
49 "libs/incident/**/*.proto",
59 "native/graphics/jni",
63 "core/tests/utiltests/jni",