aboutsummaryrefslogtreecommitdiffhomepage
path: root/BUILD.gn
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@google.com>2018-07-27 09:54:43 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-07-27 15:11:17 +0000
commit7af351a68c363c8a7615450717c058a8d05920dc (patch)
treeda6d7406b780a0f1a117b5c0c7821ccf042c92a8 /BUILD.gn
parent60f1d83f65df16defe516ad41b76584da5aa6fea (diff)
add imgcvt
This uses skcms to convert an image into a PNG with a new color profile. Change-Id: Iaefdbbfba6f4b85637386569a65355df255b980d Reviewed-on: https://skia-review.googlesource.com/143709 Commit-Queue: Mike Klein <mtklein@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: Mike Klein <mtklein@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn9
1 files changed, 9 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f396cb93fe..517b76a545 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -1561,6 +1561,15 @@ if (skia_enable_tools) {
]
}
}
+ test_app("imgcvt") {
+ sources = [
+ "tools/imgcvt.cpp",
+ ]
+ deps = [
+ ":skcms",
+ ":skia",
+ ]
+ }
test_app("dm") {
sources = [
"dm/DM.cpp",