Commit Graph

333 Commits

Author SHA1 Message Date
kjellander@webrtc.org
561a9eccc5 Update checkedeps.py rules in DEPS.
Add allow-rules as well in addition to the
disallow-rule in r7014.

BUG=
TBR=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7020 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-02 09:39:35 +00:00
kjellander@webrtc.org
7e86049d21 Roll chromium_revision 681cc8e..f0a439d (r292217:r292861)
Mainly to pick up https://codereview.chromium.org/500423004/
that enables us to build the Android APK tests from
a standalone checkout.

Other changes:
* tools/swarming_client to e7d8b988423ff1966d64db3ef7ca766296f9b0c1
* third_party/boringssl to 6c7aed048ca0a335e02dfee10976c5dc8620783e
* third_party/icu 527ea2dd86afa2751a85d1cc4695f9e2e2d18022 (r291706)
* third_party/libjpeg_turbo to 2ed5319 (r291725)
* third_party/libvpx 563c46b:982d147 (r291661:r291730)
* third_party/nss to 90c5f9a8b8980fe60165813f578bbeb4fe20b18d

Trybot failures at Android trybots are expected, since
they're currently in a bad state since they in the middle
of being reconfigured, partially pending this CL.

BUG=webrtc:3741
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7015 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-01 11:41:56 +00:00
kjellander@webrtc.org
3bd4156d75 Android APK tests built from a normal WebRTC checkout.
Restructure how the Android APK tests are compiled now
that we have a Chromium checkout available (since r6938).

This removes the need of several hacks that were needed when
building these targets from inside a Chromium checkout.
By creating a symlink to Chromium's base we can compile the required
targets. This also removes the need of the previously precompiled
binaries we keep in /deps/tools/android at Google code.

All the user needs to do is to add the target_os = ["android"]
entry to his .gclient as described at
https://code.google.com/p/chromium/wiki/AndroidBuildInstructions

Before committing this CL, the Android APK buildbots will need
to be updated.
This also solves http://crbug.com/402594 since the apply_svn_patch.py
usage will be similar to the other standalone bots.
It also solves http://crbug.com/399297

BUG=chromium:399297, chromium:402594
TESTED=Locally compiled all APK targets by running:
GYP_DEFINES="OS=android include_tests=1 enable_tracing=1" gclient runhooks
ninja -C out/Release

checkdeps

R=henrike@webrtc.org, tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7014 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-01 11:06:37 +00:00
marpan@webrtc.org
2dbb47abb4 Roll chromium_revision b1748b:681cc8
Pick the libvpx roll: https://codereview.chromium.org/513593002

BUG=3747
R=andrew@webrtc.org
TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6993 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-28 02:32:45 +00:00
kjellander@webrtc.org
c23923447c Roll chromium_revision 289723:291647
To pick up recent fixes after the Chromium Git switch.

Relevant changes pulled in by this roll:
* r291168 refactor sanitizer_options (we can now remove some hacks)
* r291647 roll of nss.gyp (its paths work with how we build for iOS).

BUG=2863,3731
R=iannucci@chromium.org, tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6967 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-25 14:16:32 +00:00
kjellander@webrtc.org
8925662318 Make WebRTC work with Chromium Git checkouts
WebRTC standalone shares a lot of dependencies and build
tools with Chromium. To make the build work, many of the
paths of a Chromium checkout is now emulated by creating
symlinks to files and directories.

All DEPS entries that previously used Var("chromium_trunk")
to reference a Chromium checkout or From("chromium_deps"..)
to reference the Chromium DEPS file are now removed and
replaced by symlink entries in setup_links.py.

The script also handles cleanup of the legacy
Subversion-based dependencies that's needed for the
transition.

Windows: One Windows-specific important change is that
gclient sync|runhooks must now be run from a shell
with Administrator privileges in order to be able to create
symlinks. This also means that Windows XP is no longer
supported.

To transition a previously created checkout:
Run "python setup_links.py --force" to cleanup the old
SVN-based dependencies that have been synced by gclient sync.
For Buildbots, the --force flag is automatically enabled for
their syncs.

