19 Commits

Author SHA1 Message Date
Henrik Kjellander
93f47948b1 landmine to clobber old GYP build artifacts to enable moving to GN.
BUG=chromium:652188
TBR=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/2427643003 .
2016-10-18 08:56:41 +02:00
Henrik Kjellander
a0a549c5b3 landmine to clobber old GYP build artifacts to enable moving to GN.
BUG=chromium:652188
TBR=ehmaldonado@chromium.org

Review URL: https://codereview.chromium.org/2421343002 .
2016-10-17 15:58:38 +02:00
Henrik Kjellander
3d047196a8 Add landmine support
After switching bots from GYP to GN, build artifacts are left that fails
the next builds. Since it's unfeasible to clean out all bot machines
it's better to have an automated system for this, which is what landmines is.

By adding a line to tools/get_landmines.py it is possible to clobber each bot
that syncs past that "landmine CL".

BUG=chromium:652188
TBR=ehmaldonado@chromium.org

Review URL: https://codereview.chromium.org/2427633003 .
2016-10-17 15:37:47 +02:00
Henrik Kjellander
f9496cfdf3 Add new OWNERS and remove drover.properties.
The drover.properties file is no longer useful after
migrating the repo to Git.

BUG=libyuv:568
R=mflodman@chromium.org

Review URL: https://codereview.chromium.org/1696173002 .
2016-02-16 19:53:11 +01:00
Henrik Kjellander
af90e82155 Add empty MSan blacklist.txt to make MSan builds pass.
TBR=fbarchard@chromium.org
BUG=libyuv:564

Review URL: https://codereview.chromium.org/1665573003 .
2016-02-03 11:52:19 +01:00
Frank Barchard
0e7d2926e2 UBSan: Add blacklist files for libyuvC standalone.
For more info, see
http://dev.chromium.org/developers/testing/undefinedbehaviorsanitizer

TESTED=Passing compilation using:
GYP_DEFINES="ubsan=1"
GYP_DEFINES="ubsan_vptr=1"

R=harryjin@google.com, pbos@webrtc.org
BUG=libyuv:563,webrtc:5124

Review URL: https://codereview.chromium.org/1659713002 .
2016-02-01 18:08:52 -08:00
Henrik Kjellander
97ec206e74 Roll chromium_revision bb79186..5d149df (353481:354955)
Changelog: bb79186..5d149df

TBR=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/1416823002 .
2015-10-20 07:54:41 +02:00
Frank Barchard
cff11a17d6 remove tools from git that were previously checkin by accident.
R=harryjin@google.com, brucedawson@chromium.org

BUG=none
TESTED=untested

Review URL: https://webrtc-codereview.appspot.com/56619004.
2015-06-30 10:45:24 -07:00
Frank Barchard
82180e8296 rgb24toyuv use 1 or 2 steps consistently.
R=bcornell@google.com, impjdi@google.com
BUG=libyuv:459

Review URL: https://webrtc-codereview.appspot.com/52149004.
2015-06-29 16:51:05 -07:00
kjellander@google.com
1dc351bf44 Roll chromium_revision 271c6cc..2c3ffb2 (309333:317530) + fixes
Details: 271c6cc..2c3ffb2/DEPS

Updated sync_chromium.py to be identical with WebRTC's current version.
Removed the xcode61 suffixed Mac trybots as well.

The following were moved into src/buildtools:
* src/third_party/libc++/trunk
* src/third_party/libc++abi/trunk

TBR=fbarchard@google.com
TESTED=All trybots passing this.

Review URL: https://webrtc-codereview.appspot.com/40119004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1301 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-27 10:20:23 +00:00
kjellander@google.com
ccc465d0b4 Cleanup LSan suppression files.
This file no longer needs to exist after
https://codereview.chromium.org/941433004/ has been landed.

Libyuv never had any LSan suppressions added, so the
file has no purpose.
Also cleanup empty sanitizer_options.gyp file that was added
by mistake.

BUG=
R=fbarchard@google.com

Review URL: https://webrtc-codereview.appspot.com/35299004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1300 16f28f9a-4ce2-e073-06de-1de4eb20be90
2015-02-25 20:52:59 +00:00
kjellander@google.com
927cf369ab Unbreak memcheck bot by adding --gtest_break_on_failure flag
TBR=fbarchard@google.com
TESTED=Ran tools/valgrind-libyuv/libyuv_tests.sh

Review URL: https://webrtc-codereview.appspot.com/27359004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1188 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-12-03 19:07:05 +00:00
kjellander@google.com
093fd4842f Add tools/lsan/suppressions.txt
The new buildbots are using the default config
for ASan, which has Leak Sanitizer (LSan) enabled.
This assumes a suppression file exists in this
location.

