Add build targets for advanced Intel instruction sets (1.5 of 3)
authormtklein <mtklein@chromium.org>
Tue, 25 Aug 2015 13:30:07 +0000 (06:30 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Aug 2015 13:30:07 +0000 (06:30 -0700)
commit85533968a81097322cc4e883448c1594ae868594
tree40323dc82f197aad800c0824c649d199c8b5b82e
parentab5d5de420503018b385b73e91b24812916c2080
Add build targets for advanced Intel instruction sets (1.5 of 3)

This is a follow-up to https://codereview.chromium.org/1290423007/,
with a couple small changes:

   - turn on AVX and AVX2 for Windows using /arch ('EnabledEnhancedInstructionSet')
   - reformat and de-conditionalize where possible / irrelevant

Picked up this while poking around in libvpx's Chrome GYPs.

And yes, AVX = 3, AVX2 = 5.  Don't even ask what 4 means...

BUG=skia:4117

Review URL: https://codereview.chromium.org/1309253002
gyp/opts.gyp