Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(518)

Unified Diff: mojo/mojo_base.gyp

Issue 460743002: mojo: Reland "Convert gles2 to the new thunking system." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use the mojo_gles2_for_loadable_module variable in more places. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « mojo/mojo_apps_js_unittests.isolate ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_base.gyp
diff --git a/mojo/mojo_base.gyp b/mojo/mojo_base.gyp
index e08c2680925f9d27a95d58790fd7a9691c58dcea..192c4d7ecfd53949be8b8dccfaebb71a777341d0 100644
--- a/mojo/mojo_base.gyp
+++ b/mojo/mojo_base.gyp
@@ -342,6 +342,67 @@
],
},
{
+ # GN version: //mojo/services/gles2:interfaces (for files generated from
+ # the mojom file)
+ # GN version: //mojo/services/gles2:bindings
+ 'target_name': 'mojo_gles2_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'services/gles2/command_buffer.mojom',
+ 'services/gles2/command_buffer_type_conversions.cc',
+ 'services/gles2/command_buffer_type_conversions.h',
+ 'services/gles2/mojo_buffer_backing.cc',
+ 'services/gles2/mojo_buffer_backing.h',
+ ],
+ 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
+ 'export_dependent_settings': [
+ 'mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ 'mojo_cpp_bindings',
+ '../gpu/gpu.gyp:command_buffer_common',
+ ],
+ },
+ {
+ # GN version: //mojo/gles2
+ 'target_name': 'mojo_gles2_impl',
+ 'type': '<(component)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
+ '../gpu/gpu.gyp:command_buffer_client',
+ '../gpu/gpu.gyp:command_buffer_common',
+ '../gpu/gpu.gyp:gles2_cmd_helper',
+ '../gpu/gpu.gyp:gles2_implementation',
+ 'mojo_environment_chromium',
+ 'mojo_gles2_bindings',
+ '<(mojo_system_for_component)',
+ ],
+ 'defines': [
+ 'MOJO_GLES2_IMPL_IMPLEMENTATION',
+ 'MOJO_GLES2_IMPLEMENTATION',
+ 'GLES2_USE_MOJO',
+ 'MOJO_USE_GLES2_IMPL'
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'GLES2_USE_MOJO',
+ ],
+ },
+ 'sources': [
+ 'gles2/command_buffer_client_impl.cc',
+ 'gles2/command_buffer_client_impl.h',
+ 'gles2/gles2_impl_export.h',
+ 'gles2/gles2_impl.cc',
+ 'gles2/gles2_context.cc',
+ 'gles2/gles2_context.h',
+ ],
+ 'all_dependent_settings': {
+ # Ensures that dependent projects import the core functions on Windows.
+ 'defines': ['MOJO_USE_GLES2_IMPL'],
+ }
+ },
+ {
'target_name': 'mojo_application_chromium',
'type': 'static_library',
'sources': [
@@ -518,4 +579,4 @@
],
}],
]
-}
+}
« no previous file with comments | « mojo/mojo_apps_js_unittests.isolate ('k') | mojo/mojo_examples.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698