commit | 4c3c69e9989d256035b968d161324e92846337d1 | [log] [tgz] |
---|---|---|
author | Li-Yu Yu <aaronyu@google.com> | Wed Jul 12 09:27:15 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 13 01:58:07 2023 |
tree | e47106774418912a7374189d5de65e578e24351f | |
parent | 25fc8a302cefc1d4ef7a4ffe0b8dc1fac5f44990 [diff] |
Export deps.bzl to ensure adhd and webrtc-apm deps.bzl is in sync The files are introduced in CL:4675196 and CL:4675335. BUG=b:264650897 TEST=None Cq-Depend: chromium:4681360 Change-Id: I42fa17586e8e128e39e637db6daaef092cd55fc5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/webrtc-apm/+/4680543 Commit-Queue: Li-Yu Yu <aaronyu@google.com> Tested-by: Li-Yu Yu <aaronyu@google.com> Reviewed-by: Jeremy Wu <jrwu@google.com>
APM is the audio processing module of WebRTC project in charge of effects like echo cancellation, noise suppression, etc. The purpose of this project is to build a standalone library for Chrome OS system side audio processing.
To update this package to latest upstream WebRC:
./script/sync-apm.sh path/to/webrtc-checkout/src .
emerge-${BOARD} adhd
to see if anything breaks.There are three ways to build/test this package:
The first one is the easiest to iterate with, and the last one is closest to the way ChromiumOS infra actually use to build OS images. The second one is somewhere in-between.
In the directory same as this README file, run:
bazel test //:tests
If you see pkg-config errors you are missing some system dependencies. (Googlers: follow go/cras-dev#prerequisites to install dependencies on gLinux)
Clone https://chromium.googlesource.com/chromiumos/third_party/adhd/ to the directory adjacent to this directory, so that adhd
and webrtc-apm
(this repository) are in the same directory.
NOTE: If you use repo
to set up a ChromiumOS checkout, the directory tree is already set up this way.
In the adhd
directory, run:
bazel test //... @webrtc_apm//:tests
There are some configs you can use, such as --config=local-clang
and --config=asan
. Refer to adhd's bazelrc for details.
If you see pkg-config errors you are missing some system dependencies. (Googlers: follow go/cras-dev#prerequisites to install dependencies on gLinux)
Example:
FEATURES=test USE=asan emerge-${BOARD} adhd