John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 1 | # getConfig in external/skia/include/core/SkBitmap.h is deprecated. |
| 2 | # Allow Gnu extension: in-class initializer of static 'const float' member. |
| 3 | LOCAL_CLANG_CFLAGS += \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 4 | -Wno-deprecated-declarations \ |
| 5 | -Wno-gnu-static-float-init |
| 6 | |
| 7 | LOCAL_SRC_FILES := \ |
Chris Craik | 65fe5ee | 2015-01-26 18:06:29 -0800 | [diff] [blame] | 8 | font/CacheTexture.cpp \ |
| 9 | font/Font.cpp \ |
Chris Craik | 96a5c4c | 2015-01-27 15:46:35 -0800 | [diff] [blame^] | 10 | renderstate/MeshState.cpp \ |
| 11 | renderstate/PixelBufferState.cpp \ |
Chris Craik | 65fe5ee | 2015-01-26 18:06:29 -0800 | [diff] [blame] | 12 | renderstate/RenderState.cpp \ |
| 13 | renderstate/Scissor.cpp \ |
Chris Craik | 96a5c4c | 2015-01-27 15:46:35 -0800 | [diff] [blame^] | 14 | renderstate/Stencil.cpp \ |
Chris Craik | 65fe5ee | 2015-01-26 18:06:29 -0800 | [diff] [blame] | 15 | renderthread/CanvasContext.cpp \ |
| 16 | renderthread/DrawFrameTask.cpp \ |
| 17 | renderthread/EglManager.cpp \ |
| 18 | renderthread/RenderProxy.cpp \ |
| 19 | renderthread/RenderTask.cpp \ |
| 20 | renderthread/RenderThread.cpp \ |
| 21 | renderthread/TimeLord.cpp \ |
| 22 | thread/TaskManager.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 23 | utils/Blur.cpp \ |
| 24 | utils/GLUtils.cpp \ |
| 25 | utils/SortedListImpl.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 26 | AmbientShadow.cpp \ |
| 27 | AnimationContext.cpp \ |
| 28 | Animator.cpp \ |
| 29 | AnimatorManager.cpp \ |
| 30 | AssetAtlas.cpp \ |
| 31 | Caches.cpp \ |
| 32 | CanvasState.cpp \ |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame] | 33 | ClipArea.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 34 | DamageAccumulator.cpp \ |
| 35 | DisplayList.cpp \ |
| 36 | DeferredDisplayList.cpp \ |
| 37 | DeferredLayerUpdater.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 38 | DisplayListRenderer.cpp \ |
| 39 | Dither.cpp \ |
| 40 | DrawProfiler.cpp \ |
| 41 | Extensions.cpp \ |
| 42 | FboCache.cpp \ |
| 43 | FontRenderer.cpp \ |
| 44 | GammaFontRenderer.cpp \ |
| 45 | GradientCache.cpp \ |
| 46 | Image.cpp \ |
| 47 | Interpolator.cpp \ |
| 48 | Layer.cpp \ |
| 49 | LayerCache.cpp \ |
| 50 | LayerRenderer.cpp \ |
| 51 | Matrix.cpp \ |
| 52 | OpenGLRenderer.cpp \ |
| 53 | Patch.cpp \ |
| 54 | PatchCache.cpp \ |
| 55 | PathCache.cpp \ |
| 56 | PathTessellator.cpp \ |
| 57 | PixelBuffer.cpp \ |
| 58 | Program.cpp \ |
| 59 | ProgramCache.cpp \ |
| 60 | RenderBufferCache.cpp \ |
| 61 | RenderNode.cpp \ |
| 62 | RenderProperties.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 63 | ResourceCache.cpp \ |
| 64 | ShadowTessellator.cpp \ |
John Reck | 849911a | 2015-01-20 07:51:14 -0800 | [diff] [blame] | 65 | SkiaCanvas.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 66 | SkiaShader.cpp \ |
| 67 | Snapshot.cpp \ |
| 68 | SpotShadow.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 69 | TessellationCache.cpp \ |
| 70 | Texture.cpp \ |
| 71 | TextureCache.cpp \ |
| 72 | TextDropShadowCache.cpp |
| 73 | |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 74 | intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) |
| 75 | |
| 76 | LOCAL_C_INCLUDES += \ |
| 77 | external/skia/src/core |
| 78 | |
John Reck | a2732a2 | 2014-12-18 13:52:33 -0800 | [diff] [blame] | 79 | LOCAL_CFLAGS += -DEGL_EGLEXT_PROTOTYPES -DGL_GLEXT_PROTOTYPES |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 80 | LOCAL_SHARED_LIBRARIES := liblog libcutils libutils libEGL libGLESv2 libskia libui libgui |
| 81 | |
| 82 | ifneq (false,$(ANDROID_ENABLE_RENDERSCRIPT)) |
| 83 | LOCAL_CFLAGS += -DANDROID_ENABLE_RENDERSCRIPT |
| 84 | LOCAL_SHARED_LIBRARIES += libRS libRScpp |
| 85 | LOCAL_C_INCLUDES += \ |
| 86 | $(intermediates) \ |
| 87 | frameworks/rs/cpp \ |
| 88 | frameworks/rs \ |
| 89 | |
| 90 | endif |
| 91 | |
| 92 | ifndef HWUI_COMPILE_SYMBOLS |
| 93 | LOCAL_CFLAGS += -fvisibility=hidden |
| 94 | endif |
| 95 | |
| 96 | ifdef HWUI_COMPILE_FOR_PERF |
| 97 | # TODO: Non-arm? |
| 98 | LOCAL_CFLAGS += -fno-omit-frame-pointer -marm -mapcs |
| 99 | endif |
| 100 | |
| 101 | # Defaults for ATRACE_TAG and LOG_TAG for libhwui |
| 102 | LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_VIEW -DLOG_TAG=\"OpenGLRenderer\" |
| 103 | |
Chris Craik | 2ae0733 | 2015-01-21 14:22:39 -0800 | [diff] [blame] | 104 | LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter -Wunreachable-code |