From 670a290163a7de3766a7fab9c3b2dc21b3ee143e Mon Sep 17 00:00:00 2001 From: Brian Osman Date: Mon, 23 Apr 2018 13:31:56 -0400 Subject: 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 Reviewed-by: Mike Klein --- gn/gn_to_bp.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gn/gn_to_bp.py') 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']) -- cgit v1.2.3