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

Unified Diff: mojo/mojo_services.gypi

Issue 242763003: Implement a trivial Mojo EchoService that can be connected to over DBus (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase onto dave's CL to move ServiceLoader ownership Created 6 years, 8 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
Index: mojo/mojo_services.gypi
diff --git a/mojo/mojo_services.gypi b/mojo/mojo_services.gypi
index 07426551fc761dab4f3365f4268b1cc12fa2841e..1a2fd6a0bf0c0b218bfa0151aec5c6db15ab4d27 100644
--- a/mojo/mojo_services.gypi
+++ b/mojo/mojo_services.gypi
@@ -1,6 +1,23 @@
{
'targets': [
{
+ 'target_name': 'mojo_echo_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'services/dbus_echo/echo.mojom',
+ ],
+ 'variables': {
+ 'mojom_base_output_dir': 'mojo',
+ },
+ 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
+ 'export_dependent_settings': [
+ 'mojo_bindings',
+ ],
+ 'dependencies': [
+ 'mojo_bindings',
+ ],
+ },
+ {
'target_name': 'mojo_gles2_bindings',
'type': 'static_library',
'sources': [
@@ -140,4 +157,29 @@
],
},
],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'targets': [
+ {
+ 'target_name': 'mojo_dbus_echo_service',
+ 'type': 'executable',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../build/linux/system.gyp:dbus',
+ '../dbus/dbus.gyp:dbus',
+ '../gin/gin.gyp:gin',
DaveMoore 2014/04/22 20:39:51 Is gin needed?
Chris Masone 2014/04/22 21:16:30 Done.
+ 'mojo_external_service_bindings',
+ 'mojo_common_lib',
+ 'mojo_environment_chromium',
+ 'mojo_echo_bindings',
+ 'mojo_shell_client',
+ 'mojo_system_impl',
+ ],
+ 'sources': [
+ 'services/dbus_echo/dbus_echo_service.cc',
+ ],
+ },
+ ],
+ }],
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698