mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-05 02:02:52 +00:00
media/libvda: fix bindgen path after move
BUG=None TEST=media/libvda/bindgen.sh Change-Id: Icef4201663543abe7f52a595c72fd6321d5a8968 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3574975 Reviewed-by: Alexandre Courbot <acourbot@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
This commit is contained in:
parent
0ac97979b6
commit
1060d852d6
1 changed files with 4 additions and 4 deletions
|
@ -6,14 +6,14 @@
|
|||
# Regenerate libvda bindgen bindings.
|
||||
|
||||
set -euo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/.."
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")/../.."
|
||||
|
||||
source tools/impl/bindgen-common.sh
|
||||
|
||||
bindgen_generate \
|
||||
--allowlist-type='video_.*' \
|
||||
"${BINDGEN_PLATFORM2}/arc/vm/libvda/libvda_common.h" \
|
||||
> libvda/src/bindings.rs
|
||||
> media/libvda/src/bindings.rs
|
||||
|
||||
bindgen_generate \
|
||||
--raw-line 'pub use crate::bindings::*;' \
|
||||
|
@ -28,7 +28,7 @@ bindgen_generate \
|
|||
"${BINDGEN_PLATFORM2}/arc/vm/libvda/libvda_decode.h" \
|
||||
-- \
|
||||
-I "${BINDGEN_PLATFORM2}" \
|
||||
> libvda/src/decode/bindings.rs
|
||||
> media/libvda/src/decode/bindings.rs
|
||||
|
||||
bindgen_generate \
|
||||
--raw-line 'pub use crate::bindings::*;' \
|
||||
|
@ -43,4 +43,4 @@ bindgen_generate \
|
|||
"${BINDGEN_PLATFORM2}/arc/vm/libvda/libvda_encode.h" \
|
||||
-- \
|
||||
-I "${BINDGEN_PLATFORM2}" \
|
||||
> libvda/src/encode/bindings.rs
|
||||
> media/libvda/src/encode/bindings.rs
|
||||
|
|
Loading…
Reference in a new issue