Commit Graph

336 Commits

Author SHA1 Message Date
fgalligan@google.com
27f062ae6f Update generated asm offsets scripts.
This is the same CL as https://webrtc-codereview.appspot.com/16629004/
Relanding and TBR from previous lgtm.

Libvpx updated the unpack scripts to fix building dependencies.

Roll libvpx 269083:275816
See https://codereview.chromium.org/295313002/
https://codereview.chromium.org/298063002/
https://codereview.chromium.org/305533008/
https://codereview.chromium.org/305703002/
https://codereview.chromium.org/298383003/
https://codereview.chromium.org/302863004/
https://codereview.chromium.org/320923003/
for the libvpx changes.

See https://codereview.chromium.org/313243004/
for the WebView changes.

*NOTE* This CL will break the Android bots as they are built in a
Chromium checkout, which will pull in old libvpx DEPS. They will
cycle to green when we roll libvpx into Chromium. We must do the
rolls in this order becuase we have to land webrtc and libvpx at
the same time into Chromium.

BUG=377062
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6415 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-12 14:59:28 +00:00
kjellander@webrtc.org
7e3d62d709 Revert 6411 "Revert 6407 "Revert 6405 "Update generated asm offs..."
Turns out the previous revert was based on invalid assumptions.
The libvpx in Chromium was reverted in 
http://chromegw.corp.google.com/viewvc/chrome?view=rev&revision=271259
which ends up with libvpx r269083. Therefore we should restore
that same libvpx revision for WebRTC, which this revert will do.

> Revert 6407 "Revert 6405 "Update generated asm offsets scripts.""
> 
> > Revert 6405 "Update generated asm offsets scripts."
> > 
> > TBR=fgalligan@google.com
> > BUG=N/A
> > 
> > Review URL: https://webrtc-codereview.appspot.com/20639004
> 
> TBR=henrike@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/15739004

TBR=minyue@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6413 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-12 11:07:07 +00:00
minyue@webrtc.org
c01cc3d3a8 Revert 6407 "Revert 6405 "Update generated asm offsets scripts.""
> Revert 6405 "Update generated asm offsets scripts."
> 
> TBR=fgalligan@google.com
> BUG=N/A
> 
> Review URL: https://webrtc-codereview.appspot.com/20639004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6411 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-12 08:48:34 +00:00
henrike@webrtc.org
286cd7683c Revert 6405 "Update generated asm offsets scripts."
TBR=fgalligan@google.com
BUG=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6407 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-12 00:38:32 +00:00
fgalligan@google.com
4aeb94186a Update generated asm offsets scripts.
Libvpx updated the unpack scripts to fix building dependencies.

Roll libvpx 269083:275816
See https://codereview.chromium.org/295313002/
https://codereview.chromium.org/298063002/
https://codereview.chromium.org/305533008/
https://codereview.chromium.org/305703002/
https://codereview.chromium.org/298383003/
https://codereview.chromium.org/302863004/
https://codereview.chromium.org/320923003/
for the libvpx changes.

See https://codereview.chromium.org/313243004/
for the WebView changes.

