2014-07-04 08:49:25 -07:00
|
|
|
This is the ANGLE project, originally from https://chromium.googlesource.com/angle/angle
|
2010-07-14 20:52:34 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
The Mozilla upstream is the 'mozilla' branch from https://github.com/mozilla/angle, which
|
|
|
|
includes Mozilla-specific patches on top of upstream.
|
2010-07-15 12:49:09 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
=== How to upgrade ANGLE ===
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
1. git clone https://github.com/mozilla/angle angle
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
2. Go into the angle dir, and add the google upstream as a remote:
|
|
|
|
git remote add google https://chromium.googlesource.com/angle/angle
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
3. Fetch the new google upstream:
|
|
|
|
git fetch google
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
4. Switch to the mozilla branch
|
|
|
|
git checkout mozilla
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
5. Rebase the mozilla branch on top of the new google master. Fix up patches along the way,
|
|
|
|
remove unneded commits.
|
|
|
|
git rebase -i google/master
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
6. Re-generate moz.build files:
|
|
|
|
./gyp_mozbuild
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
7. nuke mozilla-central/gfx/angle directory
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
8. copy all the relevant files from the github checkout
|
|
|
|
cd mozilla-central
|
|
|
|
mkdir gfx/angle
|
|
|
|
cp -r /c/proj/angle/[A-Z]* /c/proj/angle/{include,src,moz.build} gfx/angle
|
2013-09-06 17:24:36 -07:00
|
|
|
|
2014-07-04 08:49:25 -07:00
|
|
|
9. Build. Fix things until it builds.
|
2013-01-24 06:21:01 -08:00
|
|
|
|
|
|
|
10. Try runs and reviews!
|