Commit Graph

30 Commits

Author SHA1 Message Date
23516638fa Move WEBRTC_THREAD_RR and WEBRTC_CLOCK_TYPE_REALTIME to system_wrappers.gypi .
WEBRTC_THREAD_RR and WEBRTC_CLOCK_TYPE_REALTIME are used only in code compiled
in system_wrappers, so they don't need to be in common.gypi.

R=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3926 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-30 22:53:51 +00:00
4cea79b830 Removing another instance of file api
Review URL: https://webrtc-codereview.appspot.com/1356004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3906 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-25 23:31:27 +00:00
b84f13f185 Disabling avi file interface
Review URL: https://webrtc-codereview.appspot.com/1351004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3900 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-25 18:07:32 +00:00
006acc45c2 Update iOS build script to run on bots.
The script previously only executed build/gyp_chromium to
generate projects. This is not sufficient since the
supplement.gypi has not yet been created (happens in
gclient runhooks). Therefore this CL changes it to run
gclient runhooks instead (marginally slower).
Otherwise the bots would have to generate the projects
twice, which is inefficient.

Annotations are also added to make the upcoming buildbot
steps more readable when the script is running as an
annotated step.

TEST=local compilation on OS X.
BUG=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3878 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-20 13:04:05 +00:00
1fea17dae4 Add the build script of the voice engine for iOS.
Review URL: https://webrtc-codereview.appspot.com/1319007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3873 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-04-18 23:22:02 +00:00
dd5482cd2f Use ninja with merge_libs.py on Windows and clean up.
BUG=b/8110634

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3571 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-26 02:47:50 +00:00
2f9bd247ad Ported assembly coding in APM from Android to iOS.
Bugs=none
Test=trybots, and offline file bit-exact tests.
Review URL: https://webrtc-codereview.appspot.com/1066009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3563 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-23 04:16:59 +00:00
5140e24037 MIPS optimizations for Signal Processing Library patch01
Review URL: https://webrtc-codereview.appspot.com/1028004
Patch from Ljubomir Papuga <lpapuga@mips.com>.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3557 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-21 20:12:21 +00:00
f61e02c81f Misc cleanups to webrtc/android code:
- Replace some deprecated calls/enums with their more modern equivalents.
- Clean up some usage of global data and/or hide it better
- Catch specific exceptions instead of Exception, and log the exception instead
  of just its message.
- Random log message cleanups
- Added a build_with_libjingle gyp variable to mimic build_with_chromium for
  when webrtc is built as part of a libjingle project but not part of chromium.

BUG=webrtc:1169
TEST=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3554 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-20 23:13:46 +00:00
fa53d8717c Fixing/disabling Windows x64 warnings
Disabled MSVC #4267 warnings in common.gypi to enable x64 builds
for Windows.
Fixed MSVC #4267 warnings in test/testsupport.
Added third_party/directxsdk to .gitignore.

With http://review.webrtc.org/1070008 landed, this should make it possible
to build for x64 on Windows.

BUG=1348
TEST=Compiling with http://review.webrtc.org/1070008 applied:
set GYP_DEFINES="target_arch=x64"
set GYP_GENERATORS=ninja
gclient sync
ninja -C out\Debug_x64

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3464 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-04 10:07:17 +00:00
ac46c6dac3 Replaced relative path to reference from <(webrtc_root).
Changed to proper include paths in AECM and NSX.
Tested on trybots.

BUG=None

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3450 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-01-31 21:06:16 +00:00
e1888af9df Add <(DEPTH) to global includes
With http://review.webrtc.org/1064004 we got use of headers in testing/ for the first time in production code (which is what gtest_prod.h is meant for). This showed that when WebRTC is built inside Chrome, the include path doesn't include the top-level directory, so testing/gtest/ could not be found.

By adding <(DEPTH) to the WebRTC global include path list in common.gypi, this is resolved.

Having this directory in the global include path list will also make it possible for us to use full paths for common third party libraries, which should be something we aim for.

