Descriptiongenerate_gypi.sh: --disable-avx and --only-config flags
Add two flags to make the script more flexible:
--disable-avx: do not generate AVX and AVX2 sources.
--only-configs: only generate configuration header (i.e. no GN or GYP files).
TESTED=Ran:
./generate_gypi.sh
and verified nothing changed in the checkout.
./generate_gypi.sh --disable-avx
and verified AVX was disabled.
./generate_gypi.sh --only-configs
with a modified .gypi and verified it was not overwritten.
R=johannkoenig@google.com
Committed: https://chromium.googlesource.com/chromium/deps/libvpx/+/46b04d71b9d97d2719c0d93937b049a6f72cfde1
Patch Set 1 #
Total comments: 14
Patch Set 2 : Properly exclude AVX2 functions (run with --disable-avx) #
Total comments: 1
Patch Set 3 : Review comments addressed, restored result of run without any flags #
Total comments: 2
Patch Set 4 : Rebased and removed edits to source/libvpx/vpx_dsp/vpx_dsp_rtcd_defs.pl #Patch Set 5 : Final touches #Messages
Total messages: 14 (2 generated)
|