summaryrefslogtreecommitdiff
path: root/libs/hwui/LayerCache.h
diff options
context:
space:
mode:
author Andreas Gampe <agampe@google.com> 2014-11-10 15:23:43 -0800
committer Andreas Gampe <agampe@google.com> 2014-11-10 15:58:04 -0800
commit1e19674107e1aa2224c2b8c7d12bfa057efe80ea (patch)
tree512f1a8a715497c2cde26d6ca070d923fd9c3a45 /libs/hwui/LayerCache.h
parent487ae9b8dc3e08c1a830d519a801a07cd59c8f2b (diff)
Frameworks/base: Wall Werror in libs/hwui
Turn on -Wall -Werror in libs/hwui. Fix errors. Change-Id: I74962d08c889712dacbd0d86d6760fc10802b6bd
Diffstat (limited to 'libs/hwui/LayerCache.h')
-rw-r--r--libs/hwui/LayerCache.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/libs/hwui/LayerCache.h b/libs/hwui/LayerCache.h
index 6b93e8fc86c5..81810acef163 100644
--- a/libs/hwui/LayerCache.h
+++ b/libs/hwui/LayerCache.h
@@ -26,15 +26,11 @@ namespace uirenderer {
class RenderState;
-///////////////////////////////////////////////////////////////////////////////
-// Defines
-///////////////////////////////////////////////////////////////////////////////
-
// Debug
#if DEBUG_LAYERS
- #define LAYER_LOGD(...) ALOGD(__VA_ARGS__)
+static const bool kDebugLayers = true;
#else
- #define LAYER_LOGD(...)
+static const bool kDebugLayers = false;
#endif
///////////////////////////////////////////////////////////////////////////////