diff options
author | fbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90> | 2014-05-23 22:30:57 +0000 |
---|---|---|
committer | fbarchard@google.com <fbarchard@google.com@16f28f9a-4ce2-e073-06de-1de4eb20be90> | 2014-05-23 22:30:57 +0000 |
commit | 40a1d85579db99974513e8dbb74874f0bb231ee4 (patch) | |
tree | 1a05280486c53cad91622e028b1c547735f04672 | |
parent | 37ad8b650717568e34a5ac807b63cc9f072c96b6 (diff) | |
download | libyuv-40a1d85579db99974513e8dbb74874f0bb231ee4.tar.gz |
enable neon in build.gn
BUG=none
TESTED=untested
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/19539007
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1007 16f28f9a-4ce2-e073-06de-1de4eb20be90
-rw-r--r-- | BUILD.gn | 81 | ||||
-rw-r--r-- | README.chromium | 2 | ||||
-rw-r--r-- | include/libyuv/version.h | 2 |
3 files changed, 74 insertions, 11 deletions
@@ -6,17 +6,80 @@ # in the file PATENTS. All contributing project authors may # be found in the AUTHORS file in the root of the source tree. -# This file is copied and modified from Chromium (src/BUILD.gn). -group("root") { - external = true +config("libyuv_config") { + include_dirs = [ + ".", + "include", + ] +} + +source_set("libyuv") { + sources = [ + "include/libyuv.h", + "include/libyuv/basic_types.h", + "include/libyuv/compare.h", + "include/libyuv/convert.h", + "include/libyuv/convert_argb.h", + "include/libyuv/convert_from.h", + "include/libyuv/convert_from_argb.h", + "include/libyuv/cpu_id.h", + "include/libyuv/format_conversion.h", + "include/libyuv/mjpeg_decoder.h", + "include/libyuv/planar_functions.h", + "include/libyuv/rotate.h", + "include/libyuv/rotate_argb.h", + "include/libyuv/row.h", + "include/libyuv/scale.h", + "include/libyuv/scale_argb.h", + "include/libyuv/scale_row.h", + "include/libyuv/version.h", + "include/libyuv/video_common.h", + + # sources. + "source/compare.cc", + "source/compare_common.cc", + "source/compare_posix.cc", + "source/compare_win.cc", + "source/convert.cc", + "source/convert_argb.cc", + "source/convert_from.cc", + "source/convert_from_argb.cc", + "source/convert_jpeg.cc", + "source/convert_to_argb.cc", + "source/convert_to_i420.cc", + "source/cpu_id.cc", + "source/format_conversion.cc", + "source/mjpeg_decoder.cc", + "source/mjpeg_validate.cc", + "source/planar_functions.cc", + "source/rotate.cc", + "source/rotate_argb.cc", + "source/rotate_mips.cc", + "source/row_any.cc", + "source/row_common.cc", + "source/row_mips.cc", + "source/row_posix.cc", + "source/row_win.cc", + "source/scale.cc", + "source/scale_argb.cc", + "source/scale_common.cc", + "source/scale_mips.cc", + "source/scale_posix.cc", + "source/scale_win.cc", + "source/video_common.cc", + ] + + direct_dependent_configs = [ ":libyuv_config" ] + + defines = [] + + if (!is_ios) { + defines += [ "HAVE_JPEG" ] + } deps = [ + "//third_party:jpeg", ] -} -# A standard (non-group) target is required in the build to load any of the -# configurations, which is in turn required to load all of the build parameters -# (in build/config/BUILD.gn). -executable("dummy") { - external = true + # TODO(GYP) Neon build. } diff --git a/README.chromium b/README.chromium index 02087dc..78d39a6 100644 --- a/README.chromium +++ b/README.chromium @@ -1,6 +1,6 @@ Name: libyuv URL: http://code.google.com/p/libyuv/ -Version: 1006 +Version: 1007 License: BSD License File: LICENSE diff --git a/include/libyuv/version.h b/include/libyuv/version.h index 0bfd45e..16faa9b 100644 --- a/include/libyuv/version.h +++ b/include/libyuv/version.h @@ -11,6 +11,6 @@ #ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT #define INCLUDE_LIBYUV_VERSION_H_ -#define LIBYUV_VERSION 1006 +#define LIBYUV_VERSION 1007 #endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT |