commit | 424c988a2232d97ad4219671c3e30c7edcc79e6b | [log] [tgz] |
---|---|---|
author | Pattara Teerapong <pteerapong@chromium.org> | Thu Nov 02 15:16:35 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 21 10:51:27 2023 |
tree | 26e5c42cb74c970278d742a693b1c83982f54cc3 | |
parent | 54c9d62447257ab60f7e49b3be230732c9e01158 [diff] |
Uprev to upstream 117 branch-heads/5938 This uprevs to upstream commit 70aa7e99e4af06e9a2273793179dfcfddad11898. Steps: 1. Check out upstream code to the target version git fetch origin refs/branch-heads/5938 git checkout refs/branch-heads/5938 gclient sync -D 2. Run importer tool https://user.git.corp.google.com/aaronyu/webrtcimport BUG=b:308945634 TEST=CQ Change-Id: I1134a0fe15632e39eae9d98ca242ce84b181cfd2 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/webrtc-apm/+/5001445 Reviewed-by: Per Ã…hgren <peah@chromium.org> Commit-Queue: Pattara Teerapong <pteerapong@chromium.org> Tested-by: Pattara Teerapong <pteerapong@chromium.org> Reviewed-by: Li-Yu Yu <aaronyu@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