| Index: mojo/mojo_public.gypi
|
| diff --git a/mojo/mojo_public.gypi b/mojo/mojo_public.gypi
|
| index 42cc9f504f49a106e43e62dca7923b403a9efcde..46730f9a473acc3765106166da663bb6829cbc9c 100644
|
| --- a/mojo/mojo_public.gypi
|
| +++ b/mojo/mojo_public.gypi
|
| @@ -44,6 +44,45 @@
|
| ],
|
| },
|
| {
|
| + 'target_name': 'mojo_gles2',
|
| + 'type': 'static_library',
|
| + 'defines': [
|
| + 'MOJO_GLES2_IMPLEMENTATION',
|
| + 'GLES2_USE_MOJO',
|
| + ],
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'dependencies': [
|
| + '../third_party/khronos/khronos.gyp:khronos_headers'
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'include_dirs': [
|
| + '..',
|
| + ],
|
| + 'defines': [
|
| + 'GLES2_USE_MOJO',
|
| + ],
|
| + },
|
| + 'all_dependent_settings': {
|
| + 'conditions': [
|
| + # We need to be able to call the MojoSetGLES2Thunks() function in
|
| + # gles2_thunks.cc
|
| + ['OS=="android"', {
|
| + 'ldflags!': [
|
| + '-Wl,--exclude-libs=ALL',
|
| + ],
|
| + }],
|
| + ],
|
| + },
|
| + 'sources': [
|
| + 'public/c/gles2/gles2.h',
|
| + 'public/c/gles2/gles2_export.h',
|
| + 'public/platform/native/gles2_thunks.cc',
|
| + 'public/platform/native/gles2_thunks.h',
|
| + ],
|
| + },
|
| + {
|
| # GN version: //mojo/public/cpp/bindings
|
| 'target_name': 'mojo_cpp_bindings',
|
| 'type': 'static_library',
|
|
|