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

Unified Diff: mojo/mojo_examples.gypi

Issue 399653004: Add a Mojo example apptest that runs in mojo_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase. 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
« mojo/examples/test/example_unittest.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/mojo_examples.gypi
diff --git a/mojo/mojo_examples.gypi b/mojo/mojo_examples.gypi
index 1a79c66a96b0ec80b7b6245dbe05706186903b70..d46fcb615a756947f309bd52201d4384ca3dd419 100644
--- a/mojo/mojo_examples.gypi
+++ b/mojo/mojo_examples.gypi
@@ -97,6 +97,63 @@
'includes': [ 'build/package_app.gypi' ],
},
{
+ 'target_name': 'mojo_example_service_bindings',
+ 'type': 'static_library',
+ 'sources': [
+ 'examples/test/example_service.mojom',
+ ],
+ 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
+ 'export_dependent_settings': [
+ 'mojo_cpp_bindings',
+ ],
+ 'dependencies': [
+ 'mojo_cpp_bindings',
+ ],
+ },
+ {
+ 'target_name': 'mojo_example_service',
+ 'type': 'loadable_module',
+ 'dependencies': [
+ 'mojo_application', # For ApplicationDelegate.
+ 'mojo_cpp_bindings', # For example_service.mojom.h
+ 'mojo_environment_standalone', # For Environment.
+ 'mojo_example_service_bindings',
+ 'mojo_utility', # For RunLoop.
+ '<(mojo_system_for_loadable_module)',
+ ],
+ 'sources': [
+ # TODO(msw): Move to examples/services/example/ ???
+ 'examples/test/example_service_application.cc',
+ 'examples/test/example_service_application.h',
+ 'examples/test/example_service_impl.cc',
+ 'examples/test/example_service_impl.h',
+ 'public/cpp/application/lib/mojo_main_standalone.cc',
+ ],
+ },
+ { # TODO(msw): New mojo_unittest.gypi file ???
+ 'target_name': 'mojo_example_unittests',
Ben Goodger (Google) 2014/07/30 16:53:19 as discussed, _shelltests or _apptests... your cho
msw 2014/08/06 22:34:40 Done; Tim said _apptests wouldn't conflict with th
+ 'type': 'loadable_module',
+ 'dependencies': [
+ '../testing/gtest.gyp:gtest',
+ 'mojo_application', # For ApplicationDelegate.
+ 'mojo_environment_standalone', # For Environment.
+ 'mojo_example_service',
+ 'mojo_example_service_bindings',
+ 'mojo_utility', # For RunLoop.
+ '<(mojo_system_for_loadable_module)',
+ ],
+ 'sources': [
+ 'examples/test/example_unittest.cc',
+ ],
+ },
+ {
+ 'target_name': 'package_mojo_example_unittests',
+ 'variables': {
+ 'app_name': 'mojo_example_unittests',
+ },
+ 'includes': [ 'build/package_app.gypi' ],
+ },
+ {
'target_name': 'mojo_compositor_app',
'type': 'loadable_module',
'dependencies': [
« mojo/examples/test/example_unittest.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698