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

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: Address comments; ShellTestHelper crashes, use a hack workaround. 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 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_sample_app', 8 'target_name': 'mojo_sample_app',
9 'type': 'loadable_module', 9 'type': 'loadable_module',
10 'dependencies': [ 10 'dependencies': [
(...skipping 19 matching lines...) Expand all
30 ], 30 ],
31 }, 31 },
32 { 32 {
33 'target_name': 'package_mojo_sample_app', 33 'target_name': 'package_mojo_sample_app',
34 'variables': { 34 'variables': {
35 'app_name': 'mojo_sample_app', 35 'app_name': 'mojo_sample_app',
36 }, 36 },
37 'includes': [ 'build/package_app.gypi' ], 37 'includes': [ 'build/package_app.gypi' ],
38 }, 38 },
39 { 39 {
40 'target_name': 'mojo_example_service_bindings',
41 'type': 'static_library',
42 'sources': [
43 # TODO(msw): Move to examples/services/public/interfaces/example ???
44 'examples/test/example_service.mojom',
45 ],
46 'includes': [ 'public/tools/bindings/mojom_bindings_generator.gypi' ],
47 'export_dependent_settings': [
48 'mojo_cpp_bindings',
49 ],
50 'dependencies': [
51 'mojo_cpp_bindings',
52 ],
53 },
54 { # TODO(msw): mojo/mojo_services.gypi or new mojo_unittest.gypi file ???
55 'target_name': 'mojo_example_service',
56 # TODO(msw): 'static_library', like mojo_profile_service ???
57 # TODO(msw): 'shared_library', like mojo_surfaces_service ???
58 # TODO(msw): 'executable', like mojo_dbus_echo_service ???
59 # TODO(msw): '<(component)', like mojo_native_viewport_service ???
60 'type': 'loadable_module',
61 'dependencies': [
62 '../base/base.gyp:base',
63 'mojo_application', # For ApplicationDelegate.
64 'mojo_cpp_bindings', # For example_service.mojom.h
65 'mojo_environment_standalone', # For Environment.
66 'mojo_example_service_bindings',
67 'mojo_utility', # For RunLoop.
68 '<(mojo_system_for_loadable_module)',
69 ],
70 'sources': [
71 # TODO(msw): Include directly in mojo_example_unittests,
72 # like services/test_service/test_service_impl.cc ???
73 # TODO(msw): Move to examples/services/example/ or elsewhere ???
74 'examples/test/example_service_application.cc',
75 'examples/test/example_service_application.h',
76 'examples/test/example_service_impl.cc',
77 'examples/test/example_service_impl.h',
78 'public/cpp/application/lib/mojo_main_standalone.cc',
79 ],
80 },
81 { # TODO(msw): New mojo_unittest.gypi file ???
82 'target_name': 'mojo_example_unittests',
83 'type': 'loadable_module',
84 'dependencies': [
85 '../base/base.gyp:base',
86 '../base/base.gyp:test_support_base',
87 '../testing/gtest.gyp:gtest',
88 'mojo_application', # For ApplicationDelegate.
89 'mojo_environment_standalone', # For Environment.
90 'mojo_example_service',
91 'mojo_example_service_bindings', # TODO(msw): Needed explicitly?
92 'mojo_shell_lib', # For shell::InitializeLogging.
93 'mojo_shell_test_support', # For shell::ShellTestHelper.
94 'mojo_utility', # For RunLoop.
95 '<(mojo_system_for_loadable_module)',
96 ],
97 'sources': [
98 # TODO(msw): Move to examples/services/example or elsewhere ???
99 'examples/test/example_unittest.cc',
100 'public/cpp/application/lib/mojo_main_standalone.cc',
101 ],
102 },
103 {
104 'target_name': 'package_mojo_example_unittests',
105 'variables': {
106 'app_name': 'mojo_example_unittests',
107 },
108 'includes': [ 'build/package_app.gypi' ],
109 },
110 {
40 'target_name': 'mojo_compositor_app', 111 'target_name': 'mojo_compositor_app',
41 'type': 'loadable_module', 112 'type': 'loadable_module',
42 'dependencies': [ 113 'dependencies': [
43 '../base/base.gyp:base', 114 '../base/base.gyp:base',
44 '../cc/cc.gyp:cc', 115 '../cc/cc.gyp:cc',
45 '../ui/gfx/gfx.gyp:gfx', 116 '../ui/gfx/gfx.gyp:gfx',
46 '../ui/gfx/gfx.gyp:gfx_geometry', 117 '../ui/gfx/gfx.gyp:gfx_geometry',
47 'mojo_application', 118 'mojo_application',
48 'mojo_cc_support', 119 'mojo_cc_support',
49 'mojo_common_lib', 120 'mojo_common_lib',
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 ], 727 ],
657 'sources': [ 728 'sources': [
658 'examples/dbus_echo/dbus_echo_app.cc', 729 'examples/dbus_echo/dbus_echo_app.cc',
659 'public/cpp/application/lib/mojo_main_standalone.cc', 730 'public/cpp/application/lib/mojo_main_standalone.cc',
660 ], 731 ],
661 }, 732 },
662 ], 733 ],
663 }], 734 }],
664 ], 735 ],
665 } 736 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698