Commit Graph

73 Commits

Author SHA1 Message Date
leozwang@webrtc.org
2db85bcba7 Make webrtc build with audio device java impl and add an option to enable it
BUG=
TEST=buildbots

This cl is to make audio device java implemenation build in webrtc, and add an
option in gyp so we can switch between opensl implementaiton and java
implementation.
Review URL: https://webrtc-codereview.appspot.com/801004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2783 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-18 20:19:00 +00:00
andrew@webrtc.org
0be1f234b6 Add merge_libs_dependencies and remove voice_engine_dependencies.
TBR=wu,turaj
TESTED=trybots
Review URL: https://webrtc-codereview.appspot.com/798006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2777 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-15 02:50:52 +00:00
andrew@webrtc.org
52b9c58fac Set prefer_fixed_point properly.
It wasn't being set from within a variables scope.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2773 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-14 17:28:32 +00:00
andrew@webrtc.org
75dbe9f600 Only use arm_neon when armv7==1.
This corresponds to the Chromium understanding; from build/common.gypi:
# Set Neon compilation flags (only meaningful if armv7==1).
'arm_neon%': 1,

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2770 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-13 16:44:46 +00:00
sjlee@webrtc.org
414fa7f0c4 Change MAC_IPHONE to WEBRTC_IOS.
Review URL: https://webrtc-codereview.appspot.com/788004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2746 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-11 17:25:46 +00:00
sjlee@webrtc.org
4b42508cc0 This CL is WebRTC VoiceEngine for iOS and is from CL713004.
After patching this, first comments some video related lines in webrtc.gyp and src/module/module.gyp
And then do the below command.

$> ./build/gyp_chromium --depth=.  -DOS=ios -Dtarget_arch=armv7 -Dinclude_tests=0 -Denable_protobuf=0 -Denable_video=0 webrtc.gyp
$> xcodebuild -sdk iphoneos [-configuration Release]
Review URL: https://webrtc-codereview.appspot.com/768009

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2729 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-10 17:58:21 +00:00
andrew@webrtc.org
f3b65dbfe8 Remove WEBRTC_MAC_INTEL.
Review URL: https://webrtc-codereview.appspot.com/765008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2715 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-06 18:17:00 +00:00
leozwang@webrtc.org
dcc30f871d Add a script that can build a single voice engine library
It's a basically a copy of existing merged_lib.gpy but changed the dependency
to voice engine.

BUG=None
TEST=Local build 
Review URL: https://webrtc-codereview.appspot.com/762010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2707 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-05 20:08:35 +00:00
kma@webrtc.org
9b1cf54a4a Change the dependency of ARM code from on Android to on ARM.
Review URL: https://webrtc-codereview.appspot.com/759004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2699 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-09-03 21:22:28 +00:00
kma@webrtc.org
94771cb6a0 Change preprocessor define WEBRTC_ANDROID into WEBRTC_ARCH_ARM, for ARM platform depended code.
Review URL: https://webrtc-codereview.appspot.com/735010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2674 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 04:09:50 +00:00
kma@webrtc.org
7611791ade Added unit tests for several SPL macros/functions, and detailed all factors
contributing to bit-not-exact between ARM assembly and generic C versions
in iSAC and SPL, by code comments.
Review URL: https://webrtc-codereview.appspot.com/741004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2673 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-28 00:43:55 +00:00
kma@webrtc.org
ee508e5fb6 Enabled ARMv7 code in Android NDK build.
Review URL: https://webrtc-codereview.appspot.com/725005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2622 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-16 19:19:51 +00:00
andrew@webrtc.org
54da26d2d2 Move include_tests to a higher variable nesting.
TBR=wu@webrtc.org
BUG=none
TEST=trybots
Review URL: https://webrtc-codereview.appspot.com/734004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2587 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-10 00:41:18 +00:00
andrew@webrtc.org
cb53410877 Make some dependencies more flexible.
BUG=none
TEST=trybot

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2583 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-08-09 18:28:40 +00:00
andrew@webrtc.org
5fe91a89ac Add license header to no_op.cc.
TBR=niklas.enbom@webrtc.org
BUG=chromium98592
TEST=none

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2539 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-31 05:50:21 +00:00
andrew@webrtc.org
c1354bd768 Make handling of libyuv more flexible.
- Use gyp variable for libyuv path.
- Rename internal libyuv.h to webrtc_libyuv.h to avoid conflicts.
- Update affected includes.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2534 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-27 18:21:16 +00:00
braveyao@webrtc.org
f5f69c7f5d Resource Preprocessor Definitions which contain spaces are handled incorrectly in Visual Studio 2010
BUG=ISSUE687
TEST=Building with VS2010
Review URL: https://webrtc-codereview.appspot.com/710004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2533 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-27 08:07:49 +00:00
andrew@webrtc.org
bc934ccc4e Temporarily disable version.py.
TBR=leozwang@webrtc.org
BUG=issue687
TEST=build on Mac

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2527 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-25 15:45:33 +00:00
andrew@webrtc.org
f5a91fdfab Make some build settings more flexible.
BUG=issue676
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2524 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-23 16:28:02 +00:00
tommi@webrtc.org
a9da4c55ef Landing for thakis. Original review here:
https://webrtc-codereview.appspot.com/667013/
Review URL: https://webrtc-codereview.appspot.com/701004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2522 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-20 11:17:23 +00:00
leozwang@webrtc.org
475c26634e Re-enable WEBRTC_SVNREVISION script
Message:
Another try to enable the script to get svn revision number. Most code borrowed from
lastchange.py, I simplified and modified to make it work with webrtc. The bottom line
of this script is 1. not breake any existing builds 2. get correct svn revision number
in a typical engineering setup, so it doesn't deal with some corner cases that lastchange.py
does, just simply returns "n/a" since these corner cases will most likely not happen, and
it also make this script simple.

