aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar Brian Osman <brianosman@google.com>2018-04-23 13:31:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-04-23 17:55:10 +0000
commit670a290163a7de3766a7fab9c3b2dc21b3ee143e (patch)
tree022a6f81d3be59ca1d33014004d37988e549e73e /gn
parent773a639d431a14295ac7ed02389d217733a7edcd (diff)
Enable skcms by default
This effectively switches Flutter and Android Framework to use skcms for color space transformation. Change-Id: I254f6a8614d6976ff13979ae0e745c49c334e5c6 Reviewed-on: https://skia-review.googlesource.com/123080 Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn')
-rw-r--r--gn/gn_to_bp.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gn/gn_to_bp.py b/gn/gn_to_bp.py
index d8ec9e304a..3e25ad50ef 100644
--- a/gn/gn_to_bp.py
+++ b/gn/gn_to_bp.py
@@ -233,6 +233,9 @@ local_includes = strip_slashes(js['targets']['//:skia']['include_dirs'])
export_includes = strip_slashes(js['targets']['//:public']['include_dirs'])
defines = [str(d) for d in js['targets']['//:skia']['defines']]
+# We need to add skcms.c, which lives in third_party
+srcs.add("third_party/skcms/skcms.c")
+
dm_srcs = strip_slashes(js['targets']['//:dm']['sources'])
dm_includes = strip_slashes(js['targets']['//:dm']['include_dirs'])