3 | | There are some important things to do when pulling in a new revision of ANGLE. |
4 | | |
5 | | 1. Add a note explaining that we are explicitly choosing the non-GPL license for distributing sources based on Bison 2.4+. Add the following text: "* Apple Note: For the avoidance of doubt, Apple elects to distribute this file under the terms of the BSD license." to the files: |
6 | | - glslang_tab.cpp |
7 | | - glslang_tab.h |
8 | | - ExpressionParser.cpp |
9 | | 2. Update ANGLE.plist with the details of the version of ANGLE you are committing. |
10 | | 3. Add preprocessor comments to allow ANGLE to build on older versions of clang. Basically, copy [http://trac.webkit.org/changeset/154223 this commit] (although we no longer run the bison generation step, so you only need to touch the .cpp files) |
11 | | 4. Update ShaderLang.h to include "khrplatform.h" not "KHR/khrplatform.h" |
12 | | 5. Define YY_NO_INPUT in Tokenizer.cpp |
13 | | 6. Copy the change from [https://trac.webkit.org/changeset/225584/webkit this commit]. |
14 | | 7. Then whatever needs to be done to get it to compile on all ports (mostly avoiding clang warnings) |
| 3 | When pulling in a new revision of ANGLE, you must run the script [https://trac.webkit.org/browser/webkit/trunk/Source/ThirdParty/ANGLE/update-angle.sh Source/ThirdParty/ANGLE/update-angle.sh] and follow its instructions. This script will attempt to update to a new version of ANGLE without losing WebKit changes. |