Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "surfaceflinger_defaults", |
| 3 | cflags: [ |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 4 | "-Wall", |
| 5 | "-Werror", |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 6 | "-Wformat", |
Lloyd Pique | 755e319 | 2018-01-31 16:46:15 -0800 | [diff] [blame] | 7 | "-Wthread-safety", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 8 | "-Wunused", |
| 9 | "-Wunreachable-code", |
Ady Abraham | b0dbdaa | 2020-01-06 16:19:42 -0800 | [diff] [blame] | 10 | "-Wconversion", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 11 | ], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 12 | } |
| 13 | |
| 14 | cc_defaults { |
| 15 | name: "libsurfaceflinger_defaults", |
John Reck | 67b1e2b | 2020-08-26 13:17:24 -0700 | [diff] [blame] | 16 | defaults: [ |
| 17 | "surfaceflinger_defaults", |
| 18 | "skia_deps", |
| 19 | ], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 20 | cflags: [ |
Lloyd Pique | 70d9136 | 2018-10-18 16:02:55 -0700 | [diff] [blame] | 21 | "-DLOG_TAG=\"SurfaceFlinger\"", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 22 | "-DGL_GLEXT_PROTOTYPES", |
| 23 | "-DEGL_EGLEXT_PROTOTYPES", |
| 24 | ], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 25 | shared_libs: [ |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 26 | "android.hardware.configstore-utils", |
| 27 | "android.hardware.configstore@1.0", |
Iris Chang | 7501ed6 | 2018-04-30 14:45:42 +0800 | [diff] [blame] | 28 | "android.hardware.configstore@1.1", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 29 | "android.hardware.graphics.allocator@2.0", |
Marissa Wall | 925bf7f | 2018-12-29 14:27:11 -0800 | [diff] [blame] | 30 | "android.hardware.graphics.allocator@3.0", |
Valerie Hau | 9758ae0 | 2018-10-09 16:05:09 -0700 | [diff] [blame] | 31 | "android.hardware.graphics.common@1.2", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 32 | "android.hardware.graphics.composer@2.1", |
Courtney Goeltzenleuchter | f9c98e5 | 2018-02-12 07:23:17 -0700 | [diff] [blame] | 33 | "android.hardware.graphics.composer@2.2", |
Dominik Laskowski | e9ef7c4 | 2018-03-12 19:34:30 -0700 | [diff] [blame] | 34 | "android.hardware.graphics.composer@2.3", |
Dominik Laskowski | 25a4e7d | 2019-09-20 14:50:10 -0700 | [diff] [blame] | 35 | "android.hardware.graphics.composer@2.4", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 36 | "android.hardware.power@1.0", |
Michael Wright | 5d22d4f | 2018-06-21 02:50:34 +0100 | [diff] [blame] | 37 | "android.hardware.power@1.3", |
Dan Stoza | 030fbc1 | 2020-02-19 15:32:01 -0800 | [diff] [blame] | 38 | "android.hardware.power-cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 39 | "libbase", |
| 40 | "libbinder", |
| 41 | "libcutils", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 42 | "libEGL", |
| 43 | "libfmq", |
| 44 | "libGLESv1_CM", |
| 45 | "libGLESv2", |
| 46 | "libgui", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 47 | "libhidlbase", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 48 | "liblayers_proto", |
| 49 | "liblog", |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 50 | "libnativewindow", |
Suren Baghdasaryan | cd82905 | 2018-11-02 19:15:37 -0700 | [diff] [blame] | 51 | "libprocessgroup", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 52 | "libprotobuf-cpp-lite", |
Alec Mouri | 989ddbe | 2020-02-06 09:26:19 -0800 | [diff] [blame] | 53 | "libstatslog", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 54 | "libsync", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 55 | "libtimestats", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 56 | "libui", |
Robert Carr | 720e506 | 2018-07-30 17:45:14 -0700 | [diff] [blame] | 57 | "libinput", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 58 | "libutils", |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 59 | "libSurfaceFlingerProp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 60 | ], |
| 61 | static_libs: [ |
Lloyd Pique | 70d9136 | 2018-10-18 16:02:55 -0700 | [diff] [blame] | 62 | "libcompositionengine", |
Adithya Srinivasan | f279e04 | 2020-08-17 14:56:27 -0700 | [diff] [blame] | 63 | "libframetimeline", |
Mikael Pessa | 2e1608f | 2019-07-19 11:25:35 -0700 | [diff] [blame] | 64 | "libperfetto_client_experimental", |
Peiyong Lin | cbc184f | 2018-08-22 13:24:10 -0700 | [diff] [blame] | 65 | "librenderengine", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 66 | "libserviceutils", |
| 67 | "libtrace_proto", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 68 | ], |
| 69 | header_libs: [ |
| 70 | "android.hardware.graphics.composer@2.1-command-buffer", |
Courtney Goeltzenleuchter | f9c98e5 | 2018-02-12 07:23:17 -0700 | [diff] [blame] | 71 | "android.hardware.graphics.composer@2.2-command-buffer", |
Peiyong Lin | 698147a | 2018-09-14 13:27:18 -0700 | [diff] [blame] | 72 | "android.hardware.graphics.composer@2.3-command-buffer", |
Peiyong Lin | afa0f57 | 2020-01-13 16:35:02 -0800 | [diff] [blame] | 73 | "android.hardware.graphics.composer@2.4-command-buffer", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 74 | ], |
| 75 | export_static_lib_headers: [ |
Lloyd Pique | 70d9136 | 2018-10-18 16:02:55 -0700 | [diff] [blame] | 76 | "libcompositionengine", |
Peiyong Lin | cbc184f | 2018-08-22 13:24:10 -0700 | [diff] [blame] | 77 | "librenderengine", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 78 | "libserviceutils", |
| 79 | ], |
| 80 | export_shared_lib_headers: [ |
| 81 | "android.hardware.graphics.allocator@2.0", |
Marissa Wall | 925bf7f | 2018-12-29 14:27:11 -0800 | [diff] [blame] | 82 | "android.hardware.graphics.allocator@3.0", |
Valerie Hau | 9758ae0 | 2018-10-09 16:05:09 -0700 | [diff] [blame] | 83 | "android.hardware.graphics.common@1.2", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 84 | "android.hardware.graphics.composer@2.1", |
Courtney Goeltzenleuchter | f9c98e5 | 2018-02-12 07:23:17 -0700 | [diff] [blame] | 85 | "android.hardware.graphics.composer@2.2", |
Dominik Laskowski | e9ef7c4 | 2018-03-12 19:34:30 -0700 | [diff] [blame] | 86 | "android.hardware.graphics.composer@2.3", |
Dominik Laskowski | 25a4e7d | 2019-09-20 14:50:10 -0700 | [diff] [blame] | 87 | "android.hardware.graphics.composer@2.4", |
Michael Wright | 5d22d4f | 2018-06-21 02:50:34 +0100 | [diff] [blame] | 88 | "android.hardware.power@1.3", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 89 | "libhidlbase", |
Yiwei Zhang | d792705 | 2020-01-13 16:05:01 -0800 | [diff] [blame] | 90 | "libtimestats", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 91 | ], |
Marissa Wall | 4858652 | 2019-11-19 14:01:36 -0800 | [diff] [blame] | 92 | // TODO (marissaw): this library is not used by surfaceflinger. This is here so |
| 93 | // the library compiled in a way that is accessible to system partition when running |
| 94 | // IMapper's VTS. |
| 95 | required: ["libgralloctypes"] |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 96 | } |
| 97 | |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 98 | cc_defaults { |
| 99 | name: "libsurfaceflinger_production_defaults", |
| 100 | defaults: ["libsurfaceflinger_defaults"], |
| 101 | cflags: [ |
| 102 | "-fvisibility=hidden", |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 103 | ], |
| 104 | lto: { |
| 105 | thin: true, |
| 106 | }, |
Yi Kong | bf2aa78 | 2020-09-21 01:25:16 +0800 | [diff] [blame] | 107 | whole_program_vtables: true, // Requires ThinLTO |
Mitch Phillips | c2049af | 2019-05-14 13:08:29 -0700 | [diff] [blame] | 108 | // TODO(b/131771163): Fix broken fuzzer support with LTO. |
| 109 | sanitize: { |
| 110 | fuzzer: false, |
| 111 | }, |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 112 | } |
| 113 | |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 114 | cc_library_headers { |
| 115 | name: "libsurfaceflinger_headers", |
Alex Vakulenko | 06a7634 | 2017-02-01 22:25:44 -0800 | [diff] [blame] | 116 | export_include_dirs: ["."], |
Logan Chien | 3ac6c96 | 2018-02-27 16:46:00 +0800 | [diff] [blame] | 117 | static_libs: ["libserviceutils"], |
| 118 | export_static_lib_headers: ["libserviceutils"], |
Alex Vakulenko | 06a7634 | 2017-02-01 22:25:44 -0800 | [diff] [blame] | 119 | } |
Kalle Raita | a099a24 | 2017-01-11 11:17:29 -0800 | [diff] [blame] | 120 | |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 121 | filegroup { |
| 122 | name: "libsurfaceflinger_sources", |
| 123 | srcs: [ |
| 124 | "BufferLayer.cpp", |
| 125 | "BufferLayerConsumer.cpp", |
Marissa Wall | fd66862 | 2018-05-10 10:21:13 -0700 | [diff] [blame] | 126 | "BufferQueueLayer.cpp", |
Marissa Wall | 61c5862 | 2018-07-18 10:12:20 -0700 | [diff] [blame] | 127 | "BufferStateLayer.cpp", |
Marissa Wall | 947d34e | 2019-03-29 14:03:53 -0700 | [diff] [blame] | 128 | "ClientCache.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 129 | "Client.cpp", |
Vishnu Nair | fa247b1 | 2020-02-11 08:58:26 -0800 | [diff] [blame] | 130 | "EffectLayer.cpp", |
Robert Carr | cdf8320 | 2018-03-07 12:48:34 -0800 | [diff] [blame] | 131 | "ContainerLayer.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 132 | "DisplayDevice.cpp", |
| 133 | "DisplayHardware/ComposerHal.cpp", |
Dominik Laskowski | e9ef7c4 | 2018-03-12 19:34:30 -0700 | [diff] [blame] | 134 | "DisplayHardware/DisplayIdentification.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 135 | "DisplayHardware/FramebufferSurface.cpp", |
| 136 | "DisplayHardware/HWC2.cpp", |
| 137 | "DisplayHardware/HWComposer.cpp", |
Michael Wright | 5d22d4f | 2018-06-21 02:50:34 +0100 | [diff] [blame] | 138 | "DisplayHardware/PowerAdvisor.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 139 | "DisplayHardware/VirtualDisplaySurface.cpp", |
Marin Shalamanov | f6b5d18 | 2020-06-12 02:08:51 +0200 | [diff] [blame] | 140 | "DisplayRenderArea.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 141 | "Effects/Daltonizer.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 142 | "EventLog/EventLog.cpp", |
Mikael Pessa | 90092f4 | 2019-08-26 17:22:04 -0700 | [diff] [blame] | 143 | "FrameTracer/FrameTracer.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 144 | "FrameTracker.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 145 | "Layer.cpp", |
| 146 | "LayerProtoHelper.cpp", |
| 147 | "LayerRejecter.cpp", |
Marin Shalamanov | f6b5d18 | 2020-06-12 02:08:51 +0200 | [diff] [blame] | 148 | "LayerRenderArea.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 149 | "LayerVector.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 150 | "MonitoredProducer.cpp", |
Lloyd Pique | 2209836 | 2018-09-13 11:46:49 -0700 | [diff] [blame] | 151 | "NativeWindowSurface.cpp", |
Ady Abraham | 03b02dd | 2019-03-21 15:40:11 -0700 | [diff] [blame] | 152 | "RefreshRateOverlay.cpp", |
Dan Stoza | ec46008 | 2018-12-17 15:35:09 -0800 | [diff] [blame] | 153 | "RegionSamplingThread.cpp", |
Ady Abraham | 03b02dd | 2019-03-21 15:40:11 -0700 | [diff] [blame] | 154 | "RenderArea.cpp", |
Ana Krulec | 241cf83 | 2018-08-10 15:03:23 -0700 | [diff] [blame] | 155 | "Scheduler/DispSyncSource.cpp", |
Ana Krulec | fefcb58 | 2018-08-07 14:22:37 -0700 | [diff] [blame] | 156 | "Scheduler/EventThread.cpp", |
Ana Krulec | f2c006d | 2019-06-21 15:37:07 -0700 | [diff] [blame] | 157 | "Scheduler/OneShotTimer.cpp", |
Ady Abraham | 8a82ba6 | 2020-01-17 12:43:17 -0800 | [diff] [blame] | 158 | "Scheduler/LayerHistoryV2.cpp", |
Ady Abraham | 8a82ba6 | 2020-01-17 12:43:17 -0800 | [diff] [blame] | 159 | "Scheduler/LayerInfoV2.cpp", |
Ana Krulec | fefcb58 | 2018-08-07 14:22:37 -0700 | [diff] [blame] | 160 | "Scheduler/MessageQueue.cpp", |
Ady Abraham | b4b1e0a | 2019-11-20 18:25:35 -0800 | [diff] [blame] | 161 | "Scheduler/RefreshRateConfigs.cpp", |
Ana Krulec | 98b5b24 | 2018-08-10 15:03:23 -0700 | [diff] [blame] | 162 | "Scheduler/Scheduler.cpp", |
Ana Krulec | 434c22d | 2018-11-28 13:48:36 +0100 | [diff] [blame] | 163 | "Scheduler/SchedulerUtils.cpp", |
Kevin DuBois | cc27b50 | 2019-11-13 09:40:07 -0800 | [diff] [blame] | 164 | "Scheduler/Timer.cpp", |
Kevin DuBois | 1678e2c | 2019-08-22 12:26:24 -0700 | [diff] [blame] | 165 | "Scheduler/VSyncDispatchTimerQueue.cpp", |
| 166 | "Scheduler/VSyncPredictor.cpp", |
Dominik Laskowski | a93a531 | 2020-07-23 15:10:03 -0700 | [diff] [blame] | 167 | "Scheduler/VsyncModulator.cpp", |
Kevin DuBois | b2501ba | 2019-11-12 14:20:29 -0800 | [diff] [blame] | 168 | "Scheduler/VSyncReactor.cpp", |
Ady Abraham | c581d3c | 2020-08-06 17:34:27 -0700 | [diff] [blame] | 169 | "Scheduler/VsyncConfiguration.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 170 | "StartPropertySetThread.cpp", |
| 171 | "SurfaceFlinger.cpp", |
Lloyd Pique | 24f3bfe | 2019-10-02 19:29:10 -0700 | [diff] [blame] | 172 | "SurfaceFlingerDefaultFactory.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 173 | "SurfaceInterceptor.cpp", |
| 174 | "SurfaceTracing.cpp", |
Marissa Wall | e2ffb42 | 2018-10-12 11:33:52 -0700 | [diff] [blame] | 175 | "TransactionCompletedThread.cpp", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 176 | ], |
| 177 | } |
| 178 | |
John Reck | 8b1ae3f | 2020-09-10 17:01:09 +0000 | [diff] [blame] | 179 | cc_defaults { |
| 180 | name: "libsurfaceflinger_binary", |
| 181 | defaults: [ |
| 182 | "surfaceflinger_defaults", |
| 183 | "libsurfaceflinger_production_defaults", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 184 | ], |
mamik | 94e91f6 | 2019-08-19 09:11:33 -0700 | [diff] [blame] | 185 | cflags: [ |
John Reck | 8b1ae3f | 2020-09-10 17:01:09 +0000 | [diff] [blame] | 186 | "-DLOG_TAG=\"SurfaceFlinger\"", |
mamik | 94e91f6 | 2019-08-19 09:11:33 -0700 | [diff] [blame] | 187 | ], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 188 | shared_libs: [ |
| 189 | "android.frameworks.displayservice@1.0", |
| 190 | "android.hardware.configstore-utils", |
| 191 | "android.hardware.configstore@1.0", |
| 192 | "android.hardware.graphics.allocator@2.0", |
Marissa Wall | 925bf7f | 2018-12-29 14:27:11 -0800 | [diff] [blame] | 193 | "android.hardware.graphics.allocator@3.0", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 194 | "libbinder", |
| 195 | "libcutils", |
| 196 | "libdisplayservicehidl", |
| 197 | "libhidlbase", |
Robert Carr | 720e506 | 2018-07-30 17:45:14 -0700 | [diff] [blame] | 198 | "libinput", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 199 | "liblayers_proto", |
| 200 | "liblog", |
Suren Baghdasaryan | cd82905 | 2018-11-02 19:15:37 -0700 | [diff] [blame] | 201 | "libprocessgroup", |
Alec Mouri | 0a9c7b8 | 2018-11-16 13:05:25 -0800 | [diff] [blame] | 202 | "libsync", |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 203 | "libutils", |
| 204 | ], |
| 205 | static_libs: [ |
| 206 | "libserviceutils", |
| 207 | "libtrace_proto", |
| 208 | ], |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 209 | } |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 210 | |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 211 | filegroup { |
| 212 | name: "surfaceflinger_binary_sources", |
John Reck | 8b1ae3f | 2020-09-10 17:01:09 +0000 | [diff] [blame] | 213 | srcs: [ |
| 214 | ":libsurfaceflinger_sources", |
Lloyd Pique | d777be4 | 2020-09-11 15:38:53 -0700 | [diff] [blame] | 215 | "main_surfaceflinger.cpp", |
John Reck | 8b1ae3f | 2020-09-10 17:01:09 +0000 | [diff] [blame] | 216 | ], |
Lloyd Pique | ea0a5fb | 2018-09-12 15:04:56 -0700 | [diff] [blame] | 217 | } |
| 218 | |
| 219 | cc_binary { |
| 220 | name: "surfaceflinger", |
| 221 | defaults: ["libsurfaceflinger_binary"], |
| 222 | init_rc: ["surfaceflinger.rc"], |
Lloyd Pique | d777be4 | 2020-09-11 15:38:53 -0700 | [diff] [blame] | 223 | srcs: [ |
| 224 | ":surfaceflinger_binary_sources", |
| 225 | // Note: SurfaceFlingerFactory is not in the filegroup so that it |
| 226 | // can be easily replaced. |
| 227 | "SurfaceFlingerFactory.cpp", |
| 228 | ], |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 229 | shared_libs: [ |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 230 | "libSurfaceFlingerProp", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 231 | ], |
Alec Mouri | 0a9bc47 | 2020-09-10 18:03:43 -0700 | [diff] [blame] | 232 | |
| 233 | logtags: ["EventLog/EventLogTags.logtags"], |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 234 | } |
| 235 | |
Lloyd Pique | 66ce40d | 2018-01-23 16:42:19 -0800 | [diff] [blame] | 236 | subdirs = [ |
| 237 | "layerproto", |
| 238 | "tests", |
| 239 | ] |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 240 | |
| 241 | cc_library_shared { |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 242 | name: "libSurfaceFlingerProp", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 243 | srcs: [ |
| 244 | "SurfaceFlingerProperties.cpp", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 245 | ], |
| 246 | shared_libs: [ |
| 247 | "android.hardware.configstore-utils", |
| 248 | "android.hardware.configstore@1.0", |
| 249 | "android.hardware.configstore@1.1", |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame] | 250 | "android.hardware.graphics.common@1.2", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 251 | "libhidlbase", |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame] | 252 | "libui", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 253 | "libutils", |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 254 | "liblog", |
| 255 | ], |
| 256 | static_libs: [ |
| 257 | "SurfaceFlingerProperties", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 258 | ], |
| 259 | export_shared_lib_headers: [ |
Sundong Ahn | cb20cca | 2019-02-22 11:57:38 +0900 | [diff] [blame] | 260 | "android.hardware.graphics.common@1.2", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 261 | "libhidlbase", |
Sundong Ahn | 204fb1f | 2020-04-23 21:56:36 +0900 | [diff] [blame] | 262 | "libui", |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 263 | ], |
Inseob Kim | d6e835b | 2019-02-14 12:33:30 +0900 | [diff] [blame] | 264 | export_static_lib_headers: [ |
| 265 | "SurfaceFlingerProperties", |
| 266 | ], |
Sundong Ahn | d5e08f6 | 2018-12-12 20:27:28 +0900 | [diff] [blame] | 267 | } |