| 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': 'mojo_shell_lib', | |
| 8 'type': 'static_library', | |
| 9 'sources': [ | |
| 10 'services/catalog/catalog.cc', | |
| 11 'services/catalog/catalog.h', | |
| 12 'services/catalog/entry.cc', | |
| 13 'services/catalog/entry.h', | |
| 14 'services/catalog/factory.cc', | |
| 15 'services/catalog/factory.h', | |
| 16 'services/catalog/store.cc', | |
| 17 'services/catalog/store.h', | |
| 18 'services/catalog/types.h', | |
| 19 '../services/shell/loader.h', | |
| 20 '../services/shell/connect_params.cc', | |
| 21 '../services/shell/connect_params.h', | |
| 22 '../services/shell/connect_util.cc', | |
| 23 '../services/shell/connect_util.h', | |
| 24 '../services/shell/native_runner.h', | |
| 25 '../services/shell/native_runner_delegate.h', | |
| 26 '../services/shell/shell.cc', | |
| 27 '../services/shell/shell.h', | |
| 28 '../services/shell/switches.cc', | |
| 29 '../services/shell/switches.cc', | |
| 30 'util/filename_util.cc', | |
| 31 'util/filename_util.h', | |
| 32 ], | |
| 33 'dependencies': [ | |
| 34 '<(DEPTH)/base/base.gyp:base', | |
| 35 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyn
amic_annotations', | |
| 36 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | |
| 37 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 38 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | |
| 39 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | |
| 40 '<(DEPTH)/net/net.gyp:net', | |
| 41 '<(DEPTH)/url/url.gyp:url_lib', | |
| 42 ], | |
| 43 'export_dependent_settings': [ | |
| 44 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 45 ], | |
| 46 }, { | |
| 47 'target_name': 'mojo_shell_unittests', | |
| 48 'type': 'executable', | |
| 49 'sources': [ | |
| 50 '../services/shell/tests/loader_unittest.cc', | |
| 51 ], | |
| 52 'dependencies': [ | |
| 53 'mojo_shell_lib', | |
| 54 'mojo_shell_test_bindings', | |
| 55 '<(DEPTH)/base/base.gyp:base', | |
| 56 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | |
| 57 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | |
| 58 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | |
| 59 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', | |
| 60 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 61 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 62 '<(DEPTH)/url/url.gyp:url_lib', | |
| 63 ] | |
| 64 }, { | |
| 65 'target_name': 'mojo_shell_test_bindings', | |
| 66 'type': 'static_library', | |
| 67 'variables': { | |
| 68 'mojom_files': [ | |
| 69 '../services/shell/tests/test.mojom', | |
| 70 ], | |
| 71 }, | |
| 72 'includes': [ | |
| 73 'mojom_bindings_generator_explicit.gypi', | |
| 74 ], | |
| 75 }, { | |
| 76 'target_name': 'mojo_runner_common_lib', | |
| 77 'type': 'static_library', | |
| 78 'sources': [ | |
| 79 '../services/shell/runner/common/client_util.cc', | |
| 80 '../services/shell/runner/common/client_util.h', | |
| 81 '../services/shell/runner/common/switches.cc', | |
| 82 '../services/shell/runner/common/switches.h', | |
| 83 ], | |
| 84 'include_dirs': [ | |
| 85 '..', | |
| 86 ], | |
| 87 'dependencies': [ | |
| 88 '<(DEPTH)/base/base.gyp:base', | |
| 89 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 90 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | |
| 91 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | |
| 92 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_system', | |
| 93 ], | |
| 94 'export_dependent_settings': [ | |
| 95 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 96 ], | |
| 97 }, { | |
| 98 'target_name': 'mojo_runner_host_lib', | |
| 99 'type': 'static_library', | |
| 100 'sources': [ | |
| 101 '../services/shell/runner/host/child_process.cc', | |
| 102 '../services/shell/runner/host/child_process.h', | |
| 103 '../services/shell/runner/host/child_process_base.cc', | |
| 104 '../services/shell/runner/host/child_process_base.h', | |
| 105 '../services/shell/runner/host/child_process_host.cc', | |
| 106 '../services/shell/runner/host/child_process_host.h', | |
| 107 '../services/shell/runner/host/in_process_native_runner.cc', | |
| 108 '../services/shell/runner/host/in_process_native_runner.h', | |
| 109 '../services/shell/runner/host/out_of_process_native_runner.cc', | |
| 110 '../services/shell/runner/host/out_of_process_native_runner.h', | |
| 111 '../services/shell/runner/host/native_application_support.cc', | |
| 112 '../services/shell/runner/host/native_application_support.h', | |
| 113 '../services/shell/runner/init.cc', | |
| 114 '../services/shell/runner/init.h', | |
| 115 ], | |
| 116 'dependencies': [ | |
| 117 'mojo_runner_common_lib', | |
| 118 'mojo_shell_lib', | |
| 119 '<(DEPTH)/base/base.gyp:base', | |
| 120 '<(DEPTH)/base/base.gyp:base_i18n', | |
| 121 '<(DEPTH)/base/base.gyp:base_static', | |
| 122 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 123 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', | |
| 124 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', | |
| 125 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', | |
| 126 ], | |
| 127 'export_dependent_settings': [ | |
| 128 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_bindings', | |
| 129 ], | |
| 130 'conditions': [ | |
| 131 ['OS=="linux"', { | |
| 132 'sources': [ | |
| 133 '../services/shell/runner/host/linux_sandbox.cc', | |
| 134 '../services/shell/runner/host/linux_sandbox.h', | |
| 135 ], | |
| 136 'dependencies': [ | |
| 137 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', | |
| 138 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', | |
| 139 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf', | |
| 140 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf_helpers', | |
| 141 ], | |
| 142 }], | |
| 143 ['OS=="mac"', { | |
| 144 'sources': [ | |
| 145 '../services/shell/runner/host/mach_broker.cc', | |
| 146 '../services/shell/runner/host/mach_broker.h', | |
| 147 ], | |
| 148 }], | |
| 149 ], | |
| 150 }, { | |
| 151 # GN version: //mojo/services/catalog:manifest | |
| 152 'target_name': 'mojo_catalog_manifest', | |
| 153 'type': 'none', | |
| 154 'variables': { | |
| 155 'application_type': 'mojo', | |
| 156 'application_name': 'catalog', | |
| 157 'source_manifest': '<(DEPTH)/mojo/services/catalog/manifest.json', | |
| 158 }, | |
| 159 'includes': [ | |
| 160 '../mojo/public/mojo_application_manifest.gypi', | |
| 161 ], | |
| 162 'hard_dependency': 1, | |
| 163 }], | |
| 164 } | |
| OLD | NEW |