Commit Graph

12 Commits

Author SHA1 Message Date
eb2d5ea25e Update build flags for Cuttlefish support
Web camera crashes without change.

Change-Id: I8cfdc0f4f7d91e1040550ae5e6a84c03ae060311
Test: compiles, treehugger
Bug: 234571051
2022-06-01 21:08:26 +00:00
ebc7d1eda6 Remove alsa and pulseaudio sources
ALSA and pulseaudio are not used by either of the clients of webrtc,
remove them from the sources to avoid having to have the ALSA and
pulseaudio headers.

Bug: 190084016
Test: m USE_HOST_MUSL=true webRTC libaudiopreprocessing
Change-Id: I1e74c64a71fa54db69e7d2e9d118dfd374501cb7
2022-04-12 12:11:06 -07:00
9213fac907 [LSC] Add LOCAL_LICENSE_KINDS to external/webrtc
Added SPDX-license-identifier-Apache-2.0 SPDX-license-identifier-BSD
    SPDX-license-identifier-MIT SPDX-license-identifier-Zlib
    legacy_notice legacy_unencumbered
to:
  Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_unencumbered
to:
  third_party/abseil-cpp/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I4420f377d2e10d2755cf2cb247978221db103308
2021-02-12 18:40:08 -08:00
ab4c5b5b68 Enable Neon modules
Bug: 173734937
Test: Builds

Change-Id: Id8521e67c934cf55bb6ba6e3064fff278448b86d
2020-11-19 14:18:27 -08:00
77691acbd0 Update Android.bp
aec_dump.cc was included in multiple modules, this is now fixed
Also added few more modules that are used by webrtc_audio_processing
These are necessary if some module includes "webrtc_audio_processing"
in whole_static_libs.

Bug: 173247568
Test: Builds

Change-Id: I1ba293800ad4acce07351311fa9f8b15bd1f1d0c
2020-11-13 14:58:09 -08:00
cd66555f9c Build webrtc_audio_processing module
webrtc_audio_processing module is built with its dependencies
included as whole_static_libs, so that a single library can be
included where it is used

Bug: 169202556
Test: Builds

Change-Id: Ic6dd1b4e3a9a351c0b22663197bed77d08ff518c
2020-10-28 16:09:18 -07:00
8bd5ca0077 Enable device builds for webrtc modules
Also added visibility to restrict it to audio preprocessing
and cuttlefish modules

Bug: 169202556
Test: Builds

Change-Id: Idba6a42b8f8c1a30a0320913d17e269cd6ccca7b
2020-10-28 16:09:09 -07:00
bb55342cbc Import abseil-cpp to third_party
Renamed abseil modules to make them webrtc specific.
Restricted visibility of abseil modules to webrtc packages.

Bug: 171836454
Test: Builds

Change-Id: Icf24c7e3093a77dd9a26e7ec78bd531eb1ad3dec
2020-10-28 20:50:30 +00:00
f7d55dccfb Use x86-specific source files only for x86 target
Previously, we used x86-specific source files (those for sse2)
regardless of the target because x86 was the only supported host target.
This becomes a problem as we add the support for the new ARM64 host
target - linux_bionic_arm64. Now, those source files are built only when
the target architecture is x86.

Bug: 159685774
Test: HOST_CROSS_OS=linux_bionic HOST_CROSS_ARCH=arm64 m \
out/soong/host/linux_bionic-arm64/bin/webRTC

Change-Id: Id13d66ccd5ae6f8596ce32d4ccb2735856d2159a
2020-09-21 11:59:06 +09:00
50b1ad41ea Disable darwin build of webrtc
libopus and libvpx are disabled on darwin.

Bug: 162102724
Test: TH
Change-Id: Id8787e81058053da18b43a85b3d6ececbaa3af91
2020-07-28 05:50:35 +00:00
8e1bf7eee4 Merge remote-tracking branch 'upstream-master'
Bug: 153469641
Test: run cuttlefish locally
Change-Id: Ida3bfe62ef5c6549278f4c155a1f690b008e9b9d
Merged-In: Ida3bfe62ef5c6549278f4c155a1f690b008e9b9d
2020-07-23 13:37:44 -07:00
b6df60492c Generate new Android.bp file and correct build errors
The following are not yet available in their respective libraries so
attempts to use it in webrtc result in a call to abort():
* libvpx's CONSTRAINED_FROM_ABOVE_DROP constant
* libyuv's I010 buffers

The original webrtc project expects to have third party libraries
checked out in third_party/ and base/third_party/. Added some headers
in those directories with a single line including the right header from
external/<library>. Updated .gitignore to keep track of said headers.

Bug: 153469641
Test: mm, also built cuttlefish using this library and ran it locally
Change-Id: I2d596942e34093dccc65d4b7b8249b6afc14d31f
Merged-In: I2d596942e34093dccc65d4b7b8249b6afc14d31f
2020-07-23 13:34:20 -07:00