aboutsummaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorFrank Barchard <fbarchard@google.com>2021-02-19 08:58:07 -0800
committerFrank Barchard <fbarchard@chromium.org>2021-02-19 18:04:48 +0000
commit08815a29766a78398a8e2b9ed095280e9d0a73c2 (patch)
treecc3a9bea31747415d3252371014b1066708c079b /BUILD.gn
parent63dd43dd469c5a21a8fa09d28350961c723326d0 (diff)
downloadlibyuv-08815a29766a78398a8e2b9ed095280e9d0a73c2.tar.gz
Scale 12 functions that are scale 16 but with only low 12 bits valid
Rename yuvconstants to .c and use round from math.h Bug: libyuv:882, b/180472591 Change-Id: I70720bf3e0833ba00df0d721f12020fba0b07a03 Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/2706966 Reviewed-by: Mirko Bonadei <mbonadei@chromium.org>
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn8
1 files changed, 3 insertions, 5 deletions
diff --git a/BUILD.gn b/BUILD.gn
index f84144ad..e1c7c1da 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -40,8 +40,8 @@ group("default") {
":i444tonv12_eg",
":libyuv_unittest",
":psnr",
- ":yuvconvert",
":yuvconstants",
+ ":yuvconvert",
]
}
}
@@ -364,7 +364,7 @@ if (libyuv_include_tests) {
executable("yuvconstants") {
sources = [
# sources
- "util/yuvconstants.cc",
+ "util/yuvconstants.c",
]
deps = [ ":libyuv" ]
if (is_linux || is_chromeos) {
@@ -391,9 +391,7 @@ if (libyuv_include_tests) {
# sources
"util/i444tonv12_eg.cc",
]
- deps = [
- ":libyuv",
- ]
+ deps = [ ":libyuv" ]
}
executable("cpuid") {