BUG=2863, chromium:339647
TEST=Manual testing on Linux, Mac and Windows.
R=andrew@webrtc.org, iannucci@chromium.org, phoglund@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6938 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-20 12:10:11 +00:00
kjellander@webrtc.org
58c1c98d3b Remove DEPS reference to third_party/clang_format
Clang format has moved into Chromium's src/buildtools
and the last traces from third_party/clang_format were
removed in http://crrev.com/285030.

This removes it from the WebRTC checkouts as well (it is
now an tree of empty directories).

Our DEPS entry for removing the old binaries from pre-move
into src/buildtools was removed in
https://code.google.com/p/webrtc/source/detail?r=6788

BUG=
R=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6936 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-20 10:47:47 +00:00
kjellander@webrtc.org
3ea9f578ce Remove unneeded WebKit dependency from DEPS.
This dependency was added in r4173 in order to support
the build/android/run_tests.py script.
In http://crrev.com/217588 that script was removed and
build/android/test_runner.py was the preferred script to
launch Android tests with.
Also in http://crrev.com/279515 the dependency on webkitpy
was removed and replaced by copies of the needed files in
build/android/pylib/utils/.

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6918 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-18 17:09:57 +00:00
kjellander@webrtc.org
34a865a038 Roll chromium_revision 288251:289723
Mainly to pick up the libvpx.gyp change in r288724
to unblock https://webrtc-codereview.appspot.com/16229005/

Overview of changes in Chrome DEPS:
$ svn diff http://src.chromium.org/chrome/trunk/src/DEPS -r 288251:289723
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, that sums up to the following relevant changes:
* src/buildtools 59b932:567f0a
* testing/gtest 643:692
* testing/gmock 410:485
* third_party/boringssl/src 533cbe:c3d796
* third_party/libvpx 287125:289332
* third_party/libyuv 1035:1038
* third_party/nss 287121:289430
* third_party/opus/src 256783:289085
* tools/gyp 1959:1964

BUG=2863, chromium:339647
TEST=Local testing as trybots currently cannot handle DEPS changes properly due to http://crbug.com/385594
R=tommi@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6913 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-16 18:49:55 +00:00
henrike@webrtc.org
6ac22e6b47 Remove more dependencies on openssl, add dependency on boringssl. Continues on r6798
R=andrew@webrtc.org, fbarchard@chromium.org, kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6867 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-11 21:06:30 +00:00
pbos@webrtc.org
923db6a364 Remove remove_old_gn_binaries DEPS entry.
Marked for removal at the end of last month.

R=kjellander@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6826 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-05 16:20:29 +00:00
fbarchard@google.com
b01ce14b13 add some comments about DEPS lkgr for chromium
BUG=none
TESTED=none
R=harryjin@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6821 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-04 18:07:19 +00:00
fbarchard@google.com
901debdad3 roll libyuv to r1038 from r1035 to add gyp define that makes jpeg optional.
BUG=libyuv:346
TESTED=set GYP_DEFINES=target_arch=ia32 libyuv_disable_jpeg=1
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6800 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-29 18:07:07 +00:00
solenberg@webrtc.org
fc8b0871d9 Remove dependency on openssl for android, add dependency on boringssl. Should make Android bots green again.
TBR=hellner

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6798 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-29 15:23:59 +00:00
pbos@webrtc.org
4fe98a9124 Remove clang-format rm_binaries.py DEPS entry.
Breaks runhooks.

BUG=
TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6788 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-25 23:26:09 +00:00
fgalligan@google.com
3155f2b65d Roll chromium 282879:285412.
Pick up the libvpx roll:
https://codereview.chromium.org/401983003/

R=marpan@google.com
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6784 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-25 18:58:26 +00:00
fbarchard@google.com
6823479ad3 Roll libyuv from 1033 to 1035 to get cpuid fix for AVX2 that avoids misdetect causing a crash in AVX2 code on cpus that do not have AVX2.
BUG=libyuv:343
TESTED=libyuv try bots pass
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6685 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-14 23:27:05 +00:00
fgalligan@google.com
d873540101 Roll chromium 282462:282879.
Pick up the libvpx roll:
https://codereview.chromium.org/387003005/

