gyp to mozbuild scripts extract form Mozila's ANGLE fork.
- Copy all files here to an ANGLE repository (/path/to/ANGLE)
- Apply the git patches to ANGLE
- Execute gyp_mozbuild
- Manually fix moz.build under /path/to/ANGLE/src/libANGLE
--(1) Move '../third_party/systeminfo/SystemInfo.cpp' from SOURCES to UNIFIED_SOURCE above. --(2) Move 'renderer/d3d/d3d11/win32/NativeWindow11Win32.cpp' from UNIFIED_SOURCE to SOURCE below
- rm -rf /path/to/gecko/gfx/angle
- mkdir -p /path/to/gecko/gfx/angle
- cp -r /path/to/ANGLE/[A-Z]* /path/to/ANGLE/{include,src,moz.build} /path/to/gecko/gfx/angle
- cd /path/to/gecko
- git add gfx/angle
- git add -f gfx/angle/src/id
- git commit
- Build