Description:
This script runs "svn info" or "git svn info" to get svn revision number returns "n/a" if
both fail.

BUG=
TEST=try bots
Review URL: https://webrtc-codereview.appspot.com/671004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2502 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-10 20:36:29 +00:00
tommi@webrtc.org
7b61049117 Land: https://webrtc-codereview.appspot.com/678010/
Add -Wno-unused-private-field until all violations are fixed.

This is currently in chromium's build/common.gypi, but I'd like
to remove it from there.
Review URL: https://webrtc-codereview.appspot.com/680006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2485 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-07-03 08:19:24 +00:00
andrew@webrtc.org
81cf5e4752 Move test to src/test.
- Refer to top-level directories by <(DEPTH), e.g. <(DEPTH)/testing.
- Remove now unneeded third_party_root.

TBR=henrike@webrtc.org
BUG=none
TEST=trybots

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2446 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-27 01:41:54 +00:00
henrike@webrtc.org
643be71700 Adds variable for third party directory.
BUG=348
TEST=Manual testing in Chrome and WebRTC workspace.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2439 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-06-25 10:48:58 +00:00
kma@webrtc.org
0d321da7e1 Refactored ARM specific code in Noise Suppression. Bit exact.
Review URL: https://webrtc-codereview.appspot.com/459006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2303 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-26 01:05:27 +00:00
mflodman@webrtc.org
6af9594d71 Added gyp variable to include/exclude all tests.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2292 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-24 13:23:35 +00:00
mflodman@webrtc.org
7597a85bc4 Changed merge-name.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2266 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-22 08:32:20 +00:00
leozwang@webrtc.org
ada5db4e75 Enable aecm neon optimized code in android build
Description:
This CL is a follow up of http://review.webrtc.org/575008/ and r2241.
Because of r2243, r2241 is messed up and reverted, I'm going to commit it again.
This is exact same to the last patch in 575008, just want to inform you and have
your double check before I commit it.

The original description
This cl enables cpu detection and aecm optimized code in android build.

BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/568006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2259 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-18 16:48:45 +00:00
kjellander@webrtc.org
7e4a72a78a Revert 2241 - Enable aecm neon optimized code in android build
Description:
This cl enables cpu detection and aecm optimized code in android build.

BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/575008

TBR=leozwang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/566013

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2249 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-16 11:49:45 +00:00
kjellander@webrtc.org
0290a7a827 Revert 2243 - Re-enable embedding svn revision into code
Description:
By using a python scription, this cl tries to get svn revision properly. It
current support git-svn and svn, if it fails, "n/a" will be defined as
svn revision.


BUG=500
TEST= test cases: w/o svn, w/o git-svn. test platforms, linux/windows. Passed all trybots.
Review URL: https://webrtc-codereview.appspot.com/564010

TBR=leozwang@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/577008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2248 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-16 11:39:14 +00:00
leozwang@webrtc.org
f6e27f5e03 Re-enable embedding svn revision into code
Description:
By using a python scription, this cl tries to get svn revision properly. It
current support git-svn and svn, if it fails, "n/a" will be defined as
svn revision.


BUG=500
TEST= test cases: w/o svn, w/o git-svn. test platforms, linux/windows. Passed all trybots.
Review URL: https://webrtc-codereview.appspot.com/564010

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2243 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-15 19:25:37 +00:00
leozwang@webrtc.org
fe742200d5 Enable aecm neon optimized code in android build
Description:
This cl enables cpu detection and aecm optimized code in android build.