R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6684 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-14 23:14:48 +00:00
tkchin@webrtc.org
b038c72369 Enable SCTP compile for iOS.
Chromium's been updated to pull a version of usrsctplib that will compile correctly. This update DEPS to point at new revision and turn on the compile time flags for iOS sctp.

BUG=3211
R=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6681 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-14 20:24:09 +00:00
henrikg@webrtc.org
0f426685e1 Roll chromium_revision 280876:282462
No significant DEPS changes in this roll, only some changes in how clang_format is downloaded.

clang_format changes based on https://webrtc-codereview.appspot.com/20829004 which was reverted.

R=henrika@webrtc.org
TBR=henrika@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6658 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-11 08:10:19 +00:00
fbarchard@google.com
cb973686e8 roll libyuv to r1033 for clang-cl support on windows.
BUG=chromium:391927
TESTED=manual testing libyuv compiles with clang-cl
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6657 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-10 23:40:15 +00:00
henrikg@webrtc.org
e91ba268e3 Revert 6643 "Revert 6637 "Revert 6636 "Roll chromium_revision 28..."
Ha. Of course if won't work since a newer revision is required that pulls in the GN fix.

> Revert 6637 "Revert 6636 "Roll chromium_revision 280876:281479""
> 
> GN issue should be fixed in http://crrev.com/282138.
> 
> > Revert 6636 "Roll chromium_revision 280876:281479"
> > 
> > Still breaks GN bot.
> > 
> > > Roll chromium_revision 280876:281479
> > > 
> > > No significant DEPS changes in this roll, only some changes in how clang_format is downloaded. clang_format changes based on https://webrtc-codereview.appspot.com/20829004 which was reverted.
> > > 
> > > Review URL: https://webrtc-codereview.appspot.com/19929004
> > 
> > TBR=henrikg@webrtc.org
> > 
> > Review URL: https://webrtc-codereview.appspot.com/14909004
> 
> TBR=henrikg@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/20899004

TBR=henrikg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6644 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-10 07:08:32 +00:00
henrikg@webrtc.org
02dce515d3 Revert 6637 "Revert 6636 "Roll chromium_revision 280876:281479""
GN issue should be fixed in http://crrev.com/282138.

> Revert 6636 "Roll chromium_revision 280876:281479"
> 
> Still breaks GN bot.
> 
> > Roll chromium_revision 280876:281479
> > 
> > No significant DEPS changes in this roll, only some changes in how clang_format is downloaded. clang_format changes based on https://webrtc-codereview.appspot.com/20829004 which was reverted.
> > 
> > Review URL: https://webrtc-codereview.appspot.com/19929004
> 
> TBR=henrikg@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/14909004

TBR=henrikg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6643 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-10 06:56:45 +00:00
henrikg@webrtc.org
e7771d07c8 Revert 6636 "Roll chromium_revision 280876:281479"
Still breaks GN bot.

> Roll chromium_revision 280876:281479
> 
> No significant DEPS changes in this roll, only some changes in how clang_format is downloaded. clang_format changes based on https://webrtc-codereview.appspot.com/20829004 which was reverted.
> 
> Review URL: https://webrtc-codereview.appspot.com/19929004

