aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Matt Sarett <msarett@google.com>2016-11-11 13:59:14 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-11-11 19:31:09 +0000
commit8740d5802b27b0786f2b51eef65f500b2a6f6351 (patch)
tree9efd87738c60f26461203fc214df56cd99d98615 /BUILD.gn
parent857cb97a34ea1870b20ecbae6aa937a57243359c (diff)
Re-purpose color space tool
(1) Compile tool with GN. (2) Rename tool to colorspaceinfo. (3) Support both images and icc profiles as input. (4) Print out information on transfer fn in addition to gamut. TODO: Output graphs of the three transfer fn curves. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4721 Change-Id: I2e75139685ea41446d3ae6f9803c8068ea05661a Reviewed-on: https://skia-review.googlesource.com/4721 Commit-Queue: Matt Sarett <msarett@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn12
1 files changed, 12 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index e3954d7f27..20ae54171a 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1161,6 +1161,18 @@ if (skia_enable_tools) {
testonly = true
}
+ executable("colorspaceinfo") {
+ sources = [
+ "tools/colorspaceinfo.cpp",
+ ]
+ deps = [
+ ":flags",
+ ":skia",
+ ":tool_utils",
+ ]
+ testonly = true
+ }
+
if (!is_ios) {
executable("skiaserve") {
sources = [