From ee269f44d9caf550ef3ddb059664224df7ec3b65 Mon Sep 17 00:00:00 2001 From: mtklein Date: Thu, 4 Aug 2016 09:52:11 -0700 Subject: [PATCH] GN: make SkPMColor BGRA on Linux. All other platforms are auto-detected. This technically shouldn't cause us to draw differently, but sometimes does on buggy GMs, and also has us go down slightly different code paths. It's good to be consistent with GYP, Chromium, Google3, etc. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2214023002 Review-Url: https://codereview.chromium.org/2214023002 --- BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BUILD.gn b/BUILD.gn index e2a9a88..beb6045 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -73,6 +73,9 @@ config("skia_private") { "TURBO_HAS_CROP", "TURBO_HAS_SKIP", ] + if (is_linux) { + defines += [ "SK_SAMPLES_FOR_X" ] + } } # Any code that's linked into Skia-the-library should use this config via += skia_library_configs. -- 2.7.4