TBR=fbarchard@google.com
TESTED=Passing linux_asan trybot run.
BUG=

Review URL: https://webrtc-codereview.appspot.com/27589004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1091 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-23 13:34:34 +00:00
kjellander@google.com
77ba1546f2 Make Libyuv work with Chromium Git checkouts
This is very similar to the changes in
https://code.google.com/p/webrtc/source/detail?r=6938

TESTED=gclient sync and runhooks on Mac and Linux + building successfully.
R=fbarchard@chromium.org

Review URL: https://webrtc-codereview.appspot.com/24619004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1089 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-23 11:13:29 +00:00
kjellander@google.com
9e430982a1 Roll chromium_revision 280149:291168 and remove sanitizer_options.cc hack.
This is a temporary solution to fix the compile error in preparation
for moving the bots over to recipes so that
https://review.webrtc.org/24619004/ can be landed.

TBR=fbarchard@google.com
TESTED=passing local compile on Linux.

Review URL: https://webrtc-codereview.appspot.com/28549004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1087 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-21 20:17:00 +00:00
kjellander@google.com
f34649b2cd Roll chromium_revision 274825:280149 to fix GN
Due to http://crbug.com/389883 GN currently doesn't execute
unless the top folder is named 'src'.

To work around this, perform the following changes to a
checkout that currently has "trunk" as the root folder:
1. Rename trunk -> src
2. Remove .gclient_entries file (will be re-created)
3. Edit .gclient and:
  * set the name of the solution to "src"
  * add/change the custom_vars dict for the solution to
    have a key like this:
    "custom_vars" : {
      "root_dir" : "src",
    },
4. Run gclient sync

The buildbots already have this done and gets a "src"
dir for their checkouts.

I also workaround some recent changes for sanitizer tools
and add a copy of Chromium's tsan_suppressions.cc to prepare
for TSan v2 (since v1 that libyuv is currently using is
deprecated and should be removed).

BUG=libyuv:338
TEST=Currently working trybot passing + local compile on Linux in
Debug,Release and with ASan+TSan v2 using:
GYP_DEFINES="asan=1 release_extra_cflags=-g use_allocator=none" ./gyp_libyuv && ninja -C out/Release
GYP_DEFINES="tsan=1 release_extra_cflags=-g use_allocator=none" ./gyp_libyuv && ninja -C out/Release
R=fbarchard@google.com

Review URL: https://webrtc-codereview.appspot.com/12889004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1027 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-07-03 08:00:03 +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
kjellander@google.com
3d34bd6f71 Fix libyuv_tests.py to handle recent Chromium changes.
This CL contains the same changes as in WebRTC revision
4957 and r4959. This will make the tests run properly
on the memcheck and tsan bots again.

TEST=compiled and successfully ran from the parent dir of trunk:
trunk/tools/valgrind-libyuv/libyuv_tests.sh --test libyuv_unittest --tool memcheck --target Release --build-dir trunk/out
TBR=fbarchard@google.com

Review URL: https://webrtc-codereview.appspot.com/4049004

git-svn-id: http://libyuv.googlecode.com/svn/trunk@860 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-11-19 10:56:35 +00:00
kjellander@google.com
72f428db14 Memory tool wrapper script for libyuv
This is a renamed copy of the r3354 wrapper script existing for WebRTC located
in trunk/tools/valgrind-webrtc/ of WebRTC (with suppressions cleaned).

Using the libyuv_tests.[sh,bat] script, it is possible to run the libyuv
unit tests under memory tools like Valgrind memcheck, Thread Sanitizer and
Address Sanitizer.

Adding this directory to libyuv makes it possible to handle suppressions
entirely in libyuv, instead of depending on manually setting up the WebRTC
wrapper script on the buildbots.
Having this directory in libyuv is identical to the current buildbot setup in
terms of execution, but will make the buildbot code cleaner.

It also makes it convenient for libyuv developers to run memory tests.

Examples:
memcheck: tools/valgrind-libyuv/libyuv_tests.sh -t
out/Debug/libyuv_unittest
tsan: tools/valgrind-libyuv/libyuv_tests.sh --tool=tsan -t
out/Debug/libyuv_unittest
asan: tools/valgrind-libyuv/libyuv_tests.sh --tool=asan -t
out/Debug/libyuv_unittest

BUG=none
TEST=Ran the command lines listed above.
Review URL: https://webrtc-codereview.appspot.com/1023009

git-svn-id: http://libyuv.googlecode.com/svn/trunk@533 16f28f9a-4ce2-e073-06de-1de4eb20be90
2013-01-10 12:23:23 +00:00