|
|
@ -13,6 +13,17 @@ SOURCE_VALUE=4.3.1 |
|
|
|
BINUTILS=gnu |
|
|
|
BINUTILS=gnu |
|
|
|
EXTERNAL_LIBRARIES=() |
|
|
|
EXTERNAL_LIBRARIES=() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ALL_SUPPORTED_LIBRARIES=( |
|
|
|
|
|
|
|
"libaom" |
|
|
|
|
|
|
|
"libdav1d" |
|
|
|
|
|
|
|
"libmp3lame" |
|
|
|
|
|
|
|
"libopus" |
|
|
|
|
|
|
|
"libwavpack" |
|
|
|
|
|
|
|
"libtwolame" |
|
|
|
|
|
|
|
"libspeex" |
|
|
|
|
|
|
|
"libvpx" |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
for argument in "$@"; do |
|
|
|
for argument in "$@"; do |
|
|
|
case $argument in |
|
|
|
case $argument in |
|
|
|
# Build for only specified ABIs (separated by comma) |
|
|
|
# Build for only specified ABIs (separated by comma) |
|
|
@ -91,6 +102,9 @@ for argument in "$@"; do |
|
|
|
--enable-libvpx|-vpx) |
|
|
|
--enable-libvpx|-vpx) |
|
|
|
EXTERNAL_LIBRARIES+=( "libvpx" ) |
|
|
|
EXTERNAL_LIBRARIES+=( "libvpx" ) |
|
|
|
;; |
|
|
|
;; |
|
|
|
|
|
|
|
--enable-all-external|-all) |
|
|
|
|
|
|
|
EXTERNAL_LIBRARIES=${ALL_SUPPORTED_LIBRARIES[@]} |
|
|
|
|
|
|
|
;; |
|
|
|
*) |
|
|
|
*) |
|
|
|
echo "Unknown argument $argument" |
|
|
|
echo "Unknown argument $argument" |
|
|
|
;; |
|
|
|
;; |
|
|
|