GN: define fake-gamma configuration to match our bots.
authormtklein <mtklein@chromium.org>
Mon, 1 Aug 2016 15:37:48 +0000 (08:37 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 1 Aug 2016 15:37:48 +0000 (08:37 -0700)
This should fix many of the GN text diffs in Gold.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2195393002

Review-Url: https://codereview.chromium.org/2195393002

BUILD.gn

index 8c519d9..8bf9d66 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -58,6 +58,9 @@ config("skia_private") {
   ]
 
   defines = [
+    "SK_GAMMA_SRGB",
+    "SK_GAMMA_APPLY_TO_A8",
+
     "SK_HAS_GIF_LIBRARY",
     "SK_HAS_JPEG_LIBRARY",
     "SK_HAS_PNG_LIBRARY",