diff options
author | Frank Barchard <fbarchard@google.com> | 2021-02-12 09:59:00 -0800 |
---|---|---|
committer | Frank Barchard <fbarchard@chromium.org> | 2021-02-12 19:45:16 +0000 |
commit | d7687742995c4cb004fbbc5cffc7c9e0d22ec7e5 (patch) | |
tree | 1d32a5216d0406f20841bb4b20a033fc1fb857c6 /BUILD.gn | |
parent | d4ecb70610325fdaaeec6af074d6e3ceab9866d1 (diff) | |
download | libyuv-d7687742995c4cb004fbbc5cffc7c9e0d22ec7e5.tar.gz |
add yuvconvstants util
miscellaneous cleanup of other code/comments
Bug: libyuv:873, libyuv:877
Change-Id: I0d8caf9a65908ff8898b25494f7c724775f84fa3
Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2692930
Reviewed-by: Wan-Teh Chang <wtc@google.com>
Reviewed-by: Frank Barchard <fbarchard@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -41,6 +41,7 @@ group("default") { ":libyuv_unittest", ":psnr", ":yuvconvert", + ":yuvconstants", ] } } @@ -357,6 +358,17 @@ if (libyuv_include_tests) { } } + executable("yuvconstants") { + sources = [ + # sources + "util/yuvconstants.cc", + ] + deps = [ ":libyuv" ] + if (is_linux || is_chromeos) { + cflags = [ "-fexceptions" ] + } + } + executable("psnr") { sources = [ # sources |