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 | ada4d53 | 2012-02-02 17:31:16 -0800 | [diff] [blame] | 29 | Snapshot.cpp \ |
Romain Guy | 1e45aae | 2010-08-13 19:39:53 -0700 | [diff] [blame] | 30 | TextureCache.cpp \ |
| 31 | TextDropShadowCache.cpp |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 32 | |
| 33 | LOCAL_C_INCLUDES += \ |
| 34 | $(JNI_H_INCLUDE) \ |
| 35 | $(LOCAL_PATH)/../../include/utils \ |
| 36 | external/skia/include/core \ |
| 37 | external/skia/include/effects \ |
| 38 | external/skia/include/images \ |
| 39 | external/skia/src/ports \ |
| 40 | external/skia/include/utils |
Romain Guy | 85bf02f | 2010-06-22 13:11:24 -0700 | [diff] [blame] | 41 | |
Romain Guy | 9c4b79a | 2011-11-10 19:23:58 -0800 | [diff] [blame] | 42 | LOCAL_CFLAGS += -DUSE_OPENGL_RENDERER -DGL_GLEXT_PROTOTYPES |
Romain Guy | 7953745 | 2011-10-12 13:48:51 -0700 | [diff] [blame] | 43 | LOCAL_CFLAGS += -fvisibility=hidden |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 44 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
Romain Guy | 5b3b352 | 2010-10-27 18:57:51 -0700 | [diff] [blame] | 45 | LOCAL_SHARED_LIBRARIES := libcutils libutils libGLESv2 libskia libui |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 46 | LOCAL_MODULE := libhwui |
| 47 | LOCAL_MODULE_TAGS := optional |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 48 | |
| 49 | include $(BUILD_SHARED_LIBRARY) |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 50 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 51 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
| 52 | endif |