BUG=
TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/575008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2241 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-15 16:11:24 +00:00
andrew@webrtc.org
710eac763a Update DEPS comment and remove tabs from common.gypi.
TBR=wu@webrtc.org
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2198 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-08 18:00:57 +00:00
leozwang@webrtc.org
f5fe1000de Enable cpu auto detection and ns optimized code on android
BUG=
TEST=
Review URL: https://webrtc-codereview.appspot.com/547006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2195 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-08 15:20:02 +00:00
leozwang@webrtc.org
20a05cd778 Disable WEBRTC_SVNREVISION
Description:
This CL will temporally define WEBRTC_SVNREVISION as "n/a" because it
could break Chromium if svn is not installed.
The long term solution is a have a script that could deal with it, and
have it support git-svn which is used by most developers.

BUG=496
TEST=build on Linux
Review URL: https://webrtc-codereview.appspot.com/569007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2187 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-07 21:16:33 +00:00
andrew@webrtc.org
d5548f5d04 Disable clang Chrome plugins on all platforms.
(Will fix Linux-clang bot).

TBR=wu@webrtc.org
BUG=issue163
TEST=build on Linux-clang

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2152 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-05-01 21:39:34 +00:00
leozwang@webrtc.org
48a5df6481 Embed svn revision number into code
BUG=
TEST=build on linux
Review URL: https://webrtc-codereview.appspot.com/516001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2104 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-24 14:50:50 +00:00
andrew@webrtc.org
e713fd0eee Enable the "unused variable" warning on Windows.
- Break out direct_show_base_classes to its own gyp file to have it
  treated as third party code.
- Fix the resulting warnings (courtesy of Tommi).

BUG=
TEST=build on Windows (vie_auto_test currently failing at HEAD)

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2000 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-04-10 07:13:46 +00:00
andrew@webrtc.org
d62d7301f4 Remove TARGET_PC and cruft from typedefs.h.
Additionally remove all TARGET defines (e.g. TARGET_MAC), which weren't used anyway.

BUG=
TEST=build on Linux, Mac, Win

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1822 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-03-01 21:39:57 +00:00
andrew@webrtc.org
eaefea665f Remove unused files from src/build.
These files were intended for a standalone build without depending on
Chromium's build/. In some bright future we might use them, but for
the moment, they're just confusing.

BUG=
TEST=build on Linux

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1800 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-29 18:19:34 +00:00
andrew@webrtc.org
c3cb0ca726 Enable -Woverloaded-virtual for gcc.
BUG=
TEST=build on Linux/gcc.

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1790 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-28 23:14:11 +00:00
leozwang@webrtc.org
682cd4e9d1 Add android target
Review URL: https://webrtc-codereview.appspot.com/396016

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1746 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-22 16:05:19 +00:00
phoglund@webrtc.org
78088c2f36 Removed warnings on Windows and enabled warnings-as-errors on Windows.
BUG=
TEST=

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1624 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-02-07 14:56:45 +00:00
andrew@webrtc.org
f33dfa89b9 Add target and config info to merged lib name.
BUG=None
TEST=build merged_lib on Linux, Mac, Win

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1487 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-20 01:32:16 +00:00
andrew@webrtc.org
300aed945d Use -Wextra on Linux for standalone builds.
BUG=None
TEST=build on Linux, Mac, Windows

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

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1482 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-19 20:10:19 +00:00
andrew@webrtc.org
17585856f5 Merged /branches/3.2:r1381 to /trunk
git-svn-id: http://webrtc.googlecode.com/svn/trunk@1464 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-01-19 00:15:08 +00:00
andrew@webrtc.org
003044a6df Enable warnings-as-errors on Mac.
TEST=build on Mac (make and XCode)

Review URL: http://webrtc-codereview.appspot.com/335007

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1272 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-21 16:36:56 +00:00
andrew@webrtc.org
e858d13ac6 Add a NOOP target for merge libs.
Also allow certain components to not be built.

TEST=build merged_lib

Review URL: http://webrtc-codereview.appspot.com/328001

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1254 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-20 22:07:48 +00:00
henrike@webrtc.org
4158c35820 Removed the WEBRTC_NO_TRACE macro since the style guide wants us to stear clear of macros and this one doesn't seem to have a purpose at this point.
Review URL: http://webrtc-codereview.appspot.com/315006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1233 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-19 17:28:25 +00:00
henrikg@webrtc.org
af225d6bf6 The change http://webrtc-codereview.appspot.com/299001 (commit 1062) does not do what it intends (exclude codecs from Chromium build). This is a fix for that. webrtc.gyp is not pulled in Chromium, hence it has no effect putting a define there. Moving it to src/build/common.gypi.
Review URL: http://webrtc-codereview.appspot.com/315002

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1143 4adac7df-926f-26a2-2b94-8c16560cd09d
2011-12-09 09:58:39 +00:00