mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 02:14:43 +00:00
Bug 1601859 - Vendor cubeb-pulse-rs. r=kinetik
This technically breaks mach vendor rust because of the missing licenses, but this will be fixed subsequently. Differential Revision: https://phabricator.services.mozilla.com/D56161 --HG-- rename : media/libcubeb/cubeb-pulse-rs/AUTHORS => third_party/rust/cubeb-pulse/AUTHORS rename : media/libcubeb/cubeb-pulse-rs/Cargo.toml => third_party/rust/cubeb-pulse/Cargo.toml rename : media/libcubeb/cubeb-pulse-rs/LICENSE => third_party/rust/cubeb-pulse/LICENSE rename : media/libcubeb/cubeb-pulse-rs/README.md => third_party/rust/cubeb-pulse/README.md rename : media/libcubeb/cubeb-pulse-rs/src/backend/context.rs => third_party/rust/cubeb-pulse/src/backend/context.rs rename : media/libcubeb/cubeb-pulse-rs/src/backend/cork_state.rs => third_party/rust/cubeb-pulse/src/backend/cork_state.rs rename : media/libcubeb/cubeb-pulse-rs/src/backend/intern.rs => third_party/rust/cubeb-pulse/src/backend/intern.rs rename : media/libcubeb/cubeb-pulse-rs/src/backend/mod.rs => third_party/rust/cubeb-pulse/src/backend/mod.rs rename : media/libcubeb/cubeb-pulse-rs/src/backend/stream.rs => third_party/rust/cubeb-pulse/src/backend/stream.rs rename : media/libcubeb/cubeb-pulse-rs/src/capi.rs => third_party/rust/cubeb-pulse/src/capi.rs rename : media/libcubeb/cubeb-pulse-rs/src/lib.rs => third_party/rust/cubeb-pulse/src/lib.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/Cargo.toml => third_party/rust/pulse-ffi/Cargo.toml rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_funcs.rs => third_party/rust/pulse-ffi/src/ffi_funcs.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/ffi_types.rs => third_party/rust/pulse-ffi/src/ffi_types.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-ffi/src/lib.rs => third_party/rust/pulse-ffi/src/lib.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/Cargo.toml => third_party/rust/pulse/Cargo.toml rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/context.rs => third_party/rust/pulse/src/context.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/error.rs => third_party/rust/pulse/src/error.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/lib.rs => third_party/rust/pulse/src/lib.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/mainloop_api.rs => third_party/rust/pulse/src/mainloop_api.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/operation.rs => third_party/rust/pulse/src/operation.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/proplist.rs => third_party/rust/pulse/src/proplist.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/stream.rs => third_party/rust/pulse/src/stream.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/threaded_mainloop.rs => third_party/rust/pulse/src/threaded_mainloop.rs rename : media/libcubeb/cubeb-pulse-rs/pulse-rs/src/util.rs => third_party/rust/pulse/src/util.rs extra : moz-landing-system : lando
This commit is contained in:
parent
1c4ef0191c
commit
7f4fff1db4
@ -32,6 +32,11 @@ branch = "rust_1_32"
|
||||
git = "https://github.com/hsivonen/packed_simd"
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source."https://github.com/djg/cubeb-pulse-rs"]
|
||||
git = "https://github.com/djg/cubeb-pulse-rs"
|
||||
replace-with = "vendored-sources"
|
||||
rev = "f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df"
|
||||
|
||||
[source."https://github.com/bytecodealliance/cranelift"]
|
||||
git = "https://github.com/bytecodealliance/cranelift"
|
||||
replace-with = "vendored-sources"
|
||||
|
14
Cargo.lock
generated
14
Cargo.lock
generated
@ -848,10 +848,11 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "cubeb-pulse"
|
||||
version = "0.3.0"
|
||||
source = "git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df#f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df"
|
||||
dependencies = [
|
||||
"cubeb-backend 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pulse 0.3.0",
|
||||
"pulse-ffi 0.1.0",
|
||||
"pulse 0.3.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)",
|
||||
"pulse-ffi 0.1.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)",
|
||||
"ringbuf 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"semver 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@ -1456,7 +1457,7 @@ dependencies = [
|
||||
"cert_storage 0.0.1",
|
||||
"cose-c 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"cubeb-coreaudio 0.1.0 (git+https://github.com/ChunMinChang/cubeb-coreaudio-rs?rev=0920240e4166d2b562840c8062e149d63f7c3a02)",
|
||||
"cubeb-pulse 0.3.0",
|
||||
"cubeb-pulse 0.3.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)",
|
||||
"cubeb-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"encoding_glue 0.1.0",
|
||||
"env_logger 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
@ -2907,14 +2908,16 @@ dependencies = [
|
||||
[[package]]
|
||||
name = "pulse"
|
||||
version = "0.3.0"
|
||||
source = "git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df#f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df"
|
||||
dependencies = [
|
||||
"bitflags 1.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
"pulse-ffi 0.1.0",
|
||||
"pulse-ffi 0.1.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "pulse-ffi"
|
||||
version = "0.1.0"
|
||||
source = "git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df#f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df"
|
||||
dependencies = [
|
||||
"libc 0.2.59 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||
]
|
||||
@ -4782,6 +4785,7 @@ dependencies = [
|
||||
"checksum cubeb-backend 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5a1e7add4e7642a8aebb24172922318482bed52389a12cb339f728bbd4c4ed9c"
|
||||
"checksum cubeb-core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfd9b2ea1cb6afed9419b0d18fc4093df552ccb2300eb57793629f8cd370b4c8"
|
||||
"checksum cubeb-coreaudio 0.1.0 (git+https://github.com/ChunMinChang/cubeb-coreaudio-rs?rev=0920240e4166d2b562840c8062e149d63f7c3a02)" = "<none>"
|
||||
"checksum cubeb-pulse 0.3.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)" = "<none>"
|
||||
"checksum cubeb-sys 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "309c5839c5fa03c08363bd308566cbe4654b25a9984342d7546a33d55b80a3d6"
|
||||
"checksum d3d12 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc7ed48e89905e5e146bcc1951cc3facb9e44aea9adf5dc01078cda1bd24b662"
|
||||
"checksum darling 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "3fe629a532efad5526454efb0700f86d5ad7ff001acb37e431c8bf017a432a8e"
|
||||
@ -4949,6 +4953,8 @@ dependencies = [
|
||||
"checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915"
|
||||
"checksum proc-macro2 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "90cf5f418035b98e655e9cdb225047638296b862b42411c4e45bb88d700f7fc0"
|
||||
"checksum procedural-masquerade 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9f566249236c6ca4340f7ca78968271f0ed2b0f234007a61b66f9ecd0af09260"
|
||||
"checksum pulse 0.3.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)" = "<none>"
|
||||
"checksum pulse-ffi 0.1.0 (git+https://github.com/djg/cubeb-pulse-rs?rev=f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df)" = "<none>"
|
||||
"checksum quick-error 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "eda5fe9b71976e62bc81b781206aaa076401769b2143379d3eb2118388babac4"
|
||||
"checksum quote 0.3.15 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e920b65c65f10b2ae65c831a81a073a89edd28c7cce89475bff467ab4167a"
|
||||
"checksum quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1"
|
||||
|
@ -1,8 +0,0 @@
|
||||
The source from this directory was copied from the cubeb-pulse-rs
|
||||
git repository using the update.sh script. The only changes
|
||||
made were those applied by update.sh and the addition of
|
||||
Makefile.in build files for the Mozilla build system.
|
||||
|
||||
The cubeb-pulse-rs git repository is: https://github.com/djg/cubeb-pulse-rs.git
|
||||
|
||||
The git commit ID used was f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df (2019-10-01 23:32:32 +1300)
|
@ -1,99 +0,0 @@
|
||||
// Copyright © 2017-2018 Mozilla Foundation
|
||||
//
|
||||
// This program is made available under an ISC-style license. See the
|
||||
// accompanying file LICENSE for details.
|
||||
|
||||
use cubeb_backend::ffi::*;
|
||||
|
||||
static CHANNEL_LAYOUT_UNDEFINED: &'static [cubeb_channel] = &[CHANNEL_INVALID];
|
||||
static CHANNEL_LAYOUT_DUAL_MONO: &'static [cubeb_channel] = &[CHANNEL_LEFT, CHANNEL_RIGHT];
|
||||
static CHANNEL_LAYOUT_DUAL_MONO_LFE: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_LFE];
|
||||
static CHANNEL_LAYOUT_MONO: &'static [cubeb_channel] = &[CHANNEL_MONO];
|
||||
static CHANNEL_LAYOUT_MONO_LFE: &'static [cubeb_channel] = &[CHANNEL_MONO, CHANNEL_LFE];
|
||||
static CHANNEL_LAYOUT_STEREO: &'static [cubeb_channel] = &[CHANNEL_LEFT, CHANNEL_RIGHT];
|
||||
static CHANNEL_LAYOUT_STEREO_LFE: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_LFE];
|
||||
static CHANNEL_LAYOUT_3F: &'static [cubeb_channel] = &[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_CENTER];
|
||||
static CHANNEL_LAYOUT_3FLFE: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_CENTER, CHANNEL_LFE];
|
||||
static CHANNEL_LAYOUT_2F1: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_RCENTER];
|
||||
static CHANNEL_LAYOUT_2F1LFE: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_LFE, CHANNEL_RCENTER];
|
||||
static CHANNEL_LAYOUT_3F1: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_CENTER, CHANNEL_RCENTER];
|
||||
static CHANNEL_LAYOUT_3F1LFE: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_CENTER,
|
||||
CHANNEL_LFE,
|
||||
CHANNEL_RCENTER,
|
||||
];
|
||||
static CHANNEL_LAYOUT_2F2: &'static [cubeb_channel] =
|
||||
&[CHANNEL_LEFT, CHANNEL_RIGHT, CHANNEL_LS, CHANNEL_RS];
|
||||
static CHANNEL_LAYOUT_2F2LFE: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_LFE,
|
||||
CHANNEL_LS,
|
||||
CHANNEL_RS,
|
||||
];
|
||||
static CHANNEL_LAYOUT_3F2: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_CENTER,
|
||||
CHANNEL_LS,
|
||||
CHANNEL_RS,
|
||||
];
|
||||
static CHANNEL_LAYOUT_3F2LFE: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_CENTER,
|
||||
CHANNEL_LFE,
|
||||
CHANNEL_LS,
|
||||
CHANNEL_RS,
|
||||
];
|
||||
static CHANNEL_LAYOUT_3F3RLFE: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_CENTER,
|
||||
CHANNEL_LFE,
|
||||
CHANNEL_RCENTER,
|
||||
CHANNEL_LS,
|
||||
CHANNEL_RS,
|
||||
];
|
||||
static CHANNEL_LAYOUT_3F4LFE: &'static [cubeb_channel] = &[
|
||||
CHANNEL_LEFT,
|
||||
CHANNEL_RIGHT,
|
||||
CHANNEL_CENTER,
|
||||
CHANNEL_LFE,
|
||||
CHANNEL_RLS,
|
||||
CHANNEL_RRS,
|
||||
CHANNEL_LS,
|
||||
CHANNEL_RS,
|
||||
];
|
||||
|
||||
pub fn channel_index_to_order(layout: cubeb_channel_layout) -> &'static [cubeb_channel] {
|
||||
match layout {
|
||||
CUBEB_LAYOUT_DUAL_MONO => CHANNEL_LAYOUT_DUAL_MONO,
|
||||
CUBEB_LAYOUT_DUAL_MONO_LFE => CHANNEL_LAYOUT_DUAL_MONO_LFE,
|
||||
CUBEB_LAYOUT_MONO => CHANNEL_LAYOUT_MONO,
|
||||
CUBEB_LAYOUT_MONO_LFE => CHANNEL_LAYOUT_MONO_LFE,
|
||||
CUBEB_LAYOUT_STEREO => CHANNEL_LAYOUT_STEREO,
|
||||
CUBEB_LAYOUT_STEREO_LFE => CHANNEL_LAYOUT_STEREO_LFE,
|
||||
CUBEB_LAYOUT_3F => CHANNEL_LAYOUT_3F,
|
||||
CUBEB_LAYOUT_3F_LFE => CHANNEL_LAYOUT_3FLFE,
|
||||
CUBEB_LAYOUT_2F1 => CHANNEL_LAYOUT_2F1,
|
||||
CUBEB_LAYOUT_2F1_LFE => CHANNEL_LAYOUT_2F1LFE,
|
||||
CUBEB_LAYOUT_3F1 => CHANNEL_LAYOUT_3F1,
|
||||
CUBEB_LAYOUT_3F1_LFE => CHANNEL_LAYOUT_3F1LFE,
|
||||
CUBEB_LAYOUT_2F2 => CHANNEL_LAYOUT_2F2,
|
||||
CUBEB_LAYOUT_2F2_LFE => CHANNEL_LAYOUT_2F2LFE,
|
||||
CUBEB_LAYOUT_3F2 => CHANNEL_LAYOUT_3F2,
|
||||
CUBEB_LAYOUT_3F2_LFE => CHANNEL_LAYOUT_3F2LFE,
|
||||
CUBEB_LAYOUT_3F3R_LFE => CHANNEL_LAYOUT_3F3RLFE,
|
||||
CUBEB_LAYOUT_3F4_LFE => CHANNEL_LAYOUT_3F4LFE,
|
||||
_ => CHANNEL_LAYOUT_UNDEFINED,
|
||||
}
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Usage: sh update.sh <upstream_src_directory>
|
||||
set -e
|
||||
|
||||
cp -p $1/AUTHORS .
|
||||
cp -p $1/LICENSE .
|
||||
cp -p $1/README.md .
|
||||
cp -p $1/Cargo.toml .
|
||||
test -d src || mkdir -p src
|
||||
cp -pr $1/src/* src/
|
||||
test -d pulse-ffi/src || mkdir -p pulse-ffi/src
|
||||
cp -pr $1/pulse-ffi/Cargo.toml pulse-ffi/
|
||||
cp -pr $1/pulse-ffi/src/* pulse-ffi/src/
|
||||
test -d pulse-rs/src || mkdir -p pulse-rs/src
|
||||
cp -pr $1/pulse-rs/Cargo.toml pulse-rs/
|
||||
cp -pr $1/pulse-rs/src/* pulse-rs/src/
|
||||
|
||||
if [ -d $1/.git ]; then
|
||||
rev=$(cd $1 && git rev-parse --verify HEAD)
|
||||
date=$(cd $1 && git show -s --format=%ci HEAD)
|
||||
dirty=$(cd $1 && git diff-index --name-only HEAD)
|
||||
fi
|
||||
|
||||
if [ -n "$rev" ]; then
|
||||
version=$rev
|
||||
if [ -n "$dirty" ]; then
|
||||
version=$version-dirty
|
||||
echo "WARNING: updating from a dirty git repository."
|
||||
fi
|
||||
sed -i.bak -e "/The git commit ID used was/ s/[0-9a-f]\{40\}\(-dirty\)\{0,1\} .\{1,100\}/$version ($date)/" README_MOZILLA
|
||||
rm README_MOZILLA.bak
|
||||
else
|
||||
echo "Remember to update README_MOZILLA with the version details."
|
||||
fi
|
1
third_party/rust/cubeb-pulse/.cargo-checksum.json
vendored
Normal file
1
third_party/rust/cubeb-pulse/.cargo-checksum.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"files":{".editorconfig":"bf047bd1da10cabb99eea666d1e57c321eba4716dccb3e4ed0e2c5fe3ca53858",".travis.yml":"0394e2adb041175457685cde5ee05ff04bdab8885fd8a62551f2ff43d9e48872","AUTHORS":"0e0ac930a68ce2f6b876126b195add177f0d3886facb9260f4d9b69f1988f0cc","Cargo.toml":"e35841abe5d1118d3f2b4bd13d31adabea04d386080d983d5ea0dc3daf8d58bf","LICENSE":"44c6b5ae5ec3fe2fbc608b00e6f4896f4d2d5c7e525fcbaa3eaa3cf2f3d5a983","README.md":"e6a98ee5630b9ce1a096a2907d095454f2770e298a5b0976ab552cc53ca96cfc","src/backend/context.rs":"33d9fdf1504fe1ae43d301e288daf6eaeabeb47aa0ef86efa135c6d984425fc4","src/backend/cork_state.rs":"4a0f1afc7d9f333dac89218cc56d7d32fbffb487cd48c1c9a4e03d79cb3b5e28","src/backend/intern.rs":"374a9a3bd79fddc47739dda1dbfc5929aea5a91946794fe65fba3c8d130fbda9","src/backend/mod.rs":"06ce9250865abf0ea461f215b128470636d072a6776821efef3caf5a7b992fb9","src/backend/stream.rs":"201b0f22a78bae9741a6a196cd40a92108dfef365e009d39cc9d9e1d63fbe74a","src/capi.rs":"b2c1be8128cadd36caa65c80950440f9d6f2aa0c24cc7bae6a9eaf6347ac454d","src/lib.rs":"7282560d84b134b09acfd8d6282600982e42fb3557f72454c535637cc26c7bf6"},"package":null}
|
12
third_party/rust/cubeb-pulse/.editorconfig
vendored
Normal file
12
third_party/rust/cubeb-pulse/.editorconfig
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
root = true
|
||||
|
||||
[*]
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
70
third_party/rust/cubeb-pulse/.travis.yml
vendored
Normal file
70
third_party/rust/cubeb-pulse/.travis.yml
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
language: rust
|
||||
cache: cargo
|
||||
notifications:
|
||||
email:
|
||||
on_success: never
|
||||
|
||||
rust:
|
||||
# Version 1.36 is the minimum version of rust supported by Gecko.
|
||||
- 1.36.0
|
||||
- stable
|
||||
- nightly
|
||||
|
||||
env:
|
||||
# default jobs with and without optional features.
|
||||
-
|
||||
- FEATURES=pulse-dlopen
|
||||
|
||||
# Invoke cargo with optional target or features switches.
|
||||
script: >
|
||||
cargo test
|
||||
${TARGET:+--target ${TARGET}}
|
||||
${FEATURES:+--features ${FEATURES}}
|
||||
|
||||
# Install cross target if necessary.
|
||||
before_install:
|
||||
if test -n "${TARGET}"; then rustup target add ${TARGET}; fi
|
||||
|
||||
addons: &apt_64
|
||||
apt:
|
||||
packages:
|
||||
- libpulse-dev
|
||||
|
||||
matrix:
|
||||
include:
|
||||
# Add in 32-bit builds
|
||||
- rust: 1.36.0
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
addons: &apt_32
|
||||
apt:
|
||||
packages:
|
||||
- gcc-multilib
|
||||
- g++-multilib
|
||||
- libpulse-dev:i386
|
||||
- libglib2.0-dev:i386
|
||||
- rust: 1.36.0
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
- FEATURES=pulse-dlopen
|
||||
addons: *apt_32
|
||||
- rust: stable
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
addons: *apt_32
|
||||
- rust: stable
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
- FEATURES=pulse-dlopen
|
||||
addons: *apt_32
|
||||
- rust: nightly
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
addons: *apt_32
|
||||
- rust: nightly
|
||||
env:
|
||||
- TARGET=i686-unknown-linux-gnu
|
||||
- FEATURES=pulse-dlopen
|
||||
addons: *apt_32
|
||||
allow_failures:
|
||||
- rust: nightly
|
1
third_party/rust/pulse-ffi/.cargo-checksum.json
vendored
Normal file
1
third_party/rust/pulse-ffi/.cargo-checksum.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"files":{"Cargo.toml":"d4c2d2074582372a94e3e6ad7f11c99784e90ecd7723327ac349c2b1054cd2ec","src/ffi_funcs.rs":"0aae9bb21ead31098b38a2f64a0366b9e8b129dd250b5780deae9deb1a8a1499","src/ffi_types.rs":"fd6ca280be7601ae1990d4d0626fa9c4c6c9c958040c29e651764d06386d15c1","src/lib.rs":"edb03c6d9bcddc69a688160ffda0b8bdb69f1f87ccbc3e3b005574c9d5484991"},"package":null}
|
1
third_party/rust/pulse/.cargo-checksum.json
vendored
Normal file
1
third_party/rust/pulse/.cargo-checksum.json
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"files":{"Cargo.toml":"c1f3e23d61a434a65e8e11561ba39b8ad90d1c8909fac3d53ec26f14bfe3f523","src/context.rs":"5e43131c0a989336e149b5408e0b362c0ef8176854785f98191f86b75ef5d76a","src/error.rs":"7be0ad689b6519a5be3771c29a102ff394bdc5ee46502d418bced90268e912dd","src/lib.rs":"8636d18c55b7ccd8e79d45a8d12ea84ba94b7aeef8ac3975292c94a28ed4a2b1","src/mainloop_api.rs":"b4a6c7e1a507490157c5b4a25af367cf810e1ef64c7a96f71575a15674d9b649","src/operation.rs":"c0d3e28ef7db52d60b19f931fe7bb44271127009b2e82693da2b7e342e804022","src/proplist.rs":"65bfc2b90f31bc3969aef69eb3e26b34ac657a2149f1b6515791403d752f3fc5","src/stream.rs":"577301501d9ef0452379b82bcbf39b8d511d7091cfb8c8cbb3626a8c9a487aad","src/threaded_mainloop.rs":"958181a46363ded3ac8e0d9c9d912587cb6f9f26ae6f190881014adbda2d3211","src/util.rs":"d971486fd828b8b9d81db61a21a77960ea34a99a59b96fceaf77c2b84ed2accc"},"package":null}
|
@ -20,7 +20,7 @@ profiler_helper = { path = "../../../../tools/profiler/rust-helper", optional =
|
||||
mozurl = { path = "../../../../netwerk/base/mozurl" }
|
||||
webrender_bindings = { path = "../../../../gfx/webrender_bindings", optional = true }
|
||||
cubeb-coreaudio = { git = "https://github.com/ChunMinChang/cubeb-coreaudio-rs", rev = "0920240e4166d2b562840c8062e149d63f7c3a02", optional = true }
|
||||
cubeb-pulse = { path = "../../../../media/libcubeb/cubeb-pulse-rs", optional = true, features=["pulse-dlopen"] }
|
||||
cubeb-pulse = { git = "https://github.com/djg/cubeb-pulse-rs", rev="f9eb50b87328b5ebdc4a310f9e0f445ee89aa9df", optional = true, features=["pulse-dlopen"] }
|
||||
cubeb-sys = { version = "0.6", optional = true, features=["gecko-in-tree"] }
|
||||
encoding_glue = { path = "../../../../intl/encoding_glue" }
|
||||
audioipc-client = { path = "../../../../media/audioipc/client", optional = true }
|
||||
|
Loading…
Reference in New Issue
Block a user