mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-13 05:39:53 +08:00
Remove DISABLE_X86 from build.gn
Fix for duplicate define
../../third_party/libyuv/include/libyuv/scale_row.h:29:9: error: 'LIBYUV_DISABLE_X86' macro redefined [-Werror,-Wmacro-redefined]
^
GYP version relys on headers disabling the optimization.
This CL does the same for BUILD.gn
TBR=kjellander@chromium.org
BUG=libyuv:625
Review URL: https://codereview.chromium.org/2149823003 .
This commit is contained in:
parent
46a8eaaf0c
commit
e74086bfe3
6
BUILD.gn
6
BUILD.gn
@ -87,12 +87,6 @@ source_set("libyuv") {
|
|||||||
defines += [ "HAVE_JPEG" ]
|
defines += [ "HAVE_JPEG" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is_msan) {
|
|
||||||
# MemorySanitizer does not support assembly code yet.
|
|
||||||
# http://crbug.com/344505
|
|
||||||
defines += [ "LIBYUV_DISABLE_X86" ]
|
|
||||||
}
|
|
||||||
|
|
||||||
deps = [
|
deps = [
|
||||||
"//third_party:jpeg",
|
"//third_party:jpeg",
|
||||||
]
|
]
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 1607
|
Version: 1608
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 1607
|
#define LIBYUV_VERSION 1608
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user