diff options
author | Kennan Gumbs <kennangumbs@google.com> | 2021-07-27 16:08:55 -0400 |
---|---|---|
committer | Openscreen LUCI CQ <openscreen-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2021-07-27 22:40:55 +0000 |
commit | d816f4dcef882eaa8d1e4a6de5f1ea2d8fdd7d8a (patch) | |
tree | 72de929aad73096ab9235f8bae004427ea8e431e | |
parent | d3d748595d324fb16043df329c9eb906f1d20bf4 (diff) | |
download | openscreen-d816f4dcef882eaa8d1e4a6de5f1ea2d8fdd7d8a.tar.gz |
Add AOM as a third_party dependency
This patch adds a dependency on the AOM library to be used for AV1 codec
support.
Change-Id: If1cf68a3c64e7cb419bfb2378b5ef9ff29fd8d6d
Bug: b/194189589
Reviewed-on: https://chromium-review.googlesource.com/c/openscreen/+/3039421
Commit-Queue: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: mark a. foltz <mfoltz@chromium.org>
Reviewed-by: Jordan Bayles <jophba@chromium.org>
-rw-r--r-- | DEPS | 8 | ||||
-rw-r--r-- | cast/standalone_sender/BUILD.gn | 1 | ||||
-rw-r--r-- | third_party/aomedia/BUILD.gn | 14 | ||||
-rw-r--r-- | third_party/aomedia/README.chromium | 9 |
4 files changed, 32 insertions, 0 deletions
@@ -13,6 +13,7 @@ vars = { 'boringssl_git': 'https://boringssl.googlesource.com', 'chromium_git': 'https://chromium.googlesource.com', 'quiche_git': 'https://quiche.googlesource.com', + 'aomedia_git': 'https://aomedia.googlesource.com', # NOTE: we should only reference GitHub directly for dependencies toggled # with the "not build_with_chromium" condition. @@ -162,6 +163,13 @@ deps = { 'url': Var('github') + '/tristanpenman/valijson.git' + '@' + 'cf648930313655b19dc07ebae2f9c3fc37966a33', # Tip-of-tree 'condition': 'not build_with_chromium' + }, + + # Keep in sync with third_party/libaom/source/libaom in Chromium DEPS + 'third_party/aomedia/src': { + 'url': Var('aomedia_git') + '/aom.git' + + '@' + 'bb20160fbdd8226e7904541c8da70b91703e62b8', + 'condition': 'not build_with_chromium' } } diff --git a/cast/standalone_sender/BUILD.gn b/cast/standalone_sender/BUILD.gn index baf44383..b83028d4 100644 --- a/cast/standalone_sender/BUILD.gn +++ b/cast/standalone_sender/BUILD.gn @@ -26,6 +26,7 @@ if (!build_with_chromium) { "../../discovery:public", "../../platform", "../../platform:standalone_impl", + "../../third_party/aomedia", "../../third_party/jsoncpp", "../../util", "../common:public", diff --git a/third_party/aomedia/BUILD.gn b/third_party/aomedia/BUILD.gn new file mode 100644 index 00000000..1dd90696 --- /dev/null +++ b/third_party/aomedia/BUILD.gn @@ -0,0 +1,14 @@ +# Copyright (c) 2021 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +config("aomedia_config") { + include_dirs = [ "src" ] +} + +source_set("aomedia") { + sources = [ + "aom/aom_encoder.h", + "aom/aomcx.h", + ] +} diff --git a/third_party/aomedia/README.chromium b/third_party/aomedia/README.chromium new file mode 100644 index 00000000..c735109a --- /dev/null +++ b/third_party/aomedia/README.chromium @@ -0,0 +1,9 @@ +Name: AOM +URL: https://aomedia.googlesource.com/aom +Version: git +License: BSD +License File: src/LICENSE +Security Critical: no + +Description: +AOM is an AV1 codec library for encoding and decoding. |