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 'target_defaults': { | 6 'target_defaults': { |
7 'conditions': [ | 7 'conditions': [ |
8 ['mojo_shell_debug_url != ""', { | 8 ['mojo_shell_debug_url != ""', { |
9 'defines': [ | 9 'defines': [ |
10 'MOJO_SHELL_DEBUG=1', | 10 'MOJO_SHELL_DEBUG=1', |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 'type': '<(component)', | 96 'type': '<(component)', |
97 'dependencies': [ | 97 'dependencies': [ |
98 'mojo_system', | 98 'mojo_system', |
99 '../base/base.gyp:base', | 99 '../base/base.gyp:base', |
100 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 100 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
101 ], | 101 ], |
102 'defines': [ | 102 'defines': [ |
103 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', | 103 'MOJO_SYSTEM_IMPL_IMPLEMENTATION', |
104 ], | 104 ], |
105 'sources': [ | 105 'sources': [ |
| 106 'embedder/embedder.cc', |
| 107 'embedder/embedder.h', |
| 108 'embedder/platform_channel_pair.cc', |
| 109 'embedder/platform_channel_pair.h', |
| 110 'embedder/platform_channel_pair_posix.cc', |
| 111 'embedder/platform_channel_pair_win.cc', |
| 112 'embedder/platform_handle.cc', |
| 113 'embedder/platform_handle.h', |
| 114 'embedder/scoped_platform_handle.h', |
106 'system/channel.cc', | 115 'system/channel.cc', |
107 'system/channel.h', | 116 'system/channel.h', |
108 'system/constants.h', | 117 'system/constants.h', |
109 'system/core_impl.cc', | 118 'system/core_impl.cc', |
110 'system/core_impl.h', | 119 'system/core_impl.h', |
111 'system/data_pipe.cc', | 120 'system/data_pipe.cc', |
112 'system/data_pipe.h', | 121 'system/data_pipe.h', |
113 'system/data_pipe_consumer_dispatcher.cc', | 122 'system/data_pipe_consumer_dispatcher.cc', |
114 'system/data_pipe_consumer_dispatcher.h', | 123 'system/data_pipe_consumer_dispatcher.h', |
115 'system/data_pipe_producer_dispatcher.cc', | 124 'system/data_pipe_producer_dispatcher.cc', |
116 'system/data_pipe_producer_dispatcher.h', | 125 'system/data_pipe_producer_dispatcher.h', |
117 'system/dispatcher.cc', | 126 'system/dispatcher.cc', |
118 'system/dispatcher.h', | 127 'system/dispatcher.h', |
119 'system/embedder/embedder.cc', | |
120 'system/embedder/embedder.h', | |
121 'system/embedder/platform_channel_pair.cc', | |
122 'system/embedder/platform_channel_pair.h', | |
123 'system/embedder/platform_channel_pair_posix.cc', | |
124 'system/embedder/platform_channel_pair_win.cc', | |
125 'system/embedder/platform_handle.cc', | |
126 'system/embedder/platform_handle.h', | |
127 'system/embedder/scoped_platform_handle.h', | |
128 'system/local_data_pipe.cc', | 128 'system/local_data_pipe.cc', |
129 'system/local_data_pipe.h', | 129 'system/local_data_pipe.h', |
130 'system/local_message_pipe_endpoint.cc', | 130 'system/local_message_pipe_endpoint.cc', |
131 'system/local_message_pipe_endpoint.h', | 131 'system/local_message_pipe_endpoint.h', |
132 'system/memory.cc', | 132 'system/memory.cc', |
133 'system/memory.h', | 133 'system/memory.h', |
134 'system/message_in_transit.cc', | 134 'system/message_in_transit.cc', |
135 'system/message_in_transit.h', | 135 'system/message_in_transit.h', |
136 'system/message_in_transit_queue.cc', | 136 'system/message_in_transit_queue.cc', |
137 'system/message_in_transit_queue.h', | 137 'system/message_in_transit_queue.h', |
(...skipping 12 matching lines...) Expand all Loading... |
150 'system/simple_dispatcher.cc', | 150 'system/simple_dispatcher.cc', |
151 'system/simple_dispatcher.h', | 151 'system/simple_dispatcher.h', |
152 'system/waiter.cc', | 152 'system/waiter.cc', |
153 'system/waiter.h', | 153 'system/waiter.h', |
154 'system/waiter_list.cc', | 154 'system/waiter_list.cc', |
155 'system/waiter_list.h', | 155 'system/waiter_list.h', |
156 # Test-only code: | 156 # Test-only code: |
157 # TODO(vtl): It's a little unfortunate that these end up in the same | 157 # TODO(vtl): It's a little unfortunate that these end up in the same |
158 # component as non-test-only code. In the static build, this code should | 158 # component as non-test-only code. In the static build, this code should |
159 # hopefully be dead-stripped. | 159 # hopefully be dead-stripped. |
160 'system/embedder/test_embedder.cc', | 160 'embedder/test_embedder.cc', |
161 'system/embedder/test_embedder.h', | 161 'embedder/test_embedder.h', |
162 ], | 162 ], |
163 }, | 163 }, |
164 { | 164 { |
165 'target_name': 'mojo_system_unittests', | 165 'target_name': 'mojo_system_unittests', |
166 'type': 'executable', | 166 'type': 'executable', |
167 'dependencies': [ | 167 'dependencies': [ |
168 '../base/base.gyp:run_all_unittests', | 168 '../base/base.gyp:run_all_unittests', |
169 '../testing/gtest.gyp:gtest', | 169 '../testing/gtest.gyp:gtest', |
170 'mojo_common_test_support', | 170 'mojo_common_test_support', |
171 'mojo_system', | 171 'mojo_system', |
172 'mojo_system_impl', | 172 'mojo_system_impl', |
173 ], | 173 ], |
174 'sources': [ | 174 'sources': [ |
| 175 'embedder/embedder_unittest.cc', |
175 'system/core_impl_unittest.cc', | 176 'system/core_impl_unittest.cc', |
176 'system/core_test_base.cc', | 177 'system/core_test_base.cc', |
177 'system/core_test_base.h', | 178 'system/core_test_base.h', |
178 'system/data_pipe_unittest.cc', | 179 'system/data_pipe_unittest.cc', |
179 'system/dispatcher_unittest.cc', | 180 'system/dispatcher_unittest.cc', |
180 'system/embedder/embedder_unittest.cc', | |
181 'system/local_data_pipe_unittest.cc', | 181 'system/local_data_pipe_unittest.cc', |
182 'system/message_pipe_dispatcher_unittest.cc', | 182 'system/message_pipe_dispatcher_unittest.cc', |
183 'system/message_pipe_unittest.cc', | 183 'system/message_pipe_unittest.cc', |
184 'system/multiprocess_message_pipe_unittest.cc', | 184 'system/multiprocess_message_pipe_unittest.cc', |
185 'system/raw_channel_unittest.cc', | 185 'system/raw_channel_unittest.cc', |
186 'system/remote_message_pipe_unittest.cc', | 186 'system/remote_message_pipe_unittest.cc', |
187 'system/simple_dispatcher_unittest.cc', | 187 'system/simple_dispatcher_unittest.cc', |
188 'system/test_utils.cc', | 188 'system/test_utils.cc', |
189 'system/test_utils.h', | 189 'system/test_utils.h', |
190 'system/waiter_list_unittest.cc', | 190 'system/waiter_list_unittest.cc', |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
561 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 561 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
562 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 562 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
563 'native_lib_target': 'libmojo_shell', | 563 'native_lib_target': 'libmojo_shell', |
564 }, | 564 }, |
565 'includes': [ '../build/java_apk.gypi' ], | 565 'includes': [ '../build/java_apk.gypi' ], |
566 } | 566 } |
567 ], | 567 ], |
568 }], | 568 }], |
569 ], | 569 ], |
570 } | 570 } |
OLD | NEW |