Merge mozilla-beta to b2g34. a=merge
[gecko.git] / gfx / angle / README.mozilla
blob816c8603dd6002f5a2710039b13c3533962a2020
1 This is the ANGLE project, originally from https://chromium.googlesource.com/angle/angle 
3 The Mozilla upstream is the 'mozilla' branch from https://github.com/mozilla/angle, which
4 includes Mozilla-specific patches on top of upstream.
6 === How to upgrade ANGLE ===
8 1. git clone https://github.com/mozilla/angle angle
10 2. Go into the angle dir, and add the google upstream as a remote:
11      git remote add google https://chromium.googlesource.com/angle/angle
13 3. Fetch the new google upstream:
14      git fetch google
16 4. Switch to the mozilla branch
17      git checkout mozilla
19 5. Rebase the mozilla branch on top of the new google master.  Fix up patches along the way,
20    remove unneded commits.
21      git rebase -i google/master
23 6. Re-generate moz.build files:
24      ./gyp_mozbuild
26 7. nuke mozilla-central/gfx/angle directory
28 8. copy all the relevant files from the github checkout
29      cd mozilla-central
30      mkdir gfx/angle
31      cp -r /c/proj/angle/[A-Z]* /c/proj/angle/{include,src,moz.build} gfx/angle
33 9.  Build. Fix things until it builds.
35 10. Try runs and reviews!