mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1219530 - Add MOZ_RUST_MP4PARSE feature switch. r=glandium
Add a switch to enable the rust mp4parser code through confvars.sh and set this for browser targets. Configure will only pass this through as a CPP define if the rust toolchain is available. The MOZ_RUST check it hoisted to an ourter conditional to make it easier to add other features.
This commit is contained in:
parent
6fa60f7652
commit
72c053c9d7
@ -63,6 +63,7 @@ MOZ_PAY=1
|
||||
MOZ_ACTIVITIES=1
|
||||
MOZ_JSDOWNLOADS=1
|
||||
MOZ_WEBM_ENCODER=1
|
||||
MOZ_RUST_MP4PARSE=1
|
||||
|
||||
# Enable checking that add-ons are signed by the trusted root
|
||||
MOZ_ADDON_SIGNING=1
|
||||
|
@ -4030,6 +4030,13 @@ if test -n "$MOZ_B2GDROID"; then
|
||||
AC_DEFINE(MOZ_B2GDROID)
|
||||
fi
|
||||
|
||||
# Propagate feature switches for code written in rust from confvars.sh
|
||||
if test -n "MOZ_RUST"; then
|
||||
if test -n "MOZ_RUST_MP4PARSE"; then
|
||||
AC_DEFINE(MOZ_RUST_MP4PARSE)
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_BUILD_APP)
|
||||
AC_SUBST(MOZ_PHOENIX)
|
||||
AC_SUBST(MOZ_XULRUNNER)
|
||||
|
Loading…
Reference in New Issue
Block a user