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