17 Commits

Author SHA1 Message Date
James Robinson
3c7f75853a Remove //gpu and GLES* headers from third_party/khronos
This gets rid of the rest of the files in //gpu and the GLES{2,3}
headers from //third_party/khronos. The GL headers used for GLES{2,3}
come from the platform being targetted, that is
//mojo/public/c/gpu/GLES2 for Mojo,
//third_party/android_tools/ndk/platforms/android-XX/usr/include/GLES2
for Android and the OpenGL framework for Mac/iOS.

The //third_party/khronos/EGL headers are still being used by some
utility code in //ui/gl. This code is only really useful on Android, as
Sky doesn't use EGL on iOS/Mac/Mojo, but it's compiled in on all
platforms currently and relies on some EGL defines that are not set in
the EGL headers we currently use. These could probably be removed
without much trouble.

The //third_party/khronos/GLES2 headers are still used by some of
//ui/gl on iOS. These should be using the iOS OpenGL framework headers,
and will in the future.

Removes the unneeded KHRONOS_APICALL override from KHR/khrplatform.h

Rolls to a newer Mojo SDK that doesn't expect //third_party/khronos
2015-08-28 13:26:57 -07:00
James Robinson
ac393ede71 Remove //gpu and other unused code
Oneline diffstat: 489 files changed, 4 insertions(+), 186980
deletions(-)

This deletes all of //gpu (except for one export header) and
various bits of //mojo/{gpu,gles2} that are
not used. SkyShell on Android/iOS/etc bind to the system's GL
driver via //ui/gl. sky_viewer.mojo
binds to the Mojo C entry points.
2015-08-27 16:38:20 -07:00
James Robinson
8b4bdd242d Use C bindings to Mojo GL entry points exclusively 2015-08-27 15:58:24 -07:00
James Robinson
c8eff5e44f Update to mojo d259eb58aa59e14a13d5e0dc3984b855b475ba09
This updates to mojo commit d259eb58aa59 and limits the roll script to
only pull in the parts of //mojo that are currently being used. More
stuff will be dropped in the future.
2015-08-25 14:56:25 -07:00
John McCutchan
26d3132909 Fix patch application 2015-07-30 10:57:47 -07:00
John McCutchan
afb9b33680 Automatically apply patches for mojo and chromium rolls 2015-07-30 10:46:31 -07:00
Adam Barth
052a8fc747 Remove //tonic dependency
We don't import //tonic, which makes this dependency a gn-time failure.
Fortunately, we don't build this target anyway, so we can just remove this
line.
2015-07-29 21:12:22 -07:00
Adam Barth
9f0105510e Remove stray .orig file 2015-07-23 21:00:16 -07:00
Adam Barth
f0db19990c Update to mojo 894a8dd5afe950d4ab0d5f38902e0c14c1ebd01b 2015-07-20 10:24:43 -07:00
Adam Barth
3911c0ec45 Pull in fewer directories from Mojo 2015-07-20 10:24:39 -07:00
Adam Barth
9bdee8c896 Remove //third_party/protobuf
This code isn't referenced anymore.
2015-07-20 10:14:17 -07:00
Adam Barth
4d2ec11627 Remove some unnessary dependencies
- angle
- boringssl
- smhasher
- cython

Remove these dependencies required stripping down some BUILD.gn files to remove
targets we don't build.
2015-07-20 09:36:09 -07:00
Adam Barth
48be0d1a50 Fix build issues related to symlink.py
There are actually two uses cases for symlink.py. This CL restores
//build/symlink.py to match the version in Chromium and adds a new version in
////sky/build/symlink.py that works properly for the material-design-icons.
2015-07-17 15:41:40 -07:00
Adam Barth
91819c6e8c Attempt to make Travis go green 2015-07-17 11:09:17 -07:00
Adam Barth
7469cc32b2 Improve roll.py to make it actually work 2015-07-16 22:09:37 -07:00
Adam Barth
5b96c69f42 Improve roll.py to work with HEAD Chromium 2015-07-16 21:02:18 -07:00
Adam Barth
fe57061979 Add a script for updating code from Chromium and Mojo 2015-07-16 15:49:44 -07:00