1 // Copyright 2010 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 name: "libgui_headers",
16 vendor_available: true,
17 export_include_dirs: ["include"],
22 vendor_available: true,
32 // The static constructors and destructors in this library have not been noted to
33 // introduce significant overheads
34 "-Wno-exit-time-destructors",
35 "-Wno-global-constructors",
37 // We only care about compiling as C++14
38 "-Wno-c++98-compat-pedantic",
40 // We don't need to enumerate every case in a switch as long as a default case
44 // Allow calling variadic macros without a __VA_ARGS__ list
45 "-Wno-gnu-zero-variadic-macro-arguments",
47 // Don't warn about struct padding
50 // We are aware of the risks inherent in comparing floats for equality
53 // Pure abstract classes trigger this warning
56 // Allow four-character integer literals
57 "-Wno-four-char-constants",
59 // Allow documentation warnings
62 "-DDEBUG_ONLY_CODE=0",
67 cflags: ["-DHAVE_NO_SURFACE_FLINGER"],
72 "-DDEBUG_ONLY_CODE=1",
80 "BufferItemConsumer.cpp",
82 "BufferQueueConsumer.cpp",
83 "BufferQueueCore.cpp",
84 "BufferQueueProducer.cpp",
88 "DisplayEventReceiver.cpp",
89 "FrameTimestamps.cpp",
92 "IDisplayEventConnection.cpp",
93 "IConsumerListener.cpp",
94 "IGraphicBufferConsumer.cpp",
95 "IGraphicBufferProducer.cpp",
96 "IProducerListener.cpp",
97 "ISurfaceComposer.cpp",
98 "ISurfaceComposerClient.cpp",
100 "OccupancyTracker.cpp",
101 "StreamSplitter.cpp",
103 "SurfaceControl.cpp",
104 "SurfaceComposerClient.cpp",
107 "bufferqueue/1.0/B2HProducerListener.cpp",
108 "bufferqueue/1.0/H2BGraphicBufferProducer.cpp"
123 "android.hidl.token@1.0-utils",
124 "android.hardware.graphics.bufferqueue@1.0",
125 "android.hardware.configstore@1.0",
126 "android.hardware.configstore-utils",
130 "libnativebase_headers",
134 export_shared_lib_headers: [
139 "android.hidl.token@1.0-utils",
140 "android.hardware.graphics.bufferqueue@1.0",
143 export_header_lib_headers: [
147 export_include_dirs: [