mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-15 10:09:45 +00:00
Move AOM cloning to napa
This commit is contained in:
@@ -11,10 +11,7 @@ echo "============================================="
|
||||
echo "Compiling libaom"
|
||||
echo "============================================="
|
||||
test -n "$SKIP_LIBAOM" || (
|
||||
cd node_modules/libavif/ext
|
||||
test -d aom || git clone -b v1.0.0-errata1-avif --depth 1 https://aomedia.googlesource.com/aom aom
|
||||
|
||||
cd aom
|
||||
cd node_modules/libavif/ext/aom
|
||||
mkdir -p build.libavif
|
||||
cd build.libavif
|
||||
|
||||
|
||||
@@ -5,7 +5,8 @@
|
||||
"build": "docker run --rm -v $(pwd):/src trzeci/emscripten-upstream ./build.sh"
|
||||
},
|
||||
"napa": {
|
||||
"libavif": "AOMediaCodec/libavif#v0.7.3"
|
||||
"libavif": "AOMediaCodec/libavif#v0.7.3",
|
||||
"libavif/ext/aom": "git+https://aomedia.googlesource.com/aom#v1.0.0-errata1-avif"
|
||||
},
|
||||
"devDependencies": {
|
||||
"napa": "3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user