From cb6cb21cd9d27054810d2c80ef534dcddd615d4b Mon Sep 17 00:00:00 2001 From: scroggo Date: Tue, 1 Dec 2015 07:53:37 -0800 Subject: [PATCH] Fix Android framework build eeebdb538d476c1bfc8b63a946094ca1b505ecd1 did not update a Config that only builds if SK_BUILD_FOR_ANDROID_FRAMEWORK. This appears to be the necessary parameter that is missing. BUG=skia:2992 Review URL: https://codereview.chromium.org/1491563003 --- bench/nanobench.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/nanobench.cpp b/bench/nanobench.cpp index 6c42097f18..f742ef9724 100644 --- a/bench/nanobench.cpp +++ b/bench/nanobench.cpp @@ -464,7 +464,8 @@ static void create_configs(SkTDArray* configs) { #ifdef SK_BUILD_FOR_ANDROID_FRAMEWORK if (is_cpu_config_allowed("hwui")) { Config config = { "hwui", Benchmark::kHWUI_Backend, kRGBA_8888_SkColorType, - kPremul_SkAlphaType, 0, kBogusGLContextType, false }; + kPremul_SkAlphaType, 0, kBogusGLContextType, kNone_GLContextOptions, + false }; configs->push(config); } #endif