BUG=377062
R=andrew@webrtc.org, michaelbai@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6405 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-11 17:12:51 +00:00
kjellander@webrtc.org
31f967c611 Fix Dr Memory download
In http://crrev.com/275232 the drmemory.DEPS directory was removed
since the Chromium bots have moved over to download from Google
Storage (http://crrev.com/275048).
This CL changes WebRTC to use the same approach.

Ideally the revision for the Dr Memory DEPS entry should use the
chromium_revision variable, but when I tried to roll to that revision
in https://review.webrtc.org/19679004/ I ran into errors with leaks
being detected in the compile step on the Linux ASan bot.
This CL allows our Dr Memory bots to go green while investigating this.

BUG=chromium:381366
TEST=Passing Win Dr Memory trybots.
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6366 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-09 07:30:37 +00:00
solenberg@webrtc.org
c6db88b0cf Make it possible to build webrtc for arm64.
- Bump revision of protobuf lib
- Remove -Wextra for arm64 gcc targets (warnings in stlport)
- Add MemoryBarrier implementation in single_rw_fifo.cc.
- [pending 15619004]: Bump revision of /deps/tools/android to get md5sum_bin for arm64.

BUG=chromium:354405,chromium:354539
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6330 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-04 17:15:42 +00:00
sprang@webrtc.org
6e732c6765 Revert 6272 "Update generated asm offsets scripts."
Revert since it fails webrtc-in-chromium Android bots.

> Update generated asm offsets scripts.
>
> Libvpx updated the unpack scripts to fix building dependencies.
>
> Roll libvpx 269083:273304
> See https://codereview.chromium.org/295313002/
> https://codereview.chromium.org/298063002/
> https://codereview.chromium.org/305533008/
> https://codereview.chromium.org/305703002/
> https://codereview.chromium.org/298383003/
> https://codereview.chromium.org/302863004/
> for the libvpx changes.
>
> BUG=377062
> R=andrew@webrtc.org, michaelbai@chromium.org
>
> Review URL: https://webrtc-codereview.appspot.com/12579008

TBR=fgalligan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6282 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-30 09:19:03 +00:00
fgalligan@google.com
2a8efa8971 Update generated asm offsets scripts.
Libvpx updated the unpack scripts to fix building dependencies.

Roll libvpx 269083:273304
See https://codereview.chromium.org/295313002/
https://codereview.chromium.org/298063002/
https://codereview.chromium.org/305533008/
https://codereview.chromium.org/305703002/
https://codereview.chromium.org/298383003/
https://codereview.chromium.org/302863004/
for the libvpx changes.

BUG=377062
R=andrew@webrtc.org, michaelbai@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6272 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-29 17:08:34 +00:00
marpan@webrtc.org
0ef565ee7d Roll libvpx 267596:269083
R=andrew@webrtc.org
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6255 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-27 21:13:52 +00:00
fischman@webrtc.org
4610f1d427 Roll chromium_revision 266514:272489
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6240 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-23 20:56:12 +00:00
turaj@webrtc.org
e14ffaa40b Update DEPS to pull r6096 changes to third_party/openmax_dl/dl/dl.gyp
BUG=
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6098 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-09 21:40:23 +00:00
tina.legrand@webrtc.org
cfb18dd7a3 Rolling new version of Opus.gyp
The new version enables optimizations on iOS.

BUG=
R=henrik.lundin@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6060 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-06 11:57:01 +00:00
fischman@webrtc.org
e3a628997f Roll libvpx 264320:267596
BUG=3038
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6040 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-02 00:04:20 +00:00
turaj@webrtc.org
560dce5d48 Pull openmax into third_party.
BUG=
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6037 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-01 18:53:51 +00:00
kjellander@webrtc.org
59343ee3d8 Roll chromium_revision 260462:266514
Unfortunately needs to introduce yet another workaround
script for the Visual Studio toolchain download.

This will resolve the failures with our Dr Memory Full bot
(see https://code.google.com/p/chromium/issues/detail?id=366637#c2
for details). Long term, I'm considering a better approach
than using the added gclient solution pointing at
svn://svn-mirror.golo.chromium.org/chrome/trunk/deps/third_party/drmemory/drmemory.DEPS
i.e. add an entry that we roll separately in our DEPS file
instead. However, the Dr Memory team assured that changes
in their reporting format like this are rare.

Thanks fischman@ for the video_render.gypi fix!
Thanks kma@ for the transform_neon.S fix even if it turned out
not to be needed right now (probably will come back).

BUG=chromium:366637
TEST=git try -t compile
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6010 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-29 09:36:40 +00:00
andrew@webrtc.org
2eceb8ef46 Roll third_party/opus 258909:262302
Suppresses the nanny "not-optimized" warning.

TBR=minyue
BUG=2864

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5982 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-25 15:29:33 +00:00
fbarchard@google.com
3dfabf928c libyuv r1000 roll for DEPS update to new chromium moving location of gold linker on linux.
BUG=libyuv:323
TESTED=try bots
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5947 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-21 22:06:06 +00:00
marpan@webrtc.org
b476d36120 Roll libvpx 259973:264320
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5932 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-17 20:35:03 +00:00
fischman@webrtc.org
ca539bbed0 iOS: baby steps to being able to include_tests=1
- pull iossim in DEPS even when on mac (because bug 2152)
- fix audio_device_test_api.cc's use of bool instead of bool* (!)
- move unused-on-mobile message to non-mobile-only section of
  hardware_before_streaming_test.cc

BUG=3185
R=kjellander@webrtc.org, niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5914 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-15 20:26:41 +00:00
kjellander@webrtc.org
d10bdd3f78 Roll chromium_revision 255773:260462
This disables GN use for the moment (Chromium
has disabled it for now but plan to pick up the
work at a later stage). I'm leaving the rest of
the GN stuff in our DEPS since that's how
the Chromium DEPS currently looks like.

Overview of changes in Chrome DEPS:
$ svn diff http://src.chromium.org/chrome/trunk/src/DEPS -r 255773:260462

which can be compared with the output of:
$ svn cat http://webrtc.googlecode.com/svn/trunk/DEPS | grep chromium_deps | sed 's/^ *//' | sort | uniq

in a WebRTC checkout, gives the following relevant changes:
* third_party/android_tools 0582bd:ca3567
* third_party/icu 249466:259309
* third_party/libjpeg_turbo 251747:259851
* third_party/libyuv 979:986
* third_party/nss 254867:259440
* tools/gyp 1860:1880

The following also shows that Clang is upgraded from r198389 to r202554:
$ svn diff http://src.chromium.org/chrome/trunk/src/tools/clang/scripts/update.sh -r 255773:260462

TEST=trybots
BUG=None
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5822 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-01 10:40:03 +00:00
fbarchard@google.com
8f8119409d Roll libyuv to 994 for arm64 initial support using C versions of code.
BUG=chromium:354539
TESTED=GYP_DEFINES="OS=ios target_arch=armv7 target_subarch=64" GYP_CROSSCOMPILE=1 GYP_GENERATOR_FLAGS="output_dir=out_ios" ./build/gyp_chromium -f ninja --depth=. libyuv_test.gyp  && ninja -j7 -C out_ios/Debug-iphoneos
R=andrew@webrtc.org, thorcarpenter@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5819 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-31 21:35:01 +00:00
fbarchard@google.com
30cd5b5278 libyuv roll to r986 for c89 fix to cpu_id.
BUG=none
TESTED=cl cpu_id.cc
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5813 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-31 17:28:46 +00:00
fischman@webrtc.org
dd0b99debb Roll libvpx 258445:259973.
- 259973: unbreak iOS simulator build (-mssse3)
- 259953: add a missing file (follow-up to r259946)
- 259946: Disable assembly optimizations in MemorySanitizer builds.
- 259324: disable function level linking when building vp8_asm_enc_offsets.c

BUG=3126
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5803 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-27 22:27:54 +00:00
tina.legrand@webrtc.org
ff7908abfd Roll Opus with ARM optimizations enabled to WebRTC
This CL roll latest Opus changes from Chromium.

The major update is that optimizations are enabled for ARM processors.

BUG=
R=minyue@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5777 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-25 16:12:43 +00:00
sprang@webrtc.org
0f0c992336 Temporarily use older protobuf library.
BUG=3106
R=mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5774 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-25 12:43:58 +00:00
fischman@webrtc.org
9c2bd2b288 Roll libvpx 254609:258445.
Picks up the suppression of -fstack-protector-all on iOS to avoid a crash.

BUG=3067
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5745 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-21 00:20:01 +00:00
fbarchard@google.com
062e6e539f ARGBScale fix for bilinear down sampling overread when source size is odd.
BUG=chromium:352592
TESTED=drmemory on libyuv new unittest scaling unittest.
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5742 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-20 21:44:15 +00:00
kjellander@webrtc.org
6b0cbcba42 Roll chromium_revision 249215:255773
Overview of changes in Chrome DEPS:
$ svn diff http://src.chromium.org/chrome/trunk/src/DEPS -r 249215:255773

which can be compared with the output of:
$ grep chromium_deps DEPS

in a WebRTC checkout, gives the following relevant changes:
* third_party/icu 246118:249466
* third_party/libyuv 978:979
* third_party/libjpeg_turbo 239595:251747
* third_party/libsrtp 214783:250757
* third_party/nss 246067:254867
* tools/clang-format 198831:202065
* tools/gyp 1846:1860

Among a variety of updated DEPS, this enables us to use
the new automatic download of Chromium's stripped down
Visual Studio 2013 toolchain on Windows.

For Windows, Visual Studio 2013 is also the default compiler
in Chrome. This CL sets the GYP_MSVS_VERSION to 2010 unless
otherwise specified. Doing that we can first fix our 2013 problems
before we move over to having 2013 by default.
The plan is to build 2013 at the WebRTC FYI waterfall at
http://build.chromium.org/p/client.webrtc.fyi/waterfall
to ensure we can support VS2013 before the switch.

I realized we can sync Chromium's find_depot_tools.py script
into it's own folder and just alter the PYTHONPATH for the
gyp_webrtc script. That way there's no need to have the dummy
module in webrtc/build anymore. The real script is also needed
for the logic that handles checking VS2013 and downloading it if
not found.

BUG=chromium:340973
TEST=All trybots passing runhooks and compile step.
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5667 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-10 09:51:17 +00:00
marpan@webrtc.org
781146964e Roll libvpx 251850:254609
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5662 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-03-07 22:13:51 +00:00
marpan@webrtc.org
90173e188f Roll libvpx 248011:251850
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5609 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-25 22:09:02 +00:00
kjellander@webrtc.org
607c805b87 Roll chromium_revision 245382:249215
The find_depot_tools.py is needed to workaround the import
error we get from gyp_chromium when importing it in
webrtc/build/gyp_webrtc (to avoid code duplication).
gyp_chromium introduced a dependency on it in
http://crrev.com/245412 but as we cannot sync all of Chrome's
src/tools (it's quite big), we'll work around this by
adding an empty find_depot_tools module.

The removal of the Cygwin relates to
http://crrev.com/248802 which is a step on the way to remove
Cygwin in Chromium. We seem to already be able to remove it
entirely for WebRTC though.

Changes in the isolate framework required us to update our
copies of the isolate.gypi files.

BUG=none
TEST=trybots passing on all platforms
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5512 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-09 18:38:31 +00:00
fbarchard@google.com
60de116687 libyuv.gyp fix for ios sim which is intel not neon, fixing a link error.
BUG=none
TEST=try bots
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5496 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-06 21:17:16 +00:00
marpan@webrtc.org
dfef7ba971 Roll libvpx 241571:248011
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5495 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-06 18:40:35 +00:00
andrew@webrtc.org
36291da197 Pull Chromium's clang-format binaries.
This gets 'git cl format' working again in a standalone webrtc checkout.
It started failing after this depot_tools change:
https://codereview.chromium.org/134313007

Depends on this change:
https://codereview.chromium.org/135653014/

R=pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5483 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-04 01:45:10 +00:00
marpan@webrtc.org
e88c186dbe Revert r5480
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5481 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-04 00:02:35 +00:00
marpan@webrtc.org
e35ecb476b Roll libvpx 241571:248011
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5480 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-02-03 22:53:10 +00:00
kjellander@webrtc.org
7d7f08957c Add gyp_webrtc script to generate projects.
The reason for this is that http://crrev.com/245412
introduces a dependency of Chrome's src/build/gyp_chromium
to src/tools/find_depot_tools.py, which we don't have
synced in WebRTC (src/tools is very big).

Offline discussions shows that we cannot rely on syncing
individual subdirectories from Chrome in the future, but
maintaining our own gyp_webrtc file will at least buy us
some time for now, so we can roll past that chromium_revision
in WebRTC DEPS.

Overview of differences between gyp_webrtc and gyp_chromium
(and how we previously used gyp_chromium):
* No .gyp file needs to be passed (defaults to all.gyp)
* CHROMIUM_GYP_FILE is ignored (i.e. cannot be used to
  specify an alternate .gyp file to process)
* Ninja is used by default on all platforms unless GYP_GENERATORS
  is set.
* Gyp syntax check is always on
* Gyp circular dependency check is always on
* No support for automatic toolchain detection on Windows.
* --depth argument is no longer needed since calculated by
  the script.
* Support for a webrtc.gyp_env file sitting next to the
  .gclient file in the top dir of checkout, which can be
  used to override Gyp variables similar to chromium.gyp_env.
* SKIP_WEBRTC_GYP_ENV can be set to skip reading webrtc.gyp_env.

BUG=2863
TEST=Ran and verified behavior on Linux with:
gclient runhooks
webrtc/build/gyp_webrtc
webrtc/build/gyp_webrtc -Dextra_gyp_flag=0
. build/android/envsetup.sh && gclient runhooks
SKIP_WEBRTC_GYP_ENV=1 webrtc/build/gyp_webrtc
GYP_GENERATORS=make webrtc/build/gyp_webrtc

The patch also passes runhooks and compile step on all trybots.

R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5467 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-31 09:34:51 +00:00
jiayl@webrtc.org
a576faf82a Enable SCTP and use OPENSSL on Anroid and NSS on other platforms.
It includes unit test fixes to properly initialize SSL if DTLS or SSL random number generator is used in the tests.
The private key and certificate constant strings used in some tests are updated to be compatible with NSS.
A few potentially overflow type conversions caused compiling warning on Windows and they are fixed by importing and using Chromium's checked_cast, which aborts the program if overflow occurs.
It also fixes a leak in nssstreamadapter.cc by releasing the PRFileDesc* in StreamClose.

BUG=2253
R=fischman@webrtc.org, juberti@google.com, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5459 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-29 17:45:53 +00:00
minyue@webrtc.org
83dd95432e rolling Opus 1.1
This version contains optimizations needed by WebRTC.

More information about version 1.1 can be found here http://people.xiph.org/~xiphmont/demo/opus/demo3.shtml.

Platform specific optimizations are to be added in a following CL.

TEST=passes all trybots

BUG=
R=kjellander@webrtc.org, tina.legrand@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5449 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-28 08:46:58 +00:00
fbarchard@google.com
69ff90e832 libyuv r976 for MJPGToI420 return code.
BUG=2847
TESTED=libyuv MJPGToI420 unittest added which passes invalid MJPG and expects a failure.
R=andrew@webrtc.org, braveyao@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5446 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-28 03:58:46 +00:00
wjia@webrtc.org
776d8df25f Fix hooks in DEPS to allow read-only checkout to succeed.
The tool download_from_google_storage requires authentication by default.
The test resources doesn't fit in this category. Using "no_auth" also
allows read-only checkout to sync successfully.

R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5442 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-27 19:55:16 +00:00
minyue@webrtc.org
c8b99a49d1 This is to roll a more recent Chromium, which contains latest Clang, so as to be able to roll Opus 1.1, which will the next step.
There are uninitializion problem with normal_asyn_test.cc. This is fairly easy to solve and therefore is included in this CL.

The following is a memo on the selection of the version to roll. It may be a reference for similar missions.

How was this version picked?

1. The whole purpose of this work is to update to Clang to be able to compile Opus 1.1. In Chromium, Clang got updated to 198389 at r244540.

2. From r245412, gyp_chromium requires "tools\find_depot_tools.py". However, WebRTC does not sync up the root of folder "tools". An issue has been created to Chromium on this.

... So the version must be a good version between r244540 and r245411 (inclusive)

BUG=

TEST=passes all trybots
R=kjellander@webrtc.org, stefan@webrtc.org, tina.legrand@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5436 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-27 12:21:42 +00:00
fbarchard@google.com
1d2c034861 libyuv use extern c around jpeg includes. includes fixes to gyp build for intel/mips android, cros arm, ios, and pnacl.
BUG=none
TESTED=try bots
R=andrew@webrtc.org, jzern@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5407 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-21 18:27:05 +00:00
henrike@webrtc.org
7ef7df57d8 Removes script for generating supplement.gypi also adds git ignore for tools/gn.
BUG=N/A
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5403 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-21 15:54:56 +00:00
wjia@webrtc.org
03cfde2d10 Roll Chromium 238260 -> 243863
R=andrew@webrtc.org, henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5385 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-14 17:48:34 +00:00
marpan@webrtc.org
acc05ac7d1 Roll libvpx 232686:241571
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5342 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-06 21:04:22 +00:00
fbarchard@google.com
e667234ee2 libyuv r949 includes changes to allow any width, mainly relating to fixed point math overflows.
BUG=none
TEST=try bots
R=ronghuawu@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5338 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-01-03 18:57:22 +00:00
fbarchard@google.com
2240763ec2 libyuv r930 for RGB24ToUV_NEON improved color accuracy to avoid red tint, and use malloc with variable sized row buffers to avoid stack overflow and relax width restrictions. Previously was limited to 4k on x86 and 1080p on arm. In practice the new limitation is 32767 pixels wide.
BUG=none
TESTED=try bots
R=tpsiaki@google.com, wjia@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5336 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-28 07:00:18 +00:00
fbarchard@google.com
8f99a18119 Port scale and compare functions to pepper_33 and mips.
BUG=none
TEST=validator passes with new toolchain.
R=andrew@webrtc.org, pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5320 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-18 19:51:37 +00:00
fbarchard@google.com
50f7b2da5d roll libyuv to r915 for webview jpeg build fix and NaCL pepper_33 initial support.
BUG=none
TEST=try bots
R=andrew@webrtc.org, pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5308 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-17 18:18:17 +00:00
fbarchard@google.com
9df6674b26 Scale down by 4x with box filter. Fix for 1 pixel wide bilinear filter. Fix for I420ToARGB overread on V plane that causes valgrind fail.
BUG=none
TESTED=gcl try libyuv_r911 --bot=linux_valgrind
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5305 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-17 08:25:31 +00:00
kjellander@webrtc.org
f9bdbe3619 Roll chromium_revision 232627:238260
This brings us the updated swarming_client
that has moved out from Chromium into a standalone
project.
Because of this, all .isolate files needed to be
updated as well, similar to the changes in
https://codereview.chromium.org/29993003

TEST=trybots passing
BUG=none
R=andrew@webrtc.org, perkj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5260 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-11 13:37:12 +00:00
fbarchard@google.com
70ddf9355f libyuv r905 with yuv off by 1 fix for valgrind overread
BUG=none
TEST=valgrind build bots
R=andrew@webrtc.org, mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5246 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-09 18:17:42 +00:00
fbarchard@google.com
4acf4507b8 libyuv roll to r888 with valgrind overread fixes.
BUG=none
TEST=try bots
R=andrew@webrtc.org, mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5242 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-12-06 18:14:11 +00:00
fbarchard@google.com
832bd74cfa libyuv r874 for build improvements on ios/android, and improved YUV scale performance.
BUG=libyuv:288
TESTED=try bots
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5163 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-22 19:30:52 +00:00
marpan@webrtc.org
00ed170795 Roll libvpx 225010:232686.
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5105 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-08 18:37:18 +00:00
fbarchard@google.com
a7855a88b3 Fix for xgetbv on Visual Studio 2010.
BUG=none
TEST=local build of webrtc with 2010.  python build\gyp_chromium --depth=. -G msvs_version=2010 -fninja all.gyp & ninja -C out\Debug
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5092 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-06 21:18:48 +00:00
kjellander@webrtc.org
1e8b671d05 Roll chromium_revision 231713:232627
This will pick up r232015 which fixes an error during
GYP execution when GYP_DEFINES is not set.

TEST=trybots passing compile step.
BUG=none
R=henrika@webrtc.org, mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5083 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-05 12:32:05 +00:00
kjellander@webrtc.org
80174583bd Replace old resources download script with depot_tools
With help from hinoka@, we're now using a more efficient approach
to download only the files that have changed from Google Storge.

When uploading new resource files, use
upload_to_google_storage.py --bucket chromium-webrtc-resources ./filename
which of course requires gsutil authentication setup.

NOTICE: Before deploying this, svn:ignore should be removed for
the resources folder, or the bots will run into problems with a
non-versioned file being found in the checkout during sync (as
this CL adds resources to version control).

All developers will also need to be informed to wipe their local
resources dir to avoid getting an error during checkout due to the
already existing non-versioned resources directory.

BUG=2294
TEST=locally running gclient runhooks
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5076 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-04 12:07:57 +00:00
kjellander@webrtc.org
58bcdeee2c Roll chromium_revision 229708:231713
Recent changes in how the build dir is used for bots
(see https://codereview.chromium.org/38873003 for details)
requires us to roll to a more recent version
of Chromium to get our android_apk trybot back into
a working state.

This roll needs to be landed at the same time as the
client.webrtc and tryserver.webrtc masters are updated
with the changes in https://codereview.chromium.org/53283002

TEST=trybots passing (except the iOS ones since they require
the above change to be applied to be able to compile)
BUG=2560
R=fischman@webrtc.org, niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5074 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-11-04 09:40:03 +00:00
wu@webrtc.org
ec4cccc6b6 Update libyuv to 832.
R=fbarchard@google.com, niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5052 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-29 21:02:20 +00:00
wu@webrtc.org
97077a3ab2 Update libjingle to 55618622.
Update libyuv to r826.

TEST=try bots
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5038 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-25 21:18:33 +00:00
kjellander@webrtc.org
06b60c07b7 Roll chromium_revision 228675:229708
This will pick up the -Wunused-const-variable
Clang warning being enabled by default (chromium:307668).

BUG=none
TEST=trybots passing.
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5014 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-22 12:09:48 +00:00
kjellander@webrtc.org
3555303cb0 Roll chromium_revision 226126:228675 and fix clang warnings
By request from thakis@chromium.org, I disabled the
-Wno-unused-const-variable setting that is set in Chromium's
common.gypi so we can prepare our code for it's removal.

This required some cleanup in order to get the code to compile
with Clang having the -Wunused-const-variable warning enabled.

TEST=all trybots passing
BUG=none
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4966 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-15 20:10:17 +00:00
kjellander@webrtc.org
4c61792600 Add SyzyASan to DEPS
This will make it possible to run our tests under ASan
on Windows.

BUG=2491
TEST=local builds with this DEPS added makes it possible to use
the buildbot code available out-of-the-box.

R=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4950 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-10 11:56:09 +00:00
wu@webrtc.org
d241718e17 Increase base Chromium revision to get an update to libnss.
The function signature of SSL_PeerCertificateChain in libnss
was changed by https://codereview.chromium.org/25107004/ ,
and webrtc now uses that function when linked to libnss.

TBR=bemasc

A clone of https://webrtc-codereview.appspot.com/2372004/. Tried by Ben.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4943 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-08 22:11:40 +00:00
kjellander@webrtc.org
495f29ef94 Remove unused Android dummy APK
This is a leftover from our initial Android efforts.
It is not used anywhere and is only confusing to keep around.

The Android precompiled tools in http://review.webrtc.org/2353004/
still have some use when testing Android devices on Mac, so we'll
keep them around by request from henrike@

TEST=none
BUG=none
R=andrew@webrtc.org, henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4927 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-04 19:33:48 +00:00
fischman@webrtc.org
1d731e498e Roll chromium_revision 224141:226099 to pick up jsoncpp fix for ARM
BUG=1777
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4893 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-10-01 17:29:42 +00:00
kjellander@webrtc.org
287f07b174 Add sharding_supervisor to DEPS to prepare for swarm/isolated testing.
This component is now needed in addition to the swarm_client.

BUG=1916
TEST=I've run bots with this locally synced.
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4863 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-27 16:57:10 +00:00
fischman@webrtc.org
3223a3d4ee Roll libvpx 212975:225010 to pick up iOS Release fixes
BUG=2332
R=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4861 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-26 15:59:48 +00:00
fischman@webrtc.org
ccddd0a941 Roll webrtc's chromium_revision 217707:224141
Also adds -lm for executables depending on isac since the newer clang in the
newer chromium revision requires it, and -lstdc++ for dependencies of the objc lib because newer gyp links with gcc instead of g++ for non-C++-containing libs.

R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4795 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-09-19 20:27:32 +00:00
mikhal@webrtc.org
0b960cf7a1 Libjpeg is needed for Libyuv
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4647 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-30 16:30:53 +00:00
mikhal@webrtc.org
cf61bee5a2 Removing JPEG as it is not used.
BUG= 2322
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4646 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-30 16:00:08 +00:00
kjellander@webrtc.org
bfde359b15 Revert accidental checkin of DEPS
git-svn-id: http://webrtc.googlecode.com/svn/trunk@4642 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-29 13:11:38 +00:00
kjellander@webrtc.org
c520fc9d97 Add svn:ignore on dirs that shouldn't be wiped during gclient revert
This will speed up our buildbots and trybots since it also enables
incremental builds again (currently out/ was wiped for each build).

The Chromium toolchain somehow has changed behavior, since the out/
dir didn't use to be wiped. This change should get faster builds
back again.



git-svn-id: http://webrtc.googlecode.com/svn/trunk@4641 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-29 13:10:21 +00:00
kjellander@webrtc.org
3365422c41 Isolate GYP target and .isolate files for tests
This is a re-land attempt of http://review.webrtc.org/1673004/
It now includes a build/isolate.gypi in WebRTC that includes the same
file as the one that would be included when WebRTC is used in a Chromium
checkout. It is needed since it is not possible to use variables in GYP's
includes sections.

Implemented according to the instructions at
http://www.chromium.org/developers/testing/isolated-testing

Workflow has been like this:
1. create _run GYP target
2. create a stripped down .isolate file
3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
4. runhooks
5. compile
6. test if the test would run (i.e. find it's dependencies) without
   actually executing it:
   tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
7. If failing, run the fix_test_cases.py script like this:
   tools/swarm_client/googletest/fix_test_cases.py --isolated out/Release/testname.isolated

All tests that run on the bots for WebRTC has got _run target
and .isolate file created.

"Normal tests" that run fine on any machine:
* audio_decoder_unittests
* common_audio_unittests
* common_video_unittests
* metrics_unittests
* modules_tests
* modules_unittests
* neteq_unittests
* system_wrappers_unittests
* test_support_unittests
* tools_unittests
* video_engine_core_unittests
* voice_engine_unittests

Tests that requires bare-metal and audio/video devices:
* audio_device_tests
* video_capture_tests

I also added the isolate boilerplate code for the following
tests that are not yet pure gtest binaries (which means they
cannot run isolated yet):
* video_render_tests
* vie_auto_test
* voe_auto_test

TEST=running isolate.py as described above. WebRTC trybots passing. Created a Chromium checkout with third_party/webrtc ToT and this patch applied, passing the runhooks step.
BUG=1916
R=henrike@webrtc.org, tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4590 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-22 07:57:00 +00:00
kjellander@webrtc.org
cbdb9d1c69 Add comment about updating webrtc.DEPS when rolling gflags
BUG=none
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4575 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-20 16:18:35 +00:00
pbos@webrtc.org
62e5af4425 Use a sourceforge_url for jsoncpp in DEPS.
BUG=
R=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4571 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-20 09:19:16 +00:00
henrike@webrtc.org
7238e5f708 Fixes broken deps. Jsoncpp has moved from http://jsoncpp.svn.sourceforge.net to http://svn.code.sf.net
R=pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4570 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-19 18:55:54 +00:00
fischman@webrtc.org
dde7d4c6ed Roll chromium_revision 214260:217707 and gflags 45:84
gflags roll is needed mostly to pick up fixes for warnings triggered by newer
compiler/settings pulled in by the chromium roll.  Had to switch from the old
google-gflags project the current gflags project to pick up this fix (see
https://code.google.com/p/gflags/source/detail?r=74 for details).

Update android build.xml file to reflect tools moves in new SDK pulled in by the chromium_revision roll.

R=niklas.enbom@webrtc.org, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4555 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 23:31:30 +00:00
kjellander@webrtc.org
4298f73031 Revert 4547 "Isolate GYP target and .isolate files for tests"
As this breaks the FYI bots in 
http://build.chromium.org/p/chromium.webrtc.fyi/waterfall
due to different path to isolate.gypi (which cannot easily
be resolved due to limitations in GYP)

> Isolate GYP target and .isolate files for tests
> 
> Implemented according to the instructions at
> http://www.chromium.org/developers/testing/isolated-testing
> 
> Workflow has been like this:
> 1. create _run GYP target
> 2. create a stripped down .isolate file
> 3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
> 4. runhooks
> 5. compile
> 6. test if the test would run (i.e. find it's dependencies) without
>    actually executing it:
>    tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
> 7. If failing, run the fix_test_cases.py script like this:
>    tools/swarm_client/fix_test_cases.py --isolated out/Release/testname.isolated
> 
> All tests that run on the bots for WebRTC has got _run target
> and .isolate file created.
> 
> "Normal tests" that run fine on any machine:
> * audio_decoder_unittests
> * common_audio_unittests
> * common_video_unittests
> * metrics_unittests
> * modules_integrationtests
> * modules_unittests
> * neteq_unittests
> * system_wrappers_unittests
> * test_support_unittests
> * tools_unittests
> * video_engine_core_unittests
> * voice_engine_unittests
> 
> Tests that requires bare-metal and audio/video devices:
> * audio_device_integrationtests
> * video_capture_integrationtests
> 
> I also added the isolate boilerplate code for the following
> tests that are not yet pure gtest binaries (which means they
> cannot run isolated yet):
> * video_render_integrationtests
> * vie_auto_test
> * voe_auto_test
> 
> TEST=running isolate.py as described above.
> BUG=1916
> R=tommi@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1673004

TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4548 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 11:29:58 +00:00
kjellander@webrtc.org
d7a4d235d2 Isolate GYP target and .isolate files for tests
Implemented according to the instructions at
http://www.chromium.org/developers/testing/isolated-testing

Workflow has been like this:
1. create _run GYP target
2. create a stripped down .isolate file
3. export GYP_DEFINES="$GYP_DEFINES test_isolation_mode=check"
4. runhooks
5. compile
6. test if the test would run (i.e. find it's dependencies) without
   actually executing it:
   tools/swarm_client/isolate.py run --isolated out/Release/testname.isolated
7. If failing, run the fix_test_cases.py script like this:
   tools/swarm_client/fix_test_cases.py --isolated out/Release/testname.isolated

All tests that run on the bots for WebRTC has got _run target
and .isolate file created.

"Normal tests" that run fine on any machine:
* audio_decoder_unittests
* common_audio_unittests
* common_video_unittests
* metrics_unittests
* modules_integrationtests
* modules_unittests
* neteq_unittests
* system_wrappers_unittests
* test_support_unittests
* tools_unittests
* video_engine_core_unittests
* voice_engine_unittests

Tests that requires bare-metal and audio/video devices:
* audio_device_integrationtests
* video_capture_integrationtests

I also added the isolate boilerplate code for the following
tests that are not yet pure gtest binaries (which means they
cannot run isolated yet):
* video_render_integrationtests
* vie_auto_test
* voe_auto_test

TEST=running isolate.py as described above.
BUG=1916
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4547 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-15 10:02:06 +00:00
fischman@webrtc.org
1bc1954174 AppRTCDemo: builds using ninja on iOS for simulator and device!
Things included in this CL:
- updated READMEs to provide an exact/reproable set of steps for getting the app
  running.
- gyp changes to build the iOS AppRTCDemo sample app using gyp+ninja instead of
  the hand-crafted Xcode project (which has never worked in its checked-in
  form), including a gyp action to sign the sample app for deployment to an iOS
  device (the app can also be used in the simulator)
- deleted the busted hand-crafted Xcode project for the sample app
- updated the sample app to match the PeerConnection API that ended up landing
  (in a surprising twist of fate, the API landed quite a bit later than the
  sample app and this is the first time the CR-time changes in the API are
  reflected in the sample app)
- updated the sample app to reflect apprtc.appspot.com HTML/JS changes (equiv to
  the AppRTCClient.java changes in http://s10/47299162)
- picked up the iossim DEPS to enable launching the sample app in the simulator
  from the command-line.
- renamed some files to match capitalization of the classes they contain (Ice ->
  ICE) per ObjC naming guidelines.
- ran the files involved in this CL through clang-format to deal with xcode
  formatting craxy.

BUG=2106
RISK=P2
TESTED=unittest builds with ninja and passes on OS=mac; sample app builds with ninja and runs on simulator and device, though no audio flows from simulator/device (will fix in a follow-up CL)
R=andrew@webrtc.org, justincohen@google.com, wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4466 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-01 18:29:45 +00:00
fischman@webrtc.org
3d496fb046 Roll chromium_revision 205140:214260 to pick up build fixes for ninja iOS device build.
TESTED=git try
BUG=2106
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4431 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-30 17:14:35 +00:00
fischman@webrtc.org
e691b4f952 Roll libvpx 211873:212975 to pick up build fixes for ninja iOS device build.
(this originally landed in r4391 and was reverted in r4399 on suspicion of
breaking the mac bots; relanding just libvpx without rolling chromium to isolate
the problem).

BUG=2106
R=marpan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4405 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-25 21:22:41 +00:00
fischman@webrtc.org
6439afce5b Revert 4403 "Roll chromium_revision 205140:212975 to pick up bui..."
Broke bot: http://chromegw.corp.google.com/i/client.webrtc/builders/Mac32%20Release/builds/312

> Roll chromium_revision 205140:212975 to pick up build fixes for ninja iOS device build.
> 
> (this originally landed in r4391 and was reverted in r4399 on suspicion of
> breaking the mac bots; relanding just the chromium roll without rolling libvpx
> to isolate the problem).
> 
> BUG=2106
> R=marpan@google.com
> 
> Review URL: https://webrtc-codereview.appspot.com/1878004

TBR=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4404 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-25 21:02:21 +00:00
fischman@webrtc.org
60e4b0e472 Roll chromium_revision 205140:212975 to pick up build fixes for ninja iOS device build.
(this originally landed in r4391 and was reverted in r4399 on suspicion of
breaking the mac bots; relanding just the chromium roll without rolling libvpx
to isolate the problem).

BUG=2106
R=marpan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4403 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-25 20:49:59 +00:00
turaj@webrtc.org
c46967dc53 Revert 4391 "Roll chromium 205140:212975 to support ninja iOS ar..."
r4391 results in Mac Release Bot fail: http://chromegw/i/internal.client.webrtc/builders/Mac32%20Release/builds/334/steps/modules_integrationtests


> Roll chromium 205140:212975 to support ninja iOS armv7 build.
> 
> In particular, picks up new clang, libvpx, libsrtp, yasm, and gyp.
> 
> TESTED=git try on patchset #1
> BUG=2106
> R=henrike@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1849005

TBR=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4399 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-25 17:48:24 +00:00
fischman@webrtc.org
87f8a7eb67 Roll chromium 205140:212975 to support ninja iOS armv7 build.
In particular, picks up new clang, libvpx, libsrtp, yasm, and gyp.

TESTED=git try on patchset #1
BUG=2106
R=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4391 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-24 20:15:43 +00:00
henrike@webrtc.org
8d27a1c723 Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
BUG=1932
TESTED=git try
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4385 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 18:15:11 +00:00
henrike@webrtc.org
5c280ecd57 Revert 4382 "Makes webrtc and libjingle build from the same gyp-..."
Failures: breaks build bots. Will have to disable Android NDK build for libjingle. The TSAN issues are in webrtc which should be unaffected. Flakey? Here are the failing tests:
 http://chromegw/i/internal.client.webrtc/builders/Android%20NDK/builds/303 and http://chromegw/i/internal.client.webrtc/builders/Linux%20Tsan/builds/284

> Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
> 
> BUG=1932
> TESTED=git try
> R=andrew@webrtc.org, fischman@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1836004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4383 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 03:30:32 +00:00
henrike@webrtc.org
5fcddf2334 Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches. Also disables 64 bit Mac builds for libjingle
BUG=1932
TESTED=git try
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4382 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-23 00:27:43 +00:00
marpan@webrtc.org
dd02935d5d Roll libvpx to 211873.
-pickup public roll to: 33149cbb

TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4376 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-19 21:05:45 +00:00
henrike@webrtc.org
0df5b8dfa6 Revert 4372 "Makes webrtc and libjingle build from the same gyp-..."
> Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches.
> 
> TESTED=git try
> BUG=1932
> R=andrew@webrtc.org, fischman@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1804004

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4373 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-18 18:58:29 +00:00
henrike@webrtc.org
4e4bf4db8b Makes webrtc and libjingle build from the same gyp-file. Also, the libjingle and webrtc DEPS revisions were mismatching. This cl takes the most recent revision of mismatches.
TESTED=git try
BUG=1932
R=andrew@webrtc.org, fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4372 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-18 18:33:55 +00:00
yujie.mao@webrtc.org
9f07ea4c8a Roll tools/android 4235:4258, to pick up an x86 md5sum_bin binary
BUG=None
TEST=Trybots passing
R=fischman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4370 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-18 01:57:04 +00:00
marpan@webrtc.org
ca35c19e5a Roll libvpx to 208227.
-pick up libvpx roll to 93f88ab.

TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4340 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-12 21:08:26 +00:00
henrike@webrtc.org
34773d9b6b Unreverts revert: Makes it possible to find files used by some unit tests when running them as Chrome native tests.
TBR=andrew@webrtc.org

BUG=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4303 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-08 14:55:23 +00:00
pbos@webrtc.org
db7d82f26f Revert 4298 "Makes it possible to find files used by some unit t..."
> Makes it possible to find files used by some unit tests when running them as Chrome native tests.
> 
> BUG=N/A
> R=andrew@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/1749004

Broke Android NDK/Android.mk builds.

TBR=henrike@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@4299 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-05 08:49:09 +00:00