Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
Dan Albert | 88ba339 | 2014-09-11 16:20:16 -0700 | [diff] [blame] | 3 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 4 | |
John Reck | dcdbba7c | 2016-01-19 13:57:16 -0800 | [diff] [blame] | 5 | HWUI_NEW_OPS := true |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 6 | |
John Reck | 975591a | 2016-01-22 16:28:07 -0800 | [diff] [blame] | 7 | # Enables fine-grained GLES error checking |
| 8 | # If set to true, every GLES call is wrapped & error checked |
| 9 | # Has moderate overhead |
| 10 | HWUI_ENABLE_OPENGL_VALIDATION := false |
| 11 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 12 | hwui_src_files := \ |
| 13 | font/CacheTexture.cpp \ |
| 14 | font/Font.cpp \ |
| 15 | renderstate/Blend.cpp \ |
| 16 | renderstate/MeshState.cpp \ |
Chris Craik | 9fded23 | 2015-11-11 16:42:34 -0800 | [diff] [blame] | 17 | renderstate/OffscreenBufferPool.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 18 | renderstate/PixelBufferState.cpp \ |
| 19 | renderstate/RenderState.cpp \ |
| 20 | renderstate/Scissor.cpp \ |
| 21 | renderstate/Stencil.cpp \ |
| 22 | renderstate/TextureState.cpp \ |
| 23 | renderthread/CanvasContext.cpp \ |
| 24 | renderthread/DrawFrameTask.cpp \ |
| 25 | renderthread/EglManager.cpp \ |
| 26 | renderthread/RenderProxy.cpp \ |
| 27 | renderthread/RenderTask.cpp \ |
| 28 | renderthread/RenderThread.cpp \ |
| 29 | renderthread/TimeLord.cpp \ |
| 30 | thread/TaskManager.cpp \ |
| 31 | utils/Blur.cpp \ |
| 32 | utils/GLUtils.cpp \ |
| 33 | utils/LinearAllocator.cpp \ |
Derek Sollenberger | 4c5efe9 | 2015-07-10 13:56:39 -0400 | [diff] [blame] | 34 | utils/NinePatchImpl.cpp \ |
Chris Craik | 6e6646c | 2015-09-14 15:54:12 -0700 | [diff] [blame] | 35 | utils/StringUtils.cpp \ |
Tom Hudson | b2f5bd2 | 2015-10-15 16:41:55 -0400 | [diff] [blame] | 36 | utils/TestWindowContext.cpp \ |
Doris Liu | 804618d | 2015-11-16 22:48:34 -0800 | [diff] [blame] | 37 | utils/VectorDrawableUtils.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 38 | AmbientShadow.cpp \ |
| 39 | AnimationContext.cpp \ |
| 40 | Animator.cpp \ |
| 41 | AnimatorManager.cpp \ |
| 42 | AssetAtlas.cpp \ |
| 43 | Caches.cpp \ |
Chris Craik | a171727 | 2015-11-19 13:02:43 -0800 | [diff] [blame] | 44 | Canvas.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 45 | CanvasState.cpp \ |
| 46 | ClipArea.cpp \ |
| 47 | DamageAccumulator.cpp \ |
| 48 | DeferredDisplayList.cpp \ |
| 49 | DeferredLayerUpdater.cpp \ |
John Reck | 704bed0 | 2015-11-05 09:22:17 -0800 | [diff] [blame] | 50 | DeviceInfo.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 51 | DisplayList.cpp \ |
| 52 | DisplayListCanvas.cpp \ |
| 53 | Dither.cpp \ |
| 54 | Extensions.cpp \ |
| 55 | FboCache.cpp \ |
| 56 | FontRenderer.cpp \ |
| 57 | FrameInfo.cpp \ |
| 58 | FrameInfoVisualizer.cpp \ |
| 59 | GammaFontRenderer.cpp \ |
| 60 | GlopBuilder.cpp \ |
John Reck | 38e0c32 | 2015-11-10 12:19:17 -0800 | [diff] [blame] | 61 | GpuMemoryTracker.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 62 | GradientCache.cpp \ |
| 63 | Image.cpp \ |
| 64 | Interpolator.cpp \ |
| 65 | JankTracker.cpp \ |
| 66 | Layer.cpp \ |
| 67 | LayerCache.cpp \ |
| 68 | LayerRenderer.cpp \ |
Chris Craik | 0b7e824 | 2015-10-28 16:50:44 -0700 | [diff] [blame] | 69 | LayerUpdateQueue.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 70 | Matrix.cpp \ |
| 71 | OpenGLRenderer.cpp \ |
| 72 | Patch.cpp \ |
| 73 | PatchCache.cpp \ |
| 74 | PathCache.cpp \ |
| 75 | PathTessellator.cpp \ |
Doris Liu | 30bcf69 | 2015-11-04 14:56:24 -0800 | [diff] [blame] | 76 | PathParser.cpp \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 77 | PixelBuffer.cpp \ |
| 78 | Program.cpp \ |
| 79 | ProgramCache.cpp \ |
| 80 | Properties.cpp \ |
| 81 | RenderBufferCache.cpp \ |
| 82 | RenderNode.cpp \ |
| 83 | RenderProperties.cpp \ |
| 84 | ResourceCache.cpp \ |
| 85 | ShadowTessellator.cpp \ |
| 86 | SkiaCanvas.cpp \ |
| 87 | SkiaCanvasProxy.cpp \ |
| 88 | SkiaShader.cpp \ |
| 89 | Snapshot.cpp \ |
| 90 | SpotShadow.cpp \ |
| 91 | TessellationCache.cpp \ |
| 92 | TextDropShadowCache.cpp \ |
| 93 | Texture.cpp \ |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 94 | TextureCache.cpp \ |
Doris Liu | 4bbc293 | 2015-12-01 17:59:40 -0800 | [diff] [blame] | 95 | VectorDrawable.cpp \ |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 96 | protos/hwui.proto |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 97 | |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 98 | hwui_test_common_src_files := \ |
Chris Craik | 27e58b4 | 2015-12-07 10:01:38 -0800 | [diff] [blame] | 99 | $(call all-cpp-files-under, tests/common/scenes) \ |
| 100 | tests/common/TestContext.cpp \ |
| 101 | tests/common/TestScene.cpp \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 102 | tests/common/TestUtils.cpp |
| 103 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 104 | hwui_cflags := \ |
| 105 | -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES \ |
| 106 | -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" \ |
John Reck | 82f5e0c | 2015-10-22 17:07:45 -0700 | [diff] [blame] | 107 | -Wall -Wno-unused-parameter -Wunreachable-code -Werror |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 108 | |
John Reck | c90ed75 | 2015-11-04 07:39:44 -0800 | [diff] [blame] | 109 | # GCC false-positives on this warning, and since we -Werror that's |
| 110 | # a problem |
| 111 | hwui_cflags += -Wno-free-nonheap-object |
| 112 | |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 113 | ifeq (true, $(HWUI_NEW_OPS)) |
| 114 | hwui_src_files += \ |
Chris Craik | 9e7fcfd | 2015-11-25 13:27:33 -0800 | [diff] [blame] | 115 | BakedOpDispatcher.cpp \ |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 116 | BakedOpRenderer.cpp \ |
Chris Craik | e4db79d | 2015-12-22 16:32:23 -0800 | [diff] [blame] | 117 | BakedOpState.cpp \ |
Chris Craik | f158b49 | 2016-01-12 14:45:08 -0800 | [diff] [blame] | 118 | FrameBuilder.cpp \ |
| 119 | LayerBuilder.cpp \ |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 120 | RecordingCanvas.cpp |
| 121 | |
| 122 | hwui_cflags += -DHWUI_NEW_OPS |
| 123 | |
| 124 | endif |
| 125 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 126 | ifndef HWUI_COMPILE_SYMBOLS |
| 127 | hwui_cflags += -fvisibility=hidden |
| 128 | endif |
| 129 | |
| 130 | ifdef HWUI_COMPILE_FOR_PERF |
| 131 | # TODO: Non-arm? |
| 132 | hwui_cflags += -fno-omit-frame-pointer -marm -mapcs |
| 133 | endif |
| 134 | |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 135 | # This has to be lazy-resolved because it depends on the LOCAL_MODULE_CLASS |
| 136 | # which varies depending on what is being built |
| 137 | define hwui_proto_include |
| 138 | $(call local-generated-sources-dir)/proto/$(LOCAL_PATH) |
| 139 | endef |
| 140 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 141 | hwui_c_includes += \ |
Leon Scroggins III | 5507807 | 2015-07-31 10:38:40 -0400 | [diff] [blame] | 142 | external/skia/include/private \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 143 | external/skia/src/core |
| 144 | |
| 145 | hwui_shared_libraries := \ |
| 146 | liblog \ |
| 147 | libcutils \ |
| 148 | libutils \ |
| 149 | libEGL \ |
| 150 | libGLESv2 \ |
| 151 | libskia \ |
| 152 | libui \ |
| 153 | libgui \ |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 154 | libprotobuf-cpp-lite \ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 155 | |
| 156 | ifneq (false,$(ANDROID_ENABLE_RENDERSCRIPT)) |
| 157 | hwui_cflags += -DANDROID_ENABLE_RENDERSCRIPT |
| 158 | hwui_shared_libraries += libRS libRScpp |
| 159 | hwui_c_includes += \ |
| 160 | $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) \ |
| 161 | frameworks/rs/cpp \ |
| 162 | frameworks/rs |
| 163 | endif |
| 164 | |
John Reck | 975591a | 2016-01-22 16:28:07 -0800 | [diff] [blame] | 165 | ifeq (true, $(HWUI_ENABLE_OPENGL_VALIDATION)) |
| 166 | hwui_cflags += -include debug/wrap_gles.h |
| 167 | hwui_src_files += debug/wrap_gles.cpp |
| 168 | hwui_c_includes += frameworks/native/opengl/libs/GLES2 |
| 169 | hwui_cflags += -DDEBUG_OPENGL=3 |
| 170 | endif |
| 171 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 172 | |
| 173 | # ------------------------ |
| 174 | # static library |
| 175 | # ------------------------ |
| 176 | |
| 177 | include $(CLEAR_VARS) |
| 178 | |
| 179 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 180 | LOCAL_MODULE := libhwui_static |
| 181 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
| 182 | LOCAL_CFLAGS := $(hwui_cflags) |
| 183 | LOCAL_SRC_FILES := $(hwui_src_files) |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 184 | LOCAL_C_INCLUDES := $(hwui_c_includes) $(call hwui_proto_include) |
| 185 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(hwui_c_includes) $(call hwui_proto_include) |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 186 | |
| 187 | include $(BUILD_STATIC_LIBRARY) |
| 188 | |
| 189 | # ------------------------ |
Chris Craik | 5fbd9db | 2015-10-19 11:22:11 -0700 | [diff] [blame] | 190 | # static library null gpu |
| 191 | # ------------------------ |
| 192 | |
| 193 | include $(CLEAR_VARS) |
| 194 | |
| 195 | LOCAL_MODULE_CLASS := STATIC_LIBRARIES |
| 196 | LOCAL_MODULE := libhwui_static_null_gpu |
| 197 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
| 198 | LOCAL_CFLAGS := \ |
| 199 | $(hwui_cflags) \ |
| 200 | -DHWUI_NULL_GPU |
| 201 | LOCAL_SRC_FILES := \ |
| 202 | $(hwui_src_files) \ |
John Reck | 975591a | 2016-01-22 16:28:07 -0800 | [diff] [blame] | 203 | debug/nullegl.cpp \ |
| 204 | debug/nullgles.cpp |
Chris Craik | 5fbd9db | 2015-10-19 11:22:11 -0700 | [diff] [blame] | 205 | LOCAL_C_INCLUDES := $(hwui_c_includes) $(call hwui_proto_include) |
| 206 | LOCAL_EXPORT_C_INCLUDE_DIRS := $(hwui_c_includes) $(call hwui_proto_include) |
| 207 | |
| 208 | include $(BUILD_STATIC_LIBRARY) |
| 209 | |
| 210 | # ------------------------ |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 211 | # shared library |
| 212 | # ------------------------ |
| 213 | |
| 214 | include $(CLEAR_VARS) |
| 215 | |
John Reck | a2732a2 | 2014-12-18 13:52:33 -0800 | [diff] [blame] | 216 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 217 | LOCAL_MODULE := libhwui |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 218 | LOCAL_WHOLE_STATIC_LIBRARIES := libhwui_static |
| 219 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 220 | |
John Reck | a2732a2 | 2014-12-18 13:52:33 -0800 | [diff] [blame] | 221 | include $(BUILD_SHARED_LIBRARY) |
Andreas Gampe | edaecc1 | 2014-11-10 20:54:07 -0800 | [diff] [blame] | 222 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 223 | # ------------------------ |
| 224 | # unit tests |
| 225 | # ------------------------ |
| 226 | |
| 227 | include $(CLEAR_VARS) |
| 228 | |
| 229 | LOCAL_MODULE := hwui_unit_tests |
| 230 | LOCAL_MODULE_TAGS := tests |
| 231 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
Chris Craik | 5fbd9db | 2015-10-19 11:22:11 -0700 | [diff] [blame] | 232 | LOCAL_STATIC_LIBRARIES := libhwui_static_null_gpu |
Chris Craik | 98787e6 | 2015-11-13 10:55:30 -0800 | [diff] [blame] | 233 | LOCAL_CFLAGS := \ |
| 234 | $(hwui_cflags) \ |
| 235 | -DHWUI_NULL_GPU |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 236 | |
| 237 | LOCAL_SRC_FILES += \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 238 | $(hwui_test_common_src_files) \ |
| 239 | tests/unit/CanvasStateTests.cpp \ |
| 240 | tests/unit/ClipAreaTests.cpp \ |
John Reck | e5da4ef | 2016-01-14 12:34:46 -0800 | [diff] [blame] | 241 | tests/unit/CrashHandlerInjector.cpp \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 242 | tests/unit/DamageAccumulatorTests.cpp \ |
| 243 | tests/unit/DeviceInfoTests.cpp \ |
| 244 | tests/unit/FatVectorTests.cpp \ |
John Reck | 38e0c32 | 2015-11-10 12:19:17 -0800 | [diff] [blame] | 245 | tests/unit/GpuMemoryTrackerTests.cpp \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 246 | tests/unit/LayerUpdateQueueTests.cpp \ |
| 247 | tests/unit/LinearAllocatorTests.cpp \ |
| 248 | tests/unit/VectorDrawableTests.cpp \ |
| 249 | tests/unit/OffscreenBufferPoolTests.cpp \ |
Andres Morales | 06f5bc7 | 2015-12-15 15:21:31 -0800 | [diff] [blame] | 250 | tests/unit/StringUtilsTests.cpp \ |
| 251 | tests/unit/BufferPoolTests.cpp |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 252 | |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 253 | ifeq (true, $(HWUI_NEW_OPS)) |
| 254 | LOCAL_SRC_FILES += \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 255 | tests/unit/BakedOpStateTests.cpp \ |
Chris Craik | f158b49 | 2016-01-12 14:45:08 -0800 | [diff] [blame] | 256 | tests/unit/FrameBuilderTests.cpp \ |
John Reck | 1b94f9b | 2016-01-19 09:42:15 -0800 | [diff] [blame] | 257 | tests/unit/LeakCheckTests.cpp \ |
Chris Craik | 5ea1724 | 2016-01-11 14:07:59 -0800 | [diff] [blame] | 258 | tests/unit/RecordingCanvasTests.cpp |
Chris Craik | b565df1 | 2015-10-05 13:00:52 -0700 | [diff] [blame] | 259 | endif |
| 260 | |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 261 | include $(BUILD_NATIVE_TEST) |
| 262 | |
| 263 | # ------------------------ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 264 | # Macro-bench app |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 265 | # ------------------------ |
| 266 | |
| 267 | include $(CLEAR_VARS) |
| 268 | |
| 269 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/local/tmp |
| 270 | LOCAL_MODULE:= hwuitest |
| 271 | LOCAL_MODULE_TAGS := tests |
John Reck | e248bd1 | 2015-08-05 13:53:53 -0700 | [diff] [blame] | 272 | LOCAL_MODULE_CLASS := EXECUTABLES |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 273 | LOCAL_MULTILIB := both |
| 274 | LOCAL_MODULE_STEM_32 := hwuitest |
| 275 | LOCAL_MODULE_STEM_64 := hwuitest64 |
| 276 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
| 277 | LOCAL_CFLAGS := $(hwui_cflags) |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 278 | |
Chris Craik | 5fbd9db | 2015-10-19 11:22:11 -0700 | [diff] [blame] | 279 | # set to libhwui_static_null_gpu to skip actual GL commands |
| 280 | LOCAL_WHOLE_STATIC_LIBRARIES := libhwui_static |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 281 | |
| 282 | LOCAL_SRC_FILES += \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 283 | $(hwui_test_common_src_files) \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 284 | tests/macrobench/TestSceneRunner.cpp \ |
| 285 | tests/macrobench/main.cpp |
John Reck | d2e7214 | 2015-08-17 13:11:43 -0700 | [diff] [blame] | 286 | |
| 287 | include $(BUILD_EXECUTABLE) |
John Reck | 4a4bc89 | 2015-10-12 07:38:22 -0700 | [diff] [blame] | 288 | |
| 289 | # ------------------------ |
| 290 | # Micro-bench app |
| 291 | # --------------------- |
| 292 | include $(CLEAR_VARS) |
| 293 | |
| 294 | LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/local/tmp |
| 295 | LOCAL_MODULE:= hwuimicro |
| 296 | LOCAL_MODULE_TAGS := tests |
| 297 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 298 | LOCAL_MULTILIB := both |
| 299 | LOCAL_MODULE_STEM_32 := hwuimicro |
| 300 | LOCAL_MODULE_STEM_64 := hwuimicro64 |
| 301 | LOCAL_SHARED_LIBRARIES := $(hwui_shared_libraries) |
Chris Craik | 8d1f212 | 2015-11-24 16:40:09 -0800 | [diff] [blame] | 302 | LOCAL_CFLAGS := \ |
| 303 | $(hwui_cflags) \ |
| 304 | -DHWUI_NULL_GPU |
John Reck | 4a4bc89 | 2015-10-12 07:38:22 -0700 | [diff] [blame] | 305 | LOCAL_C_INCLUDES += bionic/benchmarks/ |
| 306 | |
Chris Craik | 5fbd9db | 2015-10-19 11:22:11 -0700 | [diff] [blame] | 307 | LOCAL_WHOLE_STATIC_LIBRARIES := libhwui_static_null_gpu |
John Reck | 4a4bc89 | 2015-10-12 07:38:22 -0700 | [diff] [blame] | 308 | LOCAL_STATIC_LIBRARIES := libbenchmark libbase |
| 309 | |
| 310 | LOCAL_SRC_FILES += \ |
Chris Craik | 8160f20 | 2015-12-02 14:50:25 -0800 | [diff] [blame] | 311 | $(hwui_test_common_src_files) \ |
| 312 | tests/microbench/DisplayListCanvasBench.cpp \ |
| 313 | tests/microbench/LinearAllocatorBench.cpp \ |
| 314 | tests/microbench/PathParserBench.cpp \ |
| 315 | tests/microbench/ShadowBench.cpp |
John Reck | 4a4bc89 | 2015-10-12 07:38:22 -0700 | [diff] [blame] | 316 | |
John Reck | 7db5ffb | 2016-01-15 13:17:09 -0800 | [diff] [blame] | 317 | ifeq (true, $(HWUI_NEW_OPS)) |
| 318 | LOCAL_SRC_FILES += \ |
| 319 | tests/microbench/FrameBuilderBench.cpp |
| 320 | endif |
Chris Craik | 0a24b14 | 2015-10-19 17:10:19 -0700 | [diff] [blame] | 321 | |
John Reck | 4a4bc89 | 2015-10-12 07:38:22 -0700 | [diff] [blame] | 322 | include $(BUILD_EXECUTABLE) |