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

Unified Diff: mojo/mojo_services.gypi

Issue 385603003: Split targets with external dependencies out of mojo_public.gypi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: get rid of mojo_public_java.gypi, per qsr Created 6 years, 5 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_public_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_services.gypi
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi
index 43d2718a7adc34b4d608b7973f038e6fd5333051..c11a4bf537a687764697dc4da4a975ac3ca0c928 100644
--- a/mojo/mojo_services.gypi
+++ b/mojo/mojo_services.gypi
@@ -143,6 +143,42 @@
],
},
{
+ 'target_name': 'mojo_gles2',
+ 'type': 'shared_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',
+ ],
+ },
+ 'sources': [
+ 'public/c/gles2/gles2.h',
+ 'public/c/gles2/gles2_export.h',
+ 'public/gles2/gles2_private.cc',
+ 'public/gles2/gles2_private.h',
+ ],
+ 'conditions': [
+ ['OS=="mac"', {
+ 'xcode_settings': {
+ # Make it a run-path dependent library.
+ 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
+ },
+ }],
+ ],
+ },
+ {
'target_name': 'mojo_gles2_bindings',
'type': 'static_library',
'sources': [
« no previous file with comments | « mojo/mojo_public_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698