Fix parallelization in libjingle_p2p_unittest.

Adding VirtualSocketServers to SessionTest and RelayServerTest to avoid
contention on real ports.

R=juberti@webrtc.org
BUG=2597
TEST=third_party/gtest-parallel/gtest-parallel -w 64 out/Debug/libjingle_p2p_unittest

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

git-svn-id: http://webrtc.googlecode.com/svn@7355 4adac7df-926f-26a2-2b94-8c16560cd09d
Adds PRESUBMIT.py dispensation for depending on rtc_base.

Dispensation for: a few test suites, desktop capture and libjingle.

BUG=N/A
R=kjellander@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7356 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert 7355 "Fix parallelization in libjingle_p2p_unittest."

Breaks waterfall.

TBR=pbos@webrtc.org
BUG=N/A

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

git-svn-id: http://webrtc.googlecode.com/svn@7357 4adac7df-926f-26a2-2b94-8c16560cd09d
rtc_unittest: turned sound's test gyp into gypi to speed up GYP generation.

BUG=N/A
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7358 4adac7df-926f-26a2-2b94-8c16560cd09d
Import LappedTransform and friends.

Add code for doing block-based frequency domain processing. Developed
and reviewed in isolation. Corresponding export CL:
https://chromereviews.googleplex.com/95187013/

R=bercic@google.com, kjellander@webrtc.org, turaj@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7359 4adac7df-926f-26a2-2b94-8c16560cd09d
Fix build errors in test programs.

MaxSignalType and memcpy were undeclared in some places.
abs() should be used instead of fabs() on integers.

Add support for building on x64, and link with -lm to get
the trig functions.

With these changes, the test programs can be built for native Linux.

BUG=
R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7360 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove trailing whitespace under dl/sp/api

TBR=rtoy

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

git-svn-id: http://webrtc.googlecode.com/svn@7361 4adac7df-926f-26a2-2b94-8c16560cd09d
Add error trap for XFixesGetCursorImage()

BUG=https://code.google.com/p/webrtc/issues/detail?id=3245
R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7362 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove mouse cursor capturer from the ScreenCapturer interface

Mouse can be captured using MouseCursorMonitor and all code in chromium
already uses it instead of ScreenCapturer.

R=jiayl@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7363 4adac7df-926f-26a2-2b94-8c16560cd09d
Revert "Remove mouse cursor capturer from the ScreenCapturer interface"

This reverts commit 0adc4953512ee0a57cf7f3c0591b024c2316554a. It broke
FYI bots

TBR=sergeyu@chromium.org

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

git-svn-id: http://webrtc.googlecode.com/svn@7364 4adac7df-926f-26a2-2b94-8c16560cd09d
Remove mouse cursor capturer from the ScreenCapturer interface

Mouse can be captured using MouseCursorMonitor and all code in chromium
already uses it instead of ScreenCapturer.

R=jiayl@webrtc.org

Committed: https://code.google.com/p/webrtc/source/detail?r=7363

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

git-svn-id: http://webrtc.googlecode.com/svn@7365 4adac7df-926f-26a2-2b94-8c16560cd09d