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

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: Move files to mojo/examples/apptest. 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
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/apptest/example_service.mojom',
104 ],
105 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
106 'export_dependent_settings': [
107 'mojo_base.gyp:mojo_cpp_bindings',
108 ],
109 'dependencies': [
110 'mojo_base.gyp:mojo_cpp_bindings',
111 ],
112 },
113 {
114 'target_name': 'mojo_example_service',
115 'type': 'loadable_module',
116 'dependencies': [
117 'mojo_base.gyp:mojo_application', # For ApplicationDelegate.
118 'mojo_base.gyp:mojo_cpp_bindings', # For *.mojom.h
119 'mojo_base.gyp:mojo_environment_standalone', # For Environment.
120 'mojo_example_service_bindings',
121 'mojo_base.gyp:mojo_utility', # For RunLoop.
122 '<(mojo_system_for_loadable_module)',
123 ],
124 'sources': [
125 'examples/apptest/example_service_application.cc',
126 'examples/apptest/example_service_application.h',
127 'examples/apptest/example_service_impl.cc',
128 'examples/apptest/example_service_impl.h',
129 'public/cpp/application/lib/mojo_main_standalone.cc',
130 ],
131 },
132 {
133 'target_name': 'mojo_example_apptests',
134 'type': 'loadable_module',
135 'dependencies': [
136 '../testing/gtest.gyp:gtest',
137 'mojo_base.gyp:mojo_application', # For ApplicationDelegate.
138 'mojo_base.gyp:mojo_environment_standalone', # For Environment.
139 'mojo_example_service',
140 'mojo_example_service_bindings',
141 'mojo_base.gyp:mojo_utility', # For RunLoop.
142 '<(mojo_system_for_loadable_module)',
143 ],
144 'sources': [
145 'examples/apptest/example_apptest.cc',
146 'examples/apptest/example_client_application.cc',
147 'examples/apptest/example_client_application.h',
148 'examples/apptest/example_client_impl.cc',
149 'examples/apptest/example_client_impl.h',
150 ],
151 },
152 {
153 'target_name': 'package_mojo_example_apptests',
154 'variables': {
155 'app_name': 'mojo_example_apptests',
156 },
157 'includes': [ 'build/package_app.gypi' ],
158 },
159 {
100 'target_name': 'mojo_compositor_app', 160 'target_name': 'mojo_compositor_app',
101 'type': 'loadable_module', 161 'type': 'loadable_module',
102 'dependencies': [ 162 'dependencies': [
103 '../base/base.gyp:base', 163 '../base/base.gyp:base',
104 '../cc/cc.gyp:cc', 164 '../cc/cc.gyp:cc',
105 '../ui/gfx/gfx.gyp:gfx', 165 '../ui/gfx/gfx.gyp:gfx',
106 '../ui/gfx/gfx.gyp:gfx_geometry', 166 '../ui/gfx/gfx.gyp:gfx_geometry',
107 'mojo_base.gyp:mojo_application', 167 'mojo_base.gyp:mojo_application',
108 'mojo_base.gyp:mojo_common_lib', 168 'mojo_base.gyp:mojo_common_lib',
109 'mojo_base.gyp:mojo_environment_chromium', 169 'mojo_base.gyp:mojo_environment_chromium',
(...skipping 611 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 ], 781 ],
722 'sources': [ 782 'sources': [
723 'examples/dbus_echo/dbus_echo_app.cc', 783 'examples/dbus_echo/dbus_echo_app.cc',
724 'public/cpp/application/lib/mojo_main_standalone.cc', 784 'public/cpp/application/lib/mojo_main_standalone.cc',
725 ], 785 ],
726 }, 786 },
727 ], 787 ],
728 }], 788 }],
729 ], 789 ],
730 } 790 }
OLDNEW
« mojo/examples/apptest/example_service_application.cc ('K') | « mojo/mojo.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698