BUG=none
TEST=Successfully compiled the  webrtc_test_tools target on Linux in a Chromium checkout with third_party/webrtc replaced by ToT trunk with this patch applied (with Python 2.6 installed, which is needed to get the pyautolib target generated).

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3421 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-01-28 20:00:03 +00:00
b119369cdc Fix android clang build.
no-builtin-cos|sin|cosf|sinf are not used for some files (g711.c, g711_interface.c, g722_encode.c, g722_decode.c, g722_interface.c, pcm16b.c).
Review URL: https://webrtc-codereview.appspot.com/1032006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3369 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-01-12 01:52:07 +00:00
be86a6d968 Explicitly disable sincos optimization on Android.
I uploaded this CL before, now it turned out that although it's an
issue in compiler, but it will not be solved in short term, we have
to work around in our code termporally.

We can chat in person if you want to know more details.

BUG=
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/1026006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3358 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-01-10 22:15:51 +00:00
63a243a031 Replace the last occurrence of .s with .h
BUG=None
TEST=trybot
Review URL: https://webrtc-codereview.appspot.com/935027

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3240 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-12-05 07:12:15 +00:00
56a1c2cc20 Enable java soundcard impl as the default
BUG=None
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/974006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3192 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-29 03:13:00 +00:00
c3e5d3422b Add a logging_no_op.cc when enable_tracing==0.
This should hopefully fix static initializer warnings when rolling webrtc
in Chromium.

TEST=logging_unittest succeeds with enable_tracing==1 and fails appropriately with enable_tracing==0.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3159 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-23 19:30:59 +00:00
5c38d909b3 Define enable_android_opensl when built with chromium.
Review URL: https://webrtc-codereview.appspot.com/930023

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3126 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-19 01:41:59 +00:00
aea2510b8d Fix generate_asm_header.
In gyp, "inputs" always takes path relative to the gyp file.
The path in "action" is absolute since it can be included from a different directory.
Review URL: https://webrtc-codereview.appspot.com/965026

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3100 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-15 00:13:07 +00:00
50419b0777 Add libjingle-style stream-style logging.
Add a highly stripped-down version of libjingle's base/logging.h. It is
a thin wrapper around WEBRTC_TRACE, maintaining the libjingle log
semantics to ease a transition to that format.

Also add some helper macros for easy API and function failure logging.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3099 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-14 19:07:54 +00:00
cb76c3c3f7 Unbreak ninja/android build of webrtc.
Review URL: https://webrtc-codereview.appspot.com/932018

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3076 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-10 22:39:37 +00:00
31eae47444 Implemented a build system that generates offset header files for ARM assembly files, in Android.
The original CL was separated into two. Please refer to https://webrtc-codereview.appspot.com/860005 on how the build system and python script being used.
Review URL: https://webrtc-codereview.appspot.com/754005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3059 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-07 22:34:16 +00:00
6f19b1b651 Enable Opus
BUG=webrtc issue 992
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/942004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3012 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-27 17:46:55 +00:00
1f8c02a4de Getting Opus from Chrome
This CL replaces http://review.webrtc.org/921006/

BUG=issue982

TBR=andrew@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2993 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-25 12:37:08 +00:00
87736720eb Enable Opus for Chrome
Review URL: https://webrtc-codereview.appspot.com/935005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2984 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-24 20:12:54 +00:00
017ed5c76a Correct adb_shell runtime error on buildbot
TBR=kjellander
Review URL: https://webrtc-codereview.appspot.com/927004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2977 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-23 22:24:56 +00:00
6b1ed94922 Add device id to adb shell
TBR=kjellander

BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/923005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2976 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-23 20:25:25 +00:00
4828e4c61f Add adb_shell script for android
BUG=None
TEST=local
Review URL: https://webrtc-codereview.appspot.com/897008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2975 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-23 18:34:23 +00:00
be8ec386c4 Fix a few include paths and update include TODO.
TBR=wu@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2967 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22 21:51:58 +00:00
14b43beb7c Move src/ -> webrtc/
TBR=niklas.enbom@webrtc.org

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2963 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22 18:19:23 +00:00