OLD | NEW |
(Empty) | |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [{ |
| 7 'target_name': 'shell_interfaces', |
| 8 'type': 'none', |
| 9 'variables': { |
| 10 'mojom_files': [ |
| 11 '../catalog/public/interfaces/catalog.mojom', |
| 12 '../catalog/public/interfaces/resolver.mojom', |
| 13 'public/interfaces/capabilities.mojom', |
| 14 'public/interfaces/connector.mojom', |
| 15 'public/interfaces/interface_provider.mojom', |
| 16 'public/interfaces/shell.mojom', |
| 17 'public/interfaces/shell_client.mojom', |
| 18 'public/interfaces/shell_client_factory.mojom', |
| 19 'public/interfaces/shell_resolver.mojom', |
| 20 ], |
| 21 }, |
| 22 'includes': [ '../../mojo/mojom_bindings_generator_explicit.gypi' ], |
| 23 }, |
| 24 { |
| 25 # GN version: //services/shell/public/cpp |
| 26 'target_name': 'shell_public', |
| 27 'type': 'static_library', |
| 28 'sources': [ |
| 29 'public/cpp/application_runner.h', |
| 30 'public/cpp/capabilities.h', |
| 31 'public/cpp/connect.h', |
| 32 'public/cpp/connection.h', |
| 33 'public/cpp/connector.h', |
| 34 'public/cpp/identity.h', |
| 35 'public/cpp/initialize_base_and_icu.cc', |
| 36 'public/cpp/initialize_base_and_icu.h', |
| 37 'public/cpp/interface_binder.h', |
| 38 'public/cpp/interface_factory.h', |
| 39 'public/cpp/interface_factory_impl.h', |
| 40 'public/cpp/interface_registry.h', |
| 41 'public/cpp/lib/application_runner.cc', |
| 42 'public/cpp/lib/capabilities.cc', |
| 43 'public/cpp/lib/connection_impl.cc', |
| 44 'public/cpp/lib/connection_impl.h', |
| 45 'public/cpp/lib/connector_impl.cc', |
| 46 'public/cpp/lib/connector_impl.h', |
| 47 'public/cpp/lib/identity.cc', |
| 48 'public/cpp/lib/interface_factory_binder.h', |
| 49 'public/cpp/lib/interface_registry.cc', |
| 50 'public/cpp/lib/message_loop_ref.cc', |
| 51 'public/cpp/lib/names.cc', |
| 52 'public/cpp/lib/shell_client.cc', |
| 53 'public/cpp/lib/shell_connection.cc', |
| 54 'public/cpp/message_loop_ref.h', |
| 55 'public/cpp/names.h', |
| 56 'public/cpp/shell.h', |
| 57 'public/cpp/shell_client.h', |
| 58 'public/cpp/shell_connection.h', |
| 59 ], |
| 60 'dependencies': [ |
| 61 'shell_interfaces', |
| 62 '<(DEPTH)/base/base.gyp:base_i18n', |
| 63 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 64 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', |
| 65 ], |
| 66 }, { |
| 67 'target_name': 'shell_lib', |
| 68 'type': 'static_library', |
| 69 'sources': [ |
| 70 '../catalog/catalog.cc', |
| 71 '../catalog/catalog.h', |
| 72 '../catalog/entry.cc', |
| 73 '../catalog/entry.h', |
| 74 '../catalog/factory.cc', |
| 75 '../catalog/factory.h', |
| 76 '../catalog/store.cc', |
| 77 '../catalog/store.h', |
| 78 '../catalog/types.h', |
| 79 'loader.h', |
| 80 'connect_params.cc', |
| 81 'connect_params.h', |
| 82 'connect_util.cc', |
| 83 'connect_util.h', |
| 84 'native_runner.h', |
| 85 'native_runner_delegate.h', |
| 86 'shell.cc', |
| 87 'shell.h', |
| 88 'switches.cc', |
| 89 'switches.cc', |
| 90 '<(DEPTH)/mojo/util/filename_util.cc', |
| 91 '<(DEPTH)/mojo/util/filename_util.h', |
| 92 ], |
| 93 'dependencies': [ |
| 94 'shell_public', |
| 95 '<(DEPTH)/base/base.gyp:base', |
| 96 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', |
| 97 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 98 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
| 99 '<(DEPTH)/net/net.gyp:net', |
| 100 '<(DEPTH)/url/url.gyp:url_lib', |
| 101 ], |
| 102 'export_dependent_settings': [ |
| 103 'shell_public', |
| 104 ], |
| 105 }, { |
| 106 'target_name': 'mojo_shell_unittests', |
| 107 'type': 'executable', |
| 108 'sources': [ |
| 109 'tests/loader_unittest.cc', |
| 110 ], |
| 111 'dependencies': [ |
| 112 'shell_lib', |
| 113 'shell_public', |
| 114 'shell_test_interfaces', |
| 115 '<(DEPTH)/base/base.gyp:base', |
| 116 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
| 117 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
| 118 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
| 119 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 120 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 121 '<(DEPTH)/url/url.gyp:url_lib', |
| 122 ] |
| 123 }, { |
| 124 'target_name': 'shell_test_interfaces', |
| 125 'type': 'static_library', |
| 126 'variables': { |
| 127 'mojom_files': [ |
| 128 'tests/test.mojom', |
| 129 ], |
| 130 }, |
| 131 'includes': [ |
| 132 '../../mojo/mojom_bindings_generator_explicit.gypi', |
| 133 ], |
| 134 }, { |
| 135 'target_name': 'shell_runner_common_lib', |
| 136 'type': 'static_library', |
| 137 'sources': [ |
| 138 'runner/common/client_util.cc', |
| 139 'runner/common/client_util.h', |
| 140 'runner/common/switches.cc', |
| 141 'runner/common/switches.h', |
| 142 ], |
| 143 'include_dirs': [ |
| 144 '..', |
| 145 ], |
| 146 'dependencies': [ |
| 147 'shell_public', |
| 148 '<(DEPTH)/base/base.gyp:base', |
| 149 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
| 150 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
| 151 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', |
| 152 ], |
| 153 'export_dependent_settings': [ |
| 154 'shell_public', |
| 155 ], |
| 156 }, { |
| 157 'target_name': 'shell_runner_host_lib', |
| 158 'type': 'static_library', |
| 159 'sources': [ |
| 160 'runner/host/child_process.cc', |
| 161 'runner/host/child_process.h', |
| 162 'runner/host/child_process_base.cc', |
| 163 'runner/host/child_process_base.h', |
| 164 'runner/host/child_process_host.cc', |
| 165 'runner/host/child_process_host.h', |
| 166 'runner/host/in_process_native_runner.cc', |
| 167 'runner/host/in_process_native_runner.h', |
| 168 'runner/host/out_of_process_native_runner.cc', |
| 169 'runner/host/out_of_process_native_runner.h', |
| 170 'runner/host/native_application_support.cc', |
| 171 'runner/host/native_application_support.h', |
| 172 'runner/init.cc', |
| 173 'runner/init.h', |
| 174 ], |
| 175 'dependencies': [ |
| 176 'shell_lib', |
| 177 'shell_public', |
| 178 'shell_runner_common_lib', |
| 179 '<(DEPTH)/base/base.gyp:base', |
| 180 '<(DEPTH)/base/base.gyp:base_i18n', |
| 181 '<(DEPTH)/base/base.gyp:base_static', |
| 182 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
| 183 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', |
| 184 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', |
| 185 ], |
| 186 'export_dependent_settings': [ |
| 187 'shell_public', |
| 188 ], |
| 189 'conditions': [ |
| 190 ['OS=="linux"', { |
| 191 'sources': [ |
| 192 'runner/host/linux_sandbox.cc', |
| 193 'runner/host/linux_sandbox.h', |
| 194 ], |
| 195 'dependencies': [ |
| 196 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
| 197 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', |
| 198 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf', |
| 199 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf_helpers', |
| 200 ], |
| 201 }], |
| 202 ['OS=="mac"', { |
| 203 'sources': [ |
| 204 'runner/host/mach_broker.cc', |
| 205 'runner/host/mach_broker.h', |
| 206 ], |
| 207 }], |
| 208 ], |
| 209 }, { |
| 210 # GN version: //services/catalog:manifest |
| 211 'target_name': 'catalog_manifest', |
| 212 'type': 'none', |
| 213 'variables': { |
| 214 'application_type': 'mojo', |
| 215 'application_name': 'catalog', |
| 216 'source_manifest': '<(DEPTH)/services/catalog/manifest.json', |
| 217 }, |
| 218 'includes': [ |
| 219 '../../mojo/public/mojo_application_manifest.gypi', |
| 220 ], |
| 221 'hard_dependency': 1, |
| 222 }, { |
| 223 # GN version: //services/shell/public/cpp/tests |
| 224 'target_name': 'shell_client_lib_unittests', |
| 225 'type': 'executable', |
| 226 'dependencies': [ |
| 227 'shell_public', |
| 228 '<(DEPTH)/base/base.gyp:base', |
| 229 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
| 230 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 231 ], |
| 232 'sources': [ |
| 233 'public/cpp/tests/interface_registry_unittest.cc', |
| 234 ], |
| 235 }], |
| 236 } |
OLD | NEW |