OLD | NEW |
---|---|
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 Loading... | |
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_service_manager', # TODO(msw): ServiceManager ??? | |
93 'mojo_shell_lib', # For shell::InitializeLogging. | |
94 #'mojo_shell_test_support', # TODO(msw): Needed ??? | |
Ben Goodger (Google)
2014/07/18 20:02:52
My rule of thumb for these things is if I ever am
msw
2014/07/21 18:58:23
I've been careful to only include necessary depend
Ben Goodger (Google)
2014/07/21 20:02:38
See earlier comment about not using ShellTestHelpe
| |
95 #'mojo_shell_tests', # TODO(msw): ShellTestBase ??? | |
96 'mojo_utility', # For RunLoop. | |
97 '<(mojo_system_for_loadable_module)', | |
98 ], | |
99 'sources': [ | |
100 # TODO(msw): Move to examples/services/example or elsewhere ??? | |
101 'examples/test/example_unittest.cc', | |
102 'public/cpp/application/lib/mojo_main_standalone.cc', | |
103 ], | |
104 }, | |
105 { | |
106 'target_name': 'package_mojo_example_unittests', | |
107 'variables': { | |
108 'app_name': 'mojo_example_unittests', | |
109 }, | |
110 'includes': [ 'build/package_app.gypi' ], | |
111 }, | |
112 { | |
40 'target_name': 'mojo_compositor_app', | 113 'target_name': 'mojo_compositor_app', |
41 'type': 'loadable_module', | 114 'type': 'loadable_module', |
42 'dependencies': [ | 115 'dependencies': [ |
43 '../base/base.gyp:base', | 116 '../base/base.gyp:base', |
44 '../cc/cc.gyp:cc', | 117 '../cc/cc.gyp:cc', |
45 '../ui/gfx/gfx.gyp:gfx', | 118 '../ui/gfx/gfx.gyp:gfx', |
46 '../ui/gfx/gfx.gyp:gfx_geometry', | 119 '../ui/gfx/gfx.gyp:gfx_geometry', |
47 'mojo_application', | 120 'mojo_application', |
48 'mojo_cc_support', | 121 'mojo_cc_support', |
49 'mojo_common_lib', | 122 'mojo_common_lib', |
(...skipping 606 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
656 ], | 729 ], |
657 'sources': [ | 730 'sources': [ |
658 'examples/dbus_echo/dbus_echo_app.cc', | 731 'examples/dbus_echo/dbus_echo_app.cc', |
659 'public/cpp/application/lib/mojo_main_standalone.cc', | 732 'public/cpp/application/lib/mojo_main_standalone.cc', |
660 ], | 733 ], |
661 }, | 734 }, |
662 ], | 735 ], |
663 }], | 736 }], |
664 ], | 737 ], |
665 } | 738 } |
OLD | NEW |