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 := \ |
| 8 | utils/Blur.cpp \ |
| 9 | utils/GLUtils.cpp \ |
| 10 | utils/SortedListImpl.cpp \ |
| 11 | thread/TaskManager.cpp \ |
| 12 | font/CacheTexture.cpp \ |
| 13 | font/Font.cpp \ |
| 14 | AmbientShadow.cpp \ |
| 15 | AnimationContext.cpp \ |
| 16 | Animator.cpp \ |
| 17 | AnimatorManager.cpp \ |
| 18 | AssetAtlas.cpp \ |
| 19 | Caches.cpp \ |
| 20 | CanvasState.cpp \ |
Rob Tsuk | 487a92c | 2015-01-06 13:22:54 -0800 | [diff] [blame^] | 21 | ClipArea.cpp \ |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame] | 22 | DamageAccumulator.cpp \ |
| 23 | DisplayList.cpp \ |
| 24 | DeferredDisplayList.cpp \ |
| 25 | DeferredLayerUpdater.cpp \ |
| 26 | DisplayListLogBuffer.cpp \ |
| 27 | DisplayListRenderer.cpp \ |
| 28 | Dither.cpp \ |
| 29 | DrawProfiler.cpp \ |
| 30 | Extensions.cpp \ |
| 31 | FboCache.cpp \ |
| 32 | FontRenderer.cpp \ |
| 33 | GammaFontRenderer.cpp \ |
| 34 | GradientCache.cpp \ |
| 35 | Image.cpp \ |
| 36 | Interpolator.cpp \ |
| 37 | Layer.cpp \ |
| 38 | LayerCache.cpp \ |
| 39 | LayerRenderer.cpp \ |
| 40 | Matrix.cpp \ |
| 41 | OpenGLRenderer.cpp \ |
| 42 | Patch.cpp \ |
| 43 | PatchCache.cpp \ |
| 44 | PathCache.cpp \ |
| 45 | PathTessellator.cpp \ |
| 46 | PixelBuffer.cpp \ |
| 47 | Program.cpp \ |
| 48 | ProgramCache.cpp \ |
| 49 | RenderBufferCache.cpp \ |
| 50 | RenderNode.cpp \ |
| 51 | RenderProperties.cpp \ |
| 52 | RenderState.cpp \ |
| 53 | ResourceCache.cpp \ |
| 54 | ShadowTessellator.cpp \ |
| 55 | SkiaShader.cpp \ |
| 56 | Snapshot.cpp \ |
| 57 | SpotShadow.cpp \ |
| 58 | Stencil.cpp \ |
| 59 | TessellationCache.cpp \ |
| 60 | Texture.cpp \ |
| 61 | TextureCache.cpp \ |
| 62 | TextDropShadowCache.cpp |
| 63 | |
| 64 | # RenderThread stuff |
| 65 | LOCAL_SRC_FILES += \ |
| 66 | renderthread/CanvasContext.cpp \ |
| 67 | renderthread/DrawFrameTask.cpp \ |
| 68 | renderthread/EglManager.cpp \ |
| 69 | renderthread/RenderProxy.cpp \ |
| 70 | renderthread/RenderTask.cpp \ |
| 71 | renderthread/RenderThread.cpp \ |
| 72 | renderthread/TimeLord.cpp |
| 73 | |
| 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 | 07adacf | 2014-12-19 10:08:40 -0800 | [diff] [blame] | 104 | LOCAL_CFLAGS += -Wall -Werror -Wno-unused-parameter -Wunused -Wunreachable-code |