Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 4 | # Only build libhwui when USE_OPENGL_RENDERER is |
| 5 | # defined in the current device/board configuration |
| 6 | ifeq ($(USE_OPENGL_RENDERER),true) |
| 7 | LOCAL_SRC_FILES:= \ |
Romain Guy | 8550c4c | 2010-10-08 15:49:53 -0700 | [diff] [blame] | 8 | utils/SortedListImpl.cpp \ |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 9 | FontRenderer.cpp \ |
Romain Guy | b45c0c9 | 2010-08-26 20:35:23 -0700 | [diff] [blame] | 10 | GammaFontRenderer.cpp \ |
Chet Haase | dd78cca | 2010-10-22 18:59:26 -0700 | [diff] [blame] | 11 | Caches.cpp \ |
Chet Haase | 9c1e23b | 2011-03-24 10:51:31 -0700 | [diff] [blame] | 12 | DisplayListLogBuffer.cpp \ |
Romain Guy | 03750a0 | 2010-10-18 14:06:08 -0700 | [diff] [blame] | 13 | DisplayListRenderer.cpp \ |
| 14 | FboCache.cpp \ |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 15 | GradientCache.cpp \ |
| 16 | LayerCache.cpp \ |
Romain Guy | 6c319ca | 2011-01-11 14:29:25 -0800 | [diff] [blame] | 17 | LayerRenderer.cpp \ |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 18 | Matrix.cpp \ |
| 19 | OpenGLRenderer.cpp \ |
| 20 | Patch.cpp \ |
| 21 | PatchCache.cpp \ |
| 22 | PathCache.cpp \ |
| 23 | Program.cpp \ |
| 24 | ProgramCache.cpp \ |
Chet Haase | 5c13d89 | 2010-10-08 08:37:55 -0700 | [diff] [blame] | 25 | ResourceCache.cpp \ |
Romain Guy | 01d58e4 | 2011-01-19 21:54:02 -0800 | [diff] [blame] | 26 | ShapeCache.cpp \ |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 27 | SkiaColorFilter.cpp \ |
| 28 | SkiaShader.cpp \ |
Romain Guy | 1e45aae | 2010-08-13 19:39:53 -0700 | [diff] [blame] | 29 | TextureCache.cpp \ |
| 30 | TextDropShadowCache.cpp |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 31 | |
| 32 | LOCAL_C_INCLUDES += \ |
| 33 | $(JNI_H_INCLUDE) \ |
| 34 | $(LOCAL_PATH)/../../include/utils \ |
| 35 | external/skia/include/core \ |
| 36 | external/skia/include/effects \ |
| 37 | external/skia/include/images \ |
| 38 | external/skia/src/ports \ |
| 39 | external/skia/include/utils |
Romain Guy | 85bf02f | 2010-06-22 13:11:24 -0700 | [diff] [blame] | 40 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 41 | LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER |
| 42 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 43 | LOCAL_SHARED_LIBRARIES := libcutils libutils libGLESv2 libskia libui |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 44 | LOCAL_MODULE := libhwui |
| 45 | LOCAL_MODULE_TAGS := optional |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 46 | |
| 47 | include $(BUILD_SHARED_LIBRARY) |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 48 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 49 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
| 50 | endif |