TBR=henrikg@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6637 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-09 13:15:50 +00:00
henrikg@webrtc.org
543da997f2 Roll chromium_revision 280876:281479
No significant DEPS changes in this roll, only some changes in how clang_format is downloaded. clang_format changes based on https://webrtc-codereview.appspot.com/20829004 which was reverted.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6636 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-09 13:03:39 +00:00
tina.legrand@webrtc.org
d8440f7c45 Have Opus follow Chromium revisions
Before this change, a pinned version of Opus was used in WebRTC. This could lead to WebRTC running a different version of Opus compared to the version used with the corresponding Chromium revision.
This CL pulls in the Opus version the Chromium uses.

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6602 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-04 12:13:08 +00:00
kjellander@webrtc.org
c5e53dde71 Revert 6597 "Roll chromium_revision 280876:281094"
Breaks GN on Linux with errors like this:
[133/485 | 4.471] CC obj/third_party/libjpeg_turbo/simd/simd.jsimd_x86_64.o
FAILED: g++ -MMD -MF obj/out/Debug/gen/library_loaders/libspeechd.libspeechd.o.d -DCHROMIUM_BUILD -DENABLE_ONE_CLICK_SIGNIN -DENABLE_NOTIFICATIONS -DENABLE_EGLIMAGE=1 -DENABLE_BACKGROUND=1 -DUSE_MOJO=1 -DV8_DEPRECATION_WARNINGS -DBLINK_SCALE_FILTERS_AT_RECORD_TIME -DCLD_VERSION=2 -DENABLE_MDNS=1 -DENABLE_PEPPER_CDMS -DENABLE_PLUGINS=1 -DENABLE_PRINTING=1 -DENABLE_FULL_PRINTING=1 -DENABLE_SPELLCHECK=1 -DUSE_UDEV -DTOOLKIT_VIEWS=1 -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_CAIRO=1 -DUSE_CLIPBOARD_AURAX11=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_GLIB=1 -DUSE_NSS=1 -DUSE_X11=1 -DUSE_XI2_MT=2 -DENABLE_WEBRTC=1 -DENABLE_EXTENSIONS=1 -DENABLE_CONFIGURATION_POLICY -DENABLE_TASK_MANAGER=1 -DENABLE_THEMES=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_MANAGED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_REMOTING=1 -DENABLE_GOOGLE_NOW=1 -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DWTF_USE_DYNAMIC_ANNOTATIONS=1 -D_GLIBCXX_DEBUG=1 -I../.. -Igen -fno-strict-aliasing -fstack-protector --param=ssp-buffer-size=4 -m64 -funwind-tables -fPIC -pipe -pthread -Wall -Werror -Wsign-compare -Wendif-labels -Wno-missing-field-initializers -Wno-unused-parameter -fvisibility=hidden -O0 -g2 -fno-threadsafe-statics -fvisibility-inlines-hidden -fno-rtti -fno-exceptions -c gen/library_loaders/libspeechd.cc -o obj/out/Debug/gen/library_loaders/libspeechd.libspeechd.o
In file included from gen/library_loaders/libspeechd.cc:4:0:
../../out/Debug/gen/library_loaders/libspeechd.h:7:54: fatalerror: third_party/speech-dispatcher/libspeechd.h: No such file or directory
compilation terminated.
ninja: build stopped: subcommand failed.

> Roll chromium_revision 280876:281094
> 
> No significant DEPS changes in this roll, only some changes
> in how clang_format is downloaded.
> 
> BUG=
> TEST=Local testing as trybots currently cannot handle DEPS changes properly.
> R=niklas.enbom@webrtc.org
> 
> Review URL: https://webrtc-codereview.appspot.com/20829004

TBR=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6598 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-04 07:53:46 +00:00
kjellander@webrtc.org
cb1df98093 Roll chromium_revision 280876:281094
No significant DEPS changes in this roll, only some changes
in how clang_format is downloaded.

BUG=
TEST=Local testing as trybots currently cannot handle DEPS changes properly.
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6597 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-04 07:31:19 +00:00
kjellander@webrtc.org
11bea8977e GN: Implement BUILD.gn for common_video.
This adds copying of Chromium's third_party/BUILD.gn
to acommondate libyuv's BUILD.gn that imports the 'jpeg'
config from that file.

BUG=3441
TEST=trybots + local compile passing with:
gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default
gn gen out/Default --args="build_with_chromium=false build_libyuv=false" && ninja -C out/Default

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

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6595 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-03 17:04:12 +00:00
marpan@webrtc.org
895698067c Roll chromium 280149:280876.
Pick up the libvpx roll:
https://codereview.chromium.org/367733002/

