Update webrtc-sys to default to using prebuilt
This commit is contained in:
parent
597e660276
commit
c1e2752bed
@ -5,6 +5,7 @@ version.workspace = true
|
||||
authors.workspace = true
|
||||
|
||||
[features]
|
||||
default = ["prebuilt-webrtc"]
|
||||
prebuilt-webrtc = ["webrtc-sys-build/prebuilt-webrtc"]
|
||||
simulator = ["webrtc-sys-build/simulator"]
|
||||
|
||||
|
||||
@ -264,9 +264,10 @@ pub fn download_prebuilt() -> anyhow::Result<()> {
|
||||
.unwrap_or_else(|| panic!("could not find checksum for artifact key: {}", *TARGET_KEY))
|
||||
.as_str()
|
||||
.expect("artifact checksum must be string");
|
||||
// TODO: build support for prebuilt debug profile
|
||||
let archive_filename = format!(
|
||||
"webrtc-{}-{}-{}.tar.bz2",
|
||||
*WEBRTC_VERSION, *TARGET_PAIR, *PROFILE
|
||||
*WEBRTC_VERSION, *TARGET_PAIR, "release"
|
||||
);
|
||||
let archive_local_dir = format!("{}/{}", *OUTPUT_DIR, *TARGET_KEY);
|
||||
let archive_local_path = format!("{}/{}", archive_local_dir, archive_filename);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user