OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 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 'target_name': 'mojo_shell_lib', | 7 'target_name': 'mojo_shell_lib', |
8 'type': 'static_library', | 8 'type': 'static_library', |
9 'sources': [ | 9 'sources': [ |
10 'common/mojo_scheme_register.cc', | 10 'common/mojo_scheme_register.cc', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 '<(DEPTH)/url/url.gyp:url_lib', | 43 '<(DEPTH)/url/url.gyp:url_lib', |
44 ], | 44 ], |
45 }, { | 45 }, { |
46 'target_name': 'mojo_shell_unittests', | 46 'target_name': 'mojo_shell_unittests', |
47 'type': 'executable', | 47 'type': 'executable', |
48 'sources': [ | 48 'sources': [ |
49 'shell/tests/application_manager_unittest.cc', | 49 'shell/tests/application_manager_unittest.cc', |
50 'shell/tests/capability_filter_unittest.cc', | 50 'shell/tests/capability_filter_unittest.cc', |
51 ], | 51 ], |
52 'dependencies': [ | 52 'dependencies': [ |
53 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_lib', | 53 'mojo_shell_lib', |
54 '<(DEPTH)/mojo/mojo_shell.gyp:mojo_shell_test_bindings', | 54 'mojo_shell_test_bindings', |
55 '<(DEPTH)/base/base.gyp:base', | 55 '<(DEPTH)/base/base.gyp:base', |
56 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', | 56 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
57 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', | 57 '<(DEPTH)/mojo/mojo_base.gyp:mojo_common_lib', |
58 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', | 58 '<(DEPTH)/mojo/mojo_base.gyp:mojo_environment_chromium', |
59 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', | 59 '<(DEPTH)/mojo/mojo_base.gyp:mojo_url_type_converters', |
60 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', | 60 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_run_all_unittests', |
61 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', | 61 '<(DEPTH)/mojo/mojo_public.gyp:mojo_cpp_bindings', |
62 '<(DEPTH)/testing/gtest.gyp:gtest', | 62 '<(DEPTH)/testing/gtest.gyp:gtest', |
63 '<(DEPTH)/url/url.gyp:url_lib', | 63 '<(DEPTH)/url/url.gyp:url_lib', |
64 ] | 64 ] |
65 }, { | 65 }, { |
66 'target_name': 'mojo_shell_test_bindings', | 66 'target_name': 'mojo_shell_test_bindings', |
67 'type': 'static_library', | 67 'type': 'static_library', |
68 'variables': { | 68 'variables': { |
69 'mojom_files': [ | 69 'mojom_files': [ |
70 'shell/tests/capability_filter_unittest.mojom', | 70 'shell/tests/capability_filter_unittest.mojom', |
71 'shell/tests/test.mojom', | 71 'shell/tests/test.mojom', |
72 ], | 72 ], |
73 }, | 73 }, |
74 'includes': [ | 74 'includes': [ |
75 'mojom_bindings_generator_explicit.gypi', | 75 'mojom_bindings_generator_explicit.gypi', |
76 ], | 76 ], |
| 77 }, { |
| 78 'target_name': 'mojo_runner_connection_lib', |
| 79 'type': 'static_library', |
| 80 'sources': [ |
| 81 'shell/runner/child/runner_connection.cc', |
| 82 'shell/runner/child/runner_connection.h', |
| 83 ], |
| 84 'dependencies': [ |
| 85 'mojo_runner_common_lib', |
| 86 'mojo_runner_connection_bindings_lib', |
| 87 '<(DEPTH)/base/base.gyp:base', |
| 88 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 89 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
| 90 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', |
| 91 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', |
| 92 ], |
| 93 }, { |
| 94 'target_name': 'mojo_runner_common_lib', |
| 95 'type': 'static_library', |
| 96 'sources': [ |
| 97 'shell/runner/common/switches.cc', |
| 98 'shell/runner/common/switches.h', |
| 99 ], |
| 100 'include_dirs': [ |
| 101 '..', |
| 102 ], |
| 103 }, { |
| 104 'target_name': 'mojo_runner_connection_bindings_lib', |
| 105 'type': 'static_library', |
| 106 'dependencies': [ |
| 107 'mojo_runner_connection_mojom', |
| 108 ], |
| 109 }, { |
| 110 'target_name': 'mojo_runner_connection_mojom', |
| 111 'type': 'none', |
| 112 'variables': { |
| 113 'mojom_files': [ |
| 114 'shell/runner/child/child_controller.mojom', |
| 115 ], |
| 116 }, |
| 117 'includes': [ |
| 118 'mojom_bindings_generator_explicit.gypi', |
| 119 ], |
| 120 'dependencies': [ |
| 121 '<(DEPTH)/mojo/mojo_base.gyp:mojo_application_base', |
| 122 ], |
| 123 }, { |
| 124 'target_name': 'mojo_runner_host_lib', |
| 125 'type': 'static_library', |
| 126 'sources': [ |
| 127 'shell/runner/host/child_process.cc', |
| 128 'shell/runner/host/child_process.h', |
| 129 'shell/runner/host/child_process_base.cc', |
| 130 'shell/runner/host/child_process_base.h', |
| 131 'shell/runner/host/child_process_host.cc', |
| 132 'shell/runner/host/child_process_host.h', |
| 133 'shell/runner/host/in_process_native_runner.cc', |
| 134 'shell/runner/host/in_process_native_runner.h', |
| 135 'shell/runner/host/out_of_process_native_runner.cc', |
| 136 'shell/runner/host/out_of_process_native_runner.h', |
| 137 'shell/runner/host/native_application_support.cc', |
| 138 'shell/runner/host/native_application_support.h', |
| 139 'shell/runner/init.cc', |
| 140 'shell/runner/init.h', |
| 141 ], |
| 142 'dependencies': [ |
| 143 'mojo_runner_common_lib', |
| 144 'mojo_runner_connection_bindings_lib', |
| 145 'mojo_shell_lib', |
| 146 '<(DEPTH)/base/base.gyp:base', |
| 147 '<(DEPTH)/base/base.gyp:base_i18n', |
| 148 '<(DEPTH)/base/base.gyp:base_static', |
| 149 '<(DEPTH)/mojo/mojo_edk.gyp:mojo_system_impl', |
| 150 '<(DEPTH)/mojo/mojo_platform_handle.gyp:platform_handle', |
| 151 '<(DEPTH)/mojo/mojo_public.gyp:mojo_message_pump_lib', |
| 152 ], |
| 153 'conditions': [ |
| 154 ['OS=="linux"', { |
| 155 'sources': [ |
| 156 'shell/runner/host/linux_sandbox.cc', |
| 157 'shell/runner/host/linux_sandbox.h', |
| 158 ], |
| 159 'dependencies': [ |
| 160 '<(DEPTH)/sandbox/sandbox.gyp:sandbox', |
| 161 '<(DEPTH)/sandbox/sandbox.gyp:sandbox_services', |
| 162 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf', |
| 163 '<(DEPTH)/sandbox/sandbox.gyp:seccomp_bpf_helpers', |
| 164 ], |
| 165 }], |
| 166 ], |
77 }], | 167 }], |
78 } | 168 } |
OLD | NEW |