aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config/SkUserConfig.h
diff options
context:
space:
mode:
authorGravatar Yuqian Li <liyuqian@google.com>2017-01-12 15:35:15 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-01-12 21:13:20 +0000
commitb46fff60bc82fe6f0c64b2241d854a121f7cb5f9 (patch)
tree02dd344b40691317a7847f77200f050622555d9e /include/config/SkUserConfig.h
parent25b60833e7c3dd25f2317b3f0e7af07f04b5beba (diff)
The only difference is that we now put the guard flag SK_SUPPORT_LEGACY_AAA in SkUserConfig.h instead of SkScan.h. Previously, SkAnalyticEdge.cpp doesn't get that flag from SkScan.h and that caused many problems. BUG=skia: TBR=reed@google.com,caryclark@google.com Change-Id: I7b89d3cb64ad71715101d2a5e8e77be3a8a6fa16 Reviewed-on: https://skia-review.googlesource.com/6972 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'include/config/SkUserConfig.h')
-rw-r--r--include/config/SkUserConfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index 0729447979..37d8e76ffa 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -139,4 +139,9 @@
//#define SK_HISTOGRAM_BOOLEAN(name, value)
//#define SK_HISTOGRAM_ENUMERATION(name, value, boundary_value)
+// Use this to check that we successfully guard the change against Chromium layout tests
+#ifndef SK_SUPPORT_LEGACY_AAA
+# define SK_SUPPORT_LEGACY_AAA
+#endif
+
#endif