Frank Barchard
71b60123dc
GN: Fix neon files not being included for arm64
...
BUG=568883
R=fbarchard@chromium.org
Review URL: https://codereview.chromium.org/1516653004 .
2015-12-14 11:48:06 -08:00
Frank Barchard
41c6cc7eb9
Enable optimization when compiling for NaCl with GN
...
PNaCl code validation fails when compiling with -O0 due to the linked
bug. Always enable optimization when compiling for NaCl to workaround
this bug.
BUG=538243
R=fbarchard@chromium.org
Review URL: https://codereview.chromium.org/1403813002 .
2015-10-12 14:52:05 -07:00
Frank Barchard
602fdbef94
Add a sanitizer.gni import to the GN build.
...
The is_*san build flags are moving to this .gni file. This patch will allow
libyuv to continue building when this move happens.
R=brettw@chromium.org , harryjin@google.com
BUG=none
Review URL: https://codereview.chromium.org/1314833005 .
2015-09-09 15:01:38 -07:00
Frank Barchard
2fa4f5a3ea
Adds files and functions for rotate any, but does not hook them up to the caller.
...
rotate any
R=harryjin@google.com
BUG=libyuv:464
Review URL: https://webrtc-codereview.appspot.com/53769004 .
2015-07-27 10:32:08 -07:00
Frank Barchard
3d190ee9f1
break rotate into files by cpu in preparation for optimization.
...
R=bcornell@google.com
BUG=libyuv:464
Review URL: https://webrtc-codereview.appspot.com/51289004 .
2015-07-14 10:23:10 -07:00
fbarchard@google.com
2e9f3e5cf5
rename source files from row_posix.cc etc to row_gcc.cc to avoid gyp build filtering out source files from build when on windows with clang. The source code contained in row_gcc.cc is gcc syntax inline assembly available for any platform that supports gcc or clang for intel cpus.
...
BUG=440
TESTED=try bots
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/56579004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1430 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-06-09 17:27:52 +00:00
johannkoenig@google.com
da6ee35e0c
Revert "libyuv: Include foo_posix.cc in the gn build, like it's done in the gyp build."
...
BUG=496928
R=thakis@chromium.org
Review URL: https://webrtc-codereview.appspot.com/58399004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1424 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-06-05 23:55:57 +00:00
johannkoenig@google.com
d7242b5b6c
libyuv: Include foo_posix.cc in the gn build, like it's done in the gyp build.
...
This is required to get things linking in clang/win. Medium-term, we should
clean libyuv up to not require _posix files on non-posix.
Reviewed at https://webrtc-codereview.appspot.com/52069004/
BUG=496928
Review URL: https://webrtc-codereview.appspot.com/54689004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1423 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-06-05 20:20:29 +00:00
fbarchard@google.com
416c48dba7
add new scale_any to build files.
...
BUG=419
TESTED=untested
R=bcornell@google.com
Review URL: https://webrtc-codereview.appspot.com/44969004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1350 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-03-30 23:20:14 +00:00
kjellander@google.com
0e53718e01
Fix standalone GN build.
...
Add dependencies and move the neon target to only be
specified for ARM builds so a standalone GN build can be
performed.
TESTED=Ran:
gn gen out/Release --args=is_debug=false
ninja -C out/Release
gn gen out/Debug --args=is_debug=true
ninja -C out/Debug
gn gen out/Debug --args="is_debug=true os=\"android\" "cpu_arch=\"arm\""
ninja -C out/Debug
gn gen out/Release --args="is_debug=false os=\"android\" "cpu_arch=\"arm\""
ninja -C out/Release
R=fbarchard@google.com
Review URL: https://webrtc-codereview.appspot.com/42289004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1317 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-03-10 08:16:49 +00:00
fbarchard@google.com
7ed2bb1227
Add Neon source files to libyuv GN build
...
BUG=none
TESTED=untested
R=bcornell@google.com
Review URL: https://webrtc-codereview.appspot.com/42149004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1303 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-27 22:12:17 +00:00
fbarchard@google.com
0887315390
Remove bayer format support from libyuv. This format is very rare and used on legacy hardware. Its not well optimized and has bugs related to odd widths. Removing the format will allow tests to pass under more circumstances, run faster and allow focus on higher priority quality and performance issues.
...
BUG=301
TESTED=local unittests build/pass on windows gyp build.
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/38059004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1270 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-09 19:58:19 +00:00
fbarchard@google.com
d204db647e
Build libyuv w/ no_chromium_code in GN.
...
This disables a couple of windows warnings that will otherwise
fire on Win64, causing compile failures.
BUG=432375
suppress size_t -> int warnings
R=harryjin@google.com
Review URL: https://webrtc-codereview.appspot.com/24299004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1171 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-11-18 01:10:14 +00:00
fbarchard@google.com
5a09c3ef2a
remove ppapi/c/pp_macros.h dependency and assume m37 is available.
...
BUG=374
TESTED=untested
R=nfullagar@chromium.org , tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/26769005
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1130 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-10-20 23:54:14 +00:00
brettw@google.com
a7735b9ab3
Rename GN public variables.
...
direct_dependent_configs => public_configs
Code review: https://webrtc-codereview.appspot.com/22749004/
R=fbarchard
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1094 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-26 21:46:47 +00:00
fbarchard@google.com
fefc694ee9
Update GN build to refer to ppapi target. This allows the inclusion of the pp_macros header when running in gn's header check mode.
...
BUG=none
TESTED=untested
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/26389004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1077 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-08 23:40:37 +00:00
kjellander@google.com
103427718a
Disable assembly optimizations in MemorySanitizer builds.
...
BUG=chromium:344505, chromium:373739
R=kjellander@google.com , mflodman@chromium.org
Review URL: https://webrtc-codereview.appspot.com/14849004
Patch from Sergey Matveev <earthdok@chromium.org>.
git-svn-id: http://libyuv.googlecode.com/svn/trunk@1028 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-07-03 18:39:32 +00:00
fbarchard@google.com
40a1d85579
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
2014-05-23 22:30:57 +00:00
fbarchard@google.com
4a1836050d
Update libyuv build toolchain.
...
Download and use GN similar to how WebRTC uses it
for GYP/ninja generation
Similar changes as done in
https://webrtc-codereview.appspot.com/6939004
Add support for VS2013 compilation using the
Chromium standalone toolchain. Similar changes:
https://webrtc-codereview.appspot.com/9769004
Fix the valgrind wrapper script similar to
https://webrtc-codereview.appspot.com/5589006
https://webrtc-codereview.appspot.com/6939004
Remove no longer needed cygwin mount hook.
TEST=All trybots except iOS are passing.
Those will have to be fixed in a future CL.
BUG=310
TESTED=gclient sync on osx/ios
R=tpsiaki@google.com
Review URL: https://webrtc-codereview.appspot.com/10849004
git-svn-id: http://libyuv.googlecode.com/svn/trunk@991 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-03-28 17:26:06 +00:00