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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
« mojo/examples/test/example_unittest.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'mojo_echo_client', 8 'target_name': 'mojo_echo_client',
9 'type': 'loadable_module', 9 'type': 'loadable_module',
10 'dependencies': [ 10 'dependencies': [
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 ], 90 ],
91 }, 91 },
92 { 92 {
93 'target_name': 'package_mojo_sample_app', 93 'target_name': 'package_mojo_sample_app',
94 'variables': { 94 'variables': {
95 'app_name': 'mojo_sample_app', 95 'app_name': 'mojo_sample_app',
96 }, 96 },
97 'includes': [ 'build/package_app.gypi' ], 97 'includes': [ 'build/package_app.gypi' ],
98 }, 98 },
99 { 99 {
100 'target_name': 'mojo_example_service_bindings',
101 'type': 'static_library',
102 'sources': [
103 'examples/test/example_service.mojom',
104 ],
105 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
106 'export_dependent_settings': [
107 'mojo_cpp_bindings',
108 ],
109 'dependencies': [
110 'mojo_cpp_bindings',
111 ],
112 },
113 {
114 'target_name': 'mojo_example_service',
115 'type': 'loadable_module',
116 'dependencies': [
117 'mojo_application', # For ApplicationDelegate.
118 'mojo_cpp_bindings', # For example_service.mojom.h
119 'mojo_environment_standalone', # For Environment.
120 'mojo_example_service_bindings',
121 'mojo_utility', # For RunLoop.
122 '<(mojo_system_for_loadable_module)',
123 ],
124 'sources': [
125 # TODO(msw): Move to examples/services/example/ ???
126 'examples/test/example_service_application.cc',
127 'examples/test/example_service_application.h',
128 'examples/test/example_service_impl.cc',
129 'examples/test/example_service_impl.h',
130 'public/cpp/application/lib/mojo_main_standalone.cc',
131 ],
132 },
133 { # TODO(msw): New mojo_unittest.gypi file ???
134 '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
135 'type': 'loadable_module',
136 'dependencies': [
137 '../testing/gtest.gyp:gtest',
138 'mojo_application', # For ApplicationDelegate.
139 'mojo_environment_standalone', # For Environment.
140 'mojo_example_service',
141 'mojo_example_service_bindings',
142 'mojo_utility', # For RunLoop.
143 '<(mojo_system_for_loadable_module)',
144 ],
145 'sources': [
146 'examples/test/example_unittest.cc',
147 ],
148 },
149 {
150 'target_name': 'package_mojo_example_unittests',
151 'variables': {
152 'app_name': 'mojo_example_unittests',
153 },
154 'includes': [ 'build/package_app.gypi' ],
155 },
156 {
100 'target_name': 'mojo_compositor_app', 157 'target_name': 'mojo_compositor_app',
101 'type': 'loadable_module', 158 'type': 'loadable_module',
102 'dependencies': [ 159 'dependencies': [
103 '../base/base.gyp:base', 160 '../base/base.gyp:base',
104 '../cc/cc.gyp:cc', 161 '../cc/cc.gyp:cc',
105 '../ui/gfx/gfx.gyp:gfx', 162 '../ui/gfx/gfx.gyp:gfx',
106 '../ui/gfx/gfx.gyp:gfx_geometry', 163 '../ui/gfx/gfx.gyp:gfx_geometry',
107 'mojo_application', 164 'mojo_application',
108 'mojo_cc_support', 165 'mojo_cc_support',
109 'mojo_common_lib', 166 'mojo_common_lib',
(...skipping 609 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 ], 776 ],
720 'sources': [ 777 'sources': [
721 'examples/dbus_echo/dbus_echo_app.cc', 778 'examples/dbus_echo/dbus_echo_app.cc',
722 'public/cpp/application/lib/mojo_main_standalone.cc', 779 'public/cpp/application/lib/mojo_main_standalone.cc',
723 ], 780 ],
724 }, 781 },
725 ], 782 ],
726 }], 783 }],
727 ], 784 ],
728 } 785 }
OLDNEW
« 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