R=andrew@webrtc.org
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6580 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-02 02:50:05 +00:00
fbarchard@google.com
08564546cb roll libyuv to r1025 for mips n32 support, arm nacl port, psnr tool jpeg support.
BUG=none
TESTED=untested
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6576 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-01 18:17:21 +00:00
andrew@webrtc.org
b3c188f27b Use the libvpx rev from Chromium's DEPS, not the Chromium rev.
R=kjellander@webrtc.org, marpan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6559 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-28 17:49:31 +00:00
marpan@webrtc.org
ee4e466661 Roll libvpx: follow the Chromium revision.
R=andrew@webrtc.org
TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6558 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-27 21:00:22 +00:00
kjellander@webrtc.org
767d98ebff TSan: Move suppressions to source file.
Chromium has deprecated text-file based suppressions for
TSan (v2) and is about to remove the support for it in the
test toolchain in https://codereview.chromium.org/357673002/

This CL moves our suppressions to a source file (based on the
Chromium copy).
It also moves the sanitizer_options.gyp into webrtc/build.

BUG=chromium:302040
TEST=Locally executing all the standalone tests under TSan v2.
R=niklas.enbom@webrtc.org, pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6552 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-27 09:18:51 +00:00
kjellander@webrtc.org
35d46fbe1a Roll chromium_revision 277350:280149
This fixes an error for GN (http://crrev.com/278107)

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

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:
* buildtools 5d8997:fb782d
* third_party/android_tools c6e658:fbd420
* tools/gyp 1927:1944
* tools/swarming_client ae8085:aea506

BUG=3441
TEST=Local compile on most platforms (since trybots currently cannot detect DEPS-changes properly).
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6550 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-27 07:54:02 +00:00
kjellander@webrtc.org
1d1e40f36e Add Chromium's src/buildtools to DEPS.
GN for WebRTC was broken by the depot_tools change in
https://codereview.chromium.org/341533006/ that changes
the gn.py wrapper to use GN in src/buildtools instead of the
previous location in tools/gn/bin.

This buildtools repo was added for Chromium in
https://codereview.chromium.org/281863002 and the hooks were
updated in https://codereview.chromium.org/340153002

This adds the buildtools dir and updates our download hooks.

BUG=webrtc:3441
TEST=Locally running GN (trybots currently cannot handle DEPS changes properly)
R=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6546 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-26 14:02:16 +00:00
fgalligan@google.com
948f768580 Roll libvpx 269083:278497
Match Chromium libvpx roll to fix Android bots.

TBR=ajm@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6521 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-23 15:07:15 +00:00
kjellander@webrtc.org
c70b2f9a54 Add third_party/colorama to DEPS
In the chromium_revision DEPS roll CL
https://review.webrtc.org/12729004/ (r6516) the addition
of the third_party/colorama was missed since our trybots
currently cannot handle DEPS changes in tryjob patches
properly.
Adding third_party/colorama/src fixes the Android build.

TEST=Passing local compile with GYP_DEFINES="OS=android component=static_library fastbuild=1 target_arch=arm"
TBR=andrew@webrtc.org
BUG=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6517 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-21 19:54:15 +00:00
kjellander@webrtc.org
27ab19d9b4 Roll chromium_revision 272489:277350 + fix sanitizer options
Rolling to this new Chromium revision required us to introduce
a sanitizer_options similar to the one in Chromium's base
(see https://code.google.com/p/chromium/codesearch#chromium/src/base/base.gyp&l=977
and https://codereview.chromium.org/238123003) in order
to get the same defaults for ASan and LSan. Without it
compilation will break since LeakSanitizer (LSan) is enabled by
default in Clang r209387 that is pulled with this roll.

I setup so that we pull in the sanitizer_options.cc and
tsan_suppressions.cc files using DEPS, so we don't have to maintain
them separately for now. We can still use our own TSan suppressions.txt
file as we do today with no changes needed.

This roll also brings in http://crrev.com/276676 so we can enable
GN build for WebRTC.

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

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 6fc0e1:c6e658
* third_party/libjpeg_turbo 263594:272637
* third_party/libyuv 1000:1007
* third_party/nss 271760:277057
* tools/gyp 1921:1927
* tools/swarming_client ae8085:aea506

The following also shows that Clang is upgraded from r206824 to r209387:
$ svn diff http://src.chromium.org/chrome/trunk/src/tools/clang/scripts/update.sh -r 272489:277350

BUG=3441
TEST=Trybots are not passing since after the recipe switch, SVN-based try jobs doesn't seem to support auto-detecting that a sync is needed if there's a DEPS change.
R=andrew@webrtc.org, pbos@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6516 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-21 19:30:29 +00:00
fgalligan@google.com
304ca76be1 Revert 6481 and 6482
Revert 6482 "Update webrtc to fix unpack_lib expansion."
Revert 6481 "Update generated asm offsets scripts."

The roll has not been successful. Reverted based on the request of the
committer.


TBR=turaj

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6495 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-19 17:08:46 +00:00
fgalligan@google.com
8f06a8aeb0 Update generated asm offsets scripts.
Libvpx updated the unpack scripts to fix building dependencies.

Roll libvpx 269083:278063
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/
https://codereview.chromium.org/325313007/
https://codereview.chromium.org/346563002/
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 because 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/12789004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6481 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-18 17:38:08 +00:00
turaj@webrtc.org
ec869bf781 Revert 6473 "Update generated asm offsets scripts."
The roll has not been successful. Reverted based on the request of the committer.

> Update generated asm offsets scripts.
> 
> Libvpx updated the unpack scripts to fix building dependencies.
> 
> Roll libvpx 269083:277778
> 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/
> https://codereview.chromium.org/325313007/
> 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 because 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/15809004

TBR=fgalligan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6475 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17 19:07:56 +00:00
jiayl@webrtc.org
e398954658 Update usrsctp to r8875
TBR=pthatcher@webrt.org
BUG=2749

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6474 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17 18:16:08 +00:00
fgalligan@google.com
32196decd6 Update generated asm offsets scripts.
Libvpx updated the unpack scripts to fix building dependencies.

Roll libvpx 269083:277778
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/
https://codereview.chromium.org/325313007/
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 because 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/15809004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6473 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17 17:55:23 +00:00
tina.legrand@webrtc.org
d469443959 Rolling new version of opus.gyp
This roll includes changes that enables FIXED_POINT and -O3 for Opus when building for ARM, for higher speed.

BUG=
R=mflodman@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6465 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17 13:24:48 +00:00
kjellander@webrtc.org
851a09e71a Initial GN work for WebRTC
This CL makes it possible to build the 'webrtc_base'
target using GN.
The majority of our GYP stuff in webrtc/build/common.gypi has been
translated into the configs of webrtc/BUILD.gn.
The webrtc/base/base.gyp file is translated into webrtc/base/BUILD.gn.

This CL depends on https://codereview.chromium.org/322373002/ for the
jsoncpp BUILD.gn file and the ssl config.
To build inside Chromium, https://codereview.chromium.org/321313006/
needs to be landed first.

BUG=webrtc:3441
TEST=
Successful compilation of WebRTC as standalone:
gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default
gn gen out/Default --args="build_with_chromium=false is_clang=true" && ninja -C out/Default
I also ran:
gn gen out/Default --args="build_with_chromium=false have_dbus_glib=true"
but it fails to compile: something is probably wrong with with pkg-config for that.

For Chromium, I symlinked src/third_party/webrtc to the webrtc subfolder of the
WebRTC checkout and applied the following patches:
https://codereview.chromium.org/322373002 (for jsoncpp and ssl config)
https://codereview.chromium.org/321313006 (enable building WebRTC)
Then I built successfully using:
gn gen out/Default && ninja -C out/Default webrtc_base

R=brettw@chromium.org
TBR=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6461 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17 08:54:03 +00:00
wu@webrtc.org
8e256eec4f Revert 6415 "Update generated asm offsets scripts."
> 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

TBR=fgalligan@google.com

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@6423 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-12 23:03:17 +00:00
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