18 Commits

Author SHA1 Message Date
Frank Barchard
7c309c459f cherry picking changes needed for deps roll.
DEPS roll is needed for mips builds.  These additional changes are also
needed for that DEPS roll.  These can be done separately.

TBR=kjellander@chromium.org
BUG=libyuv:634
TEST=try bots

Review URL: https://codereview.chromium.org/2446043003 .
2016-10-25 15:54:59 -07:00
Frank Barchard
feaff94b51 setup_links.py: Use junctions instead of symlinks on Windows.
Instead of creating symlinks on Windows, the script is now:
* creating a junction for directories
* copying individual files.

This makes 'gclient sync' and 'gclient runhooks' no longer
require administrator's privileges.
If the script is run with administrator's privileges, a
warning will be printed, informing the user that it's not recommended.

Also clean up a few old documentation references to the
Chromium SVN->Git transition.

BUG=libyuv:584,webrtc:4911
TESTED=Running the script with+without administrator's privileges.
I also tested the case of this change being rolled back, in which
case I verified that the copied files are still being deleted using
the same cleanup code path as the previous symlinks.
NOTRY=True
R=braveyao@chromium.org

Review URL: https://codereview.chromium.org/2359383002 .
2016-09-22 18:26:32 -07:00
Frank Barchard
742be44654 Remove references to svn version control.
BUG=libyuv:636
TESTED=try bots
R=kjellander@chromium.org

Review URL: https://codereview.chromium.org/2339813002 .
2016-09-14 14:54:47 -07:00
Edward Lemur
d8fe1ad6bb GN: Add GN test targets.
BUG=libyuv:523
R=fbarchard@google.com, kjellander@chromium.org, magjed@chromium.org

Review URL: https://codereview.chromium.org/2317073002 .
2016-09-13 12:02:40 +02:00
Frank Barchard
48e8f8e739 Roll chromium_revision from 33f87688 to 7dcda66f
Change log: 33f87688..94111882
Full diff: 33f87688..94111882

TBR=kjellander@chromium.org
BUG=libyuv:626

Review URL: https://codereview.chromium.org/2292373002 .
2016-08-30 18:25:47 -07:00
Henrik Kjellander
d19f1c319a Roll chromium_revision 0868029..33f8768
Add a lot of new dependencies for the Android toolchain
to setup_links.py (added for WebRTC in https://codereview.webrtc.org/2190893002
and https://codereview.webrtc.org/2215633002).

There was no other way to get the Android test to build
than renaming the APK to yuv_unittests. That made it possible
to use build/apk_test.gypi (there's some bug somewhere that assumes
names doesn't start with "lib", see http://crbug.com/543820).

TBR=fbarchard@chromium.org
BUG=libyuv:626

Review URL: https://codereview.chromium.org/2201893007 .
2016-08-04 13:43:17 +02:00
Henrik Kjellander
b6bfacc2e7 Roll chromium_revision 1d144ca7f86..2a818f5413 (375480:395512)
* Update gflags to newer repository location (plain copy
  from the files in WebRTC).
* Add workarounds for mojo dependency (see
  http://bugs.webrtc.org/5629 for more details).
* Update libyuv_unittest to generate user friendly
  run-scripts for Android in out/{Debug,Release}/bin
* Fix Android test execution by adding explicit dependency
  on Chromium's base/base.gyp:base_build_config_gen

This roll also solves the compile problem for Mac ASan bots.

Change log: 1d144ca7f8..2a818f5413
Full diff: 1d144ca7f8..2a818f5413

R=magjed@chromium.org
TBR=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/2001173003 .
2016-05-24 11:41:04 +02:00
Niels Möller
caa89bf974 Prune the list of third_party symlinks
BUG=webrtc:5006
R=kjellander@chromium.org, magjed@chromium.org

Review URL: https://codereview.chromium.org/1981883002 .
2016-05-17 12:53:03 +02:00
Henrik Kjellander
361d8b8156 Enable building with Native Client.
This requires you don't have target_os=["ios"] set in your
libyuv root .gclient file, since that will make native_client not
being downloaded due to
https://code.google.com/p/chromium/codesearch#chromium/src/DEPS&l=357

BUG=libyuv:573
TESTED=
rm chromium/.last_sync_chromium
rm chromium/.gclient.tmp_entries
gclient sync
native_client/build/gyp_nacl all.gyp -Dgtest_target_type=executable -Dmsan=0 -Duse_system_yasm=0
ninja -C out/Debug

Review URL: https://codereview.chromium.org/1845003004 .
2016-04-12 06:40:04 +02:00
Henrik Kjellander
46c3d42ca5 Roll chromium_revision 3c45587..8cdf034 + rename libvpx_new
This brings in the renamed libvpx that happened in
https://codereview.chromium.org/1734613003/

TBR=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/1764083002 .
2016-03-04 23:59:35 +01:00
Frank Barchard
810c1791cc symlinks for android launcher
Based on webrtc roll https://codereview.webrtc.org/1503883002

0c2a94ab87
needed the addition of tools/telemetry and third_party/catapult symlinks
for Android.
GN changes required modification of .gn.

Change log: 626eecf..72c3265
Full diff: 626eecf..72c3265

Changed dependencies:
* src/buildtools: 818123d..b747a9e
* src/third_party/boringssl/src: https://boringssl.googlesource.com/boringssl.git/+log/fde89b4..6d9e5a7
DEPS diff: 626eecf..72c3265/DEPS
TBR=jkellander@chromium.org
BUG=libyuv:570

Review URL: https://codereview.chromium.org/1709193002 .
2016-02-18 15:30:23 -08:00
Frank Barchard
be4d445e8c Add libyuv_unittest_apk target to run tests on Android
Roll chromium_revision bfea27a..bb79186 (340499:353481) in DEPS.
Changes: bfea27a..bb79186

To get the Android dependencies, you need to have
target_os = ["android"];
added to the end of your .gclient file (after the solution specs)
+ re-run gclient sync.
You'll also need to run: build/install-android-sdks.sh

Then build and run the test with something like this:
GYP_CROSSCOMPILE=1 GYP_DEFINES="OS=android component=static_library target_arch=arm" ./gyp_libyuv
ninja -C out/Release libyuv_unittest_apk
util/android/test_runner.py gtest -s libyuv_unittest --verbose --release

R=fbarchard@chromium.org

Review URL: https://codereview.chromium.org/1398383003 .
2015-10-12 16:29:14 -07:00
Frank Barchard
2fb6fd74be [Android] Remove reference to third_party/android_testrunner.
Deleting in https://codereview.chromium.org/1290173003

BUG=chromium:267773
R=harryjin@google.com

Review URL: https://webrtc-codereview.appspot.com/54849004.
2015-08-19 16:13:27 -07:00
Frank Barchard
ef8cb9b0db Roll chromium_revision to same as webrtc to resolve build issue on ios.
This CL mimics https://codereview.webrtc.org/1145343009/ which updated set_links for ios.

R=harryjin@google.com
BUG=libyuv:456
TESTED=try bots

Review URL: https://webrtc-codereview.appspot.com/50309004.
2015-06-29 12:05:33 -07: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
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
2114d196f8 Update Chromium sync scripts for WebRTC r7222 changes
https://code.google.com/p/webrtc/source/detail?r=7222 contains
a few fixes for edge cases when moving back and forth with
Chromium DEPS.

TBR=fbarchard@google.com
BUG=

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

git-svn-id: http://libyuv.googlecode.com/svn/trunk@1090 16f28f9a-4ce2-e073-06de-1de4eb20be90
2014-09-23 12:53:42 +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