summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)Author
2014-10-07Remove potential deadlock in WebRtcVideoEngine2.pbos@webrtc.org
Fixes lock-order inversions between capturer's SignalVideoFrame and WebRtcVideoSendStream. Additionally also removes all deadlock suppressions for WebRtcVideoEngine2. R=stefan@webrtc.org TBR=kjellander@webrtc.org BUG=1788,2999 Review URL: https://webrtc-codereview.appspot.com/26729004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7386 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-07Isolate: Remove use of --ignore_broken_itemskjellander@webrtc.org
BUG=chromium:395700 R=jam@chromium.org Review URL: https://webrtc-codereview.appspot.com/30659004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7383 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-10-06Mac: adds missing _DEBUG flag to mac debug builds.henrike@webrtc.org
BUG=3836 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/25769004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7377 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-30Changed mips_arch_variant variable value corresponding to Chromium code changes.andrew@webrtc.org
Chromium commit URL: https://crrev.com/c8a5da7455b57b2399e4a69e8100c098d9870052 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23809004 Patch from Ljubomir Papuga <lpapuga@mips.com>. git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7343 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-30Revert 7327 "Update isolate.gypi files + link to isolate_driver.py"kjellander@webrtc.org
Breaks debug compilation (didn't run all trybots when testing this). > Update isolate.gypi files + link to isolate_driver.py > > This updates the isolate.gypi copies we're forced to > maintain in our code repo to Chromium revision c264a05. > > Since isolated testing is now using a new launch script > in tools: isolate_driver.py, that is added to our links > script. > > BUG=395700 > TESTED=Ran one of our tests with: > ninja -C out/Release tools_unittests_run > tools/isolate_driver.py run --isolated out/Release/tools_unittests.isolated --isolate webrtc/tools/tools_unittests.isolate > > R=henrika@webrtc.org, jam@chromium.org > > Review URL: https://webrtc-codereview.appspot.com/26649004 TBR=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/31509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7328 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-30Update isolate.gypi files + link to isolate_driver.pykjellander@webrtc.org
This updates the isolate.gypi copies we're forced to maintain in our code repo to Chromium revision c264a05. Since isolated testing is now using a new launch script in tools: isolate_driver.py, that is added to our links script. BUG=395700 TESTED=Ran one of our tests with: ninja -C out/Release tools_unittests_run tools/isolate_driver.py run --isolated out/Release/tools_unittests.isolated --isolate webrtc/tools/tools_unittests.isolate R=henrika@webrtc.org, jam@chromium.org Review URL: https://webrtc-codereview.appspot.com/26649004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7327 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-23Revert "Set minimum SDK level to 10.7 for Mac and iOS" (r7175)kjellander@webrtc.org
Reverting this since it didn't fix the build failures. We ended up passing mac_sdk=10.9 in GYP_DEFINES on the bots to to make the build pass again (https://codereview.chromium.org/573673002). BUG=3120 R=mcasas@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/24669004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7275 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-18Split video_render_module implementation into default and internal ↵andresp@webrtc.org
implementation. Targets must now link with implementation of their choice instead of at "gyp"-time. Targets linking with libjingle_media: - internal implementation when build_with_chromium=0, default otherwise. Targets linking with default render implementation: - video_engine_tests - video_loopback - video_replay - anything dependent on webrtc_test_common Targets linking with internal render implementation: - vie_auto_test - video_render_tests - libwebrtcdemo-jni - video_engine_core_unittests GN changes: - Not many since there is almost no test definitions. Work-around for chromium: - Until chromium has updated libpeerconnection to link with video_capture_impl and video_render_impl, webrtc target automatically depends on it. This should fix the FYI bots and not require a webrtc roll to fix. Re-enable android tests by reverting 7026 (some tests left disabled). TESTED: passes all the bots. If this inadvertently breaks a target please fix the linking rules so the target has the desired implementation linked in. BUG=3770 R=kjellander@webrtc.org, pbos@webrtc.org TBR=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19359004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7217 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-17Split video_capture_module specific implementation (external vs internal ↵andresp@webrtc.org
capture) into its own targets. Dependencies must link directly with the desired one. Targets linking with libjingle_media: - internal implementation when build_with_chromium=0, default otherwise. Targets linking with default/external capture implementation: - anything dependent on webrtc_test_common - anything dependent on video_engine_core Targets linking with internal capture implementation: - vie_auto_test - anything dependent on webrtc_test_renderer GN changes: - Not many since there is almost no test definitions. TESTED: passes all the bots. If this inadvertently breaks a target please fix the linking rules so the target has the desired implementation linked in. BUG=3768 R=glaznev@webrtc.org TBR=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/24589004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7209 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-16Add a gyp target for producing a voice engine merged library.andrew@webrtc.org
This is based on webrtc/build/merge_libs.gyp, with a dependency on voice_engine.gyp instead and suitable name changes. Executing: $ rm -rf out/ $ ./webrtc/build/gyp_webrtc -Denable_video=0 -Denable_protobuf=0 -Drelease_optimize=s webrtc/build/merge_libs_voice.gyp $ ninja -C out/Release merged_lib_voice results in a minimially sized voice engine lib at: out/Release/librtc_voice_merged.a Linux: 6.4 MB Mac: 3.7 MB R=braveyao@webrtc.org Review URL: https://webrtc-codereview.appspot.com/23659004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7199 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-15Set minimum SDK level to 10.7 for Mac and iOS.kjellander@webrtc.org
This is needed since r7174 introduced a dependency on AVFoundation, which is not present in the 10.6 SDK which is still the default for Chromium. BUG= TESTED=Passing compile on trybots. R=henrika@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22659004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7175 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-11Split suppressons of thread.cc and messagequeue.cc.pbos@webrtc.org
Most calls have either of these in the stack, meaning that pretty much all races are suppressed. BUG= R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17349004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7154 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-10Add schannel webrtc_base build using a new use_schannel gyp variable.tpsiaki@google.com
R=henrike@webrtc.org, thorcarpenter@google.com Review URL: https://webrtc-codereview.appspot.com/28409004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7141 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-07GN: Prefix WebRTC specific variables with "rtc_"kjellander@webrtc.org
BUG=3441 TESTED=Trybots + Running GN in a Chromium checkout with src/third_party/webrtc symlinked to the WebRTC checkout with this CL applied, both with the default GN settings and using: --args="os=\"android\" cpu_arch=\"arm\"" R=brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/27379004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7095 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-03Partial revert of r7014 (Android APK refactor)kjellander@webrtc.org
This reverts selected parts of r7014 to enable rolling WebRTC in Chromium DEPS. This works around the problem with GYP includes being processed in the first pass (i.e. variables cannot be used for paths). Using a dependency with a path using a variable that is conditioned for build_with_chromium being 0 or 1 solves the Chromium build. These changes will be restored once I've finished a major GYP refactoring that will break out all test related code (at least the parts that includes the Android APK targets) into a separate chain of GYP targets that are not processed when generating projects for Chromium (which is why r7014 is breaking the Chromium build). BUG=3741 TESTED=Passing compilation of standalone using: GYP_DEFINES="OS=android component=static_library fastbuild=1 target_arch=arm" webrtc/build/gyp_webrtc ninja -C out/Debug Then verified the *_apk targets are generated and compiled. Passing compilation from a Chromium checkout with third_party/webrtc directory removed and a new empty third_party/webrtc mapped to the standalone checkout using: sudo mount --bind /path/to/trunk/webrtc third_party/webrtc Then running build/gyp_chromium I also verified WebRTC GYP targets exist and are able to compile. R=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20299004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7040 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-02Create a copy of talk/xmllite under webrtc/xmllite.henrike@webrtc.org
BUG=3379 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22249004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7027 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-02GN: Update webrtc/base to recent GYP changes.kjellander@webrtc.org
Update the webrtc/base/BUILD.gn file to reflect webrtc/base/base.gyp changes between r6438 and r7011. BUG=3441 TESTED= Trybots + compilation with a standalone WebRTC checkout: gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false is_debug=true" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false os=\"android\" cpu_arch=\"arm\" is_clang=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false os=\"android\" cpu_arch=\"arm\" arm_version=7 is_clang=false" && ninja -C out/Default Compilation of Chromium's 'all' target with src/third_party/webrtc symlinked to the WebRTC checkout with this CL applied, both with the default GN settings and using --args="is_debug=false os=\"android\" cpu_arch=\"arm\"" R=brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/13359004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7022 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-09-01Android APK tests built from a normal WebRTC checkout.kjellander@webrtc.org
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/webrtc@7014 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-31GN: Implement voice engine, common audio, audio coding and audio processingkjellander@webrtc.org
NOTICE: Assembly offsets generation for audio processing will not be ported to GN and the process of removing them is tracked in https://code.google.com/p/webrtc/issues/detail?id=3580. The GN files are based upon the GYP files as of r7009. BUG=3441 TESTED=Passing builds with: gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false is_debug=true" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false aec_debug_dump=true" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false aec_untrusted_delay_for_testing=true" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false prefer_fixed_point=true" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false os=\"android\" cpu_arch=\"arm\" is_clang=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false os=\"android\" cpu_arch=\"arm\" arm_version=7 is_clang=false" && ninja -C out/Default I don't know how to setup the mips toolchain to test the following, but it's out of scope for the GN effort for now: gn gen out/Default --args="build_with_chromium=false cpu_arch=\"mipsel\" mips_dsp_rev=0" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false cpu_arch=\"mipsel\" mips_dsp_rev=1" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false cpu_arch=\"mipsel\" mips_dsp_rev=2" && ninja -C out/Default Compilation of Chromium's 'all' target with src/third_party/webrtc symlinked to the WebRTC checkout with this CL applied, both with the default GN settings and using --args="is_debug=false os=\"android\" cpu_arch=\"arm\"" R=andrew@webrtc.org, brettw@chromium.org Review URL: https://webrtc-codereview.appspot.com/15999004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7012 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-29Add LTO support for Android Chromium.andrew@webrtc.org
This is to add support for a Link-Time Optimizations experiment in Android Chromium. As it is disabled by default, it won't change anything for most configurations. BUG=chromium:407544 R=andrew@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21299004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@7009 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-28GN: Implement video_engine, video_capture and video_render.kjellander@webrtc.org
Also add more from common.gypi to webrtc.gni. These GN configs are based on GYP files in r6997. BUG=3441 TEST=Trybots and local compile using: gn gen out/Default --args="build_with_chromium=false" && ninja -C out/Default gn gen out/Default --args="build_with_chromium=false is_debug=true" && ninja -C out/Default Passed compile from a Chromium checkout with src/third_party/webrtc linked to the webrtc/ dir of a checkout with this patch applied. R=brettw@chromium.org, glaznev@webrtc.org, mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6999 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-26Create a copy of talk/sound under webrtc/sound.henrike@webrtc.org
BUG=3379 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22379004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6986 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-26Fix data races in VideoAdapterTest.pbos@webrtc.org
Adressing clear races between the test thread and capturer thread shown as heap-use-after-free in vpx_codec_destroy in WebRtcVideoMediaChannelTest.SetSend (way later in the rest run). When capturing a frame the test copied it to a separate frame that would then be read by the test without synchronization, if the test didn't manage to examine the frame in between captures the adapted frame would be overwritten by the following frame during accesses to it. The actual races are suppressed by race:webrtc/base/messagequeue.cc and race:webrtc/base/thread.cc. These fixes reduce the suppression count locally from around 3000 to 30 for VideoAdapterTest.*. Also removing tsan suppressions for talk/base as it's been moved to webrtc/base. R=tommi@webrtc.org BUG=3671 Review URL: https://webrtc-codereview.appspot.com/22169004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6979 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-26Remove former team members from OWNERS and WATCHLISTSkjellander@webrtc.org
Remove the following (CCed) former team members from all OWNERS files and the WATCHLISTS file: * fischman@ * leozwang@ * mikhal@ * pwestin@ * wu@ BUG= R=henrike@webrtc.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/22509004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6973 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-25Roll chromium_revision 289723:291647kjellander@webrtc.org
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/webrtc@6967 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-20Make WebRTC work with Chromium Git checkoutskjellander@webrtc.org
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/webrtc@6938 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-08-20Add TSAN suppression for heap-use-after-free in libvpxhenrik.lundin@webrtc.org
BUG=3671 R=kjellander@webrtc.org, pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6937 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-29merge_libs.py: fixes Windows breakage: there should be no space after "lib ↵henrike@webrtc.org
/OUT:". TBR=andrew@webrtc.org BUG=b/15773179 Review URL: https://webrtc-codereview.appspot.com/16999004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6793 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-25Fixes "argument list too long" problem on Linux by using the "find" command ↵henrike@webrtc.org
instead of re-implementing one in python. R=pbos@webrtc.org TBR=andrew@webrtc.org BUG=b/15773179 Review URL: https://webrtc-codereview.appspot.com/18929004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6782 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-11Move pacer to fully use webrtc::Clock instead of webrtc::TickTime.stefan@webrtc.org
This required rewriting the send-side delay stats api to be callback based, as otherwise the SuspendBelowMinBitrate test started flaking much more frequently since it had lock order inversion problems. R=pbos@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/21869005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6664 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-10Remove more unused tsan suppressions and fix call test passing the same ↵andresp@webrtc.org
decoder to multiple received streams. R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12949004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6651 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-09Remove unnecessary race suppressions copied from chromium.andresp@webrtc.org
And added suppressions to allow to run tests with gtest_parallel in which case some new races were showing up. R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19909004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6635 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-08Tight data race suppressions around thread_posix.andresp@webrtc.org
BUG=3372,3549 R=stefan@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19879004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6620 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-07Fix potential deadlock in webrtc/system_wrappers/source/logging_unittest.cc.andresp@webrtc.org
crit_ should not be held while calling Trace. BUG=3003 R=henrike@webrtc.org, pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17859005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6616 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-07Add initial gn build files for video_coding and video_processing.stefan@webrtc.org
BUG= R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/19819004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6611 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-03GN: Implement BUILD.gn for common_video.kjellander@webrtc.org
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/webrtc@6595 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-07-02Make deadlock suppressions less generic.andresp@webrtc.org
Previously they were enabled on all webrtc and talk primitives directly when TSAN config changed to enable deadlock detections. BUG=3509 R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18679004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6583 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-27TSan: Move suppressions to source file.kjellander@webrtc.org
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/webrtc@6552 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-21GN: BUILD.gn for system_wrapperskjellander@webrtc.org
Also cleaned up some unneeded stuff from webrtc/base/BUILD.gn BUG=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 clang_use_chrome_plugins=false" && ninja -C out/Default I built successfully from a Chromium checkout (with https://codereview.chromium.org/321313006/ applied) using: gn gen out/Default && ninja -C out/Default webrtc R=brettw@chromium.org TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20739004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6515 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17base: Renaming + conforming: post commit review changes for ↵henrike@webrtc.org
https://webrtc-codereview.appspot.com/17699005/ BUG=N/A R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/20709004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6467 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-17Initial GN work for WebRTCkjellander@webrtc.org
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/webrtc@6461 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-16Makes it possible to prevent some third party libraries (jsoncpp and ↵henrike@webrtc.org
openssl) from being linked. This makes it possible to link webrtc with external implementations of those libraries in case the project depending on webrtc requires another version of those libraries. BUG=3379 R=wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17699005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6455 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-13Pass GYP DEPTH variable to isolate.kjellander@webrtc.org
Similar change to https://codereview.chromium.org/322403003/ This will make it possible to handle different directory levels for special builds of WebRTC, without breaking GYP when the .isolate files are processed and their contents is verified. Also update all our .isolate files to use the <(DEPTH) variable. BUG=343106 TEST=Successful compile+test on Linux using: ninja -C out/Release tools/swarming_client/isolate.py run -s out/Release/tools_unittests.isolated Also trybots passing all tests. R=pbos@webrtc.org TBR=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13679004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6427 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-06-04Make it possible to build webrtc for arm64.solenberg@webrtc.org
- 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/webrtc@6330 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-15removed webrtc_base_tests_utils from merge libs as it was breaking some builds.henrike@webrtc.org
BUG=N/A R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18469004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6177 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13Adds a modified copy of talk/base to webrtc/base. It is the first step inhenrike@webrtc.org
migrating talk/base to webrtc/base. BUG=N/A R=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/17479005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6129 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-13Revert 6107 "Adds a modified copy of talk/base to webrtc/base. I..."perkj@webrtc.org
This breaks Chromium FYI builds and prevent roll of webrtc/libjingle to Chrome. http://chromegw.corp.google.com/i/chromium.webrtc.fyi/builders/Win%20Builder/builds/457 > Adds a modified copy of talk/base to webrtc/base. It is the first step in migrating talk/base to webrtc/base. > > BUG=N/A > R=andrew@webrtc.org, wu@webrtc.org > > Review URL: https://webrtc-codereview.appspot.com/12199004 TBR=henrike@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14479004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6116 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-05-12Adds a modified copy of talk/base to webrtc/base. It is the first step in ↵henrike@webrtc.org
migrating talk/base to webrtc/base. BUG=N/A R=andrew@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/12199004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6107 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-29Remove neteq_unittests from Android buildshenrik.lundin@webrtc.org
BUG=2996 R=kjellander@webrtc.org Review URL: https://webrtc-codereview.appspot.com/13409004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@6011 4adac7df-926f-26a2-2b94-8c16560cd09d
2014-04-29Roll chromium_revision 260462:266514kjellander@webrtc.org
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/webrtc@6010 4adac7df-926f-26a2-2b94-8c16560cd09d