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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 'system/proxy_message_pipe_endpoint.h', | 133 'system/proxy_message_pipe_endpoint.h', |
134 'system/raw_channel.h', | 134 'system/raw_channel.h', |
135 'system/raw_channel_posix.cc', | 135 'system/raw_channel_posix.cc', |
136 'system/raw_channel_win.cc', | 136 'system/raw_channel_win.cc', |
137 'system/simple_dispatcher.cc', | 137 'system/simple_dispatcher.cc', |
138 'system/simple_dispatcher.h', | 138 'system/simple_dispatcher.h', |
139 'system/waiter.cc', | 139 'system/waiter.cc', |
140 'system/waiter.h', | 140 'system/waiter.h', |
141 'system/waiter_list.cc', | 141 'system/waiter_list.cc', |
142 'system/waiter_list.h', | 142 'system/waiter_list.h', |
| 143 # Test-only code: |
| 144 # TODO(vtl): It's a little unfortunate that these end up in the same |
| 145 # component as non-test-only code. In the static build, this code should |
| 146 # hopefully be dead-stripped. |
| 147 'system/embedder/test_embedder.cc', |
| 148 'system/embedder/test_embedder.h', |
143 ], | 149 ], |
144 }, | 150 }, |
145 { | 151 { |
146 'target_name': 'mojo_system_unittests', | 152 'target_name': 'mojo_system_unittests', |
147 'type': 'executable', | 153 'type': 'executable', |
148 'dependencies': [ | 154 'dependencies': [ |
149 '../base/base.gyp:run_all_unittests', | 155 '../base/base.gyp:run_all_unittests', |
150 '../testing/gtest.gyp:gtest', | 156 '../testing/gtest.gyp:gtest', |
151 'mojo_common_test_support', | 157 'mojo_common_test_support', |
152 'mojo_system', | 158 'mojo_system', |
153 'mojo_system_impl', | 159 'mojo_system_impl', |
154 ], | 160 ], |
155 'sources': [ | 161 'sources': [ |
156 'system/core_impl_unittest.cc', | 162 'system/core_impl_unittest.cc', |
157 'system/core_test_base.cc', | 163 'system/core_test_base.cc', |
158 'system/core_test_base.h', | 164 'system/core_test_base.h', |
159 'system/data_pipe_unittest.cc', | 165 'system/data_pipe_unittest.cc', |
160 'system/dispatcher_unittest.cc', | 166 'system/dispatcher_unittest.cc', |
161 'system/embedder/embedder_unittest.cc', | 167 'system/embedder/embedder_unittest.cc', |
162 'system/local_data_pipe_unittest.cc', | 168 'system/local_data_pipe_unittest.cc', |
163 'system/message_pipe_dispatcher_unittest.cc', | 169 'system/message_pipe_dispatcher_unittest.cc', |
164 'system/message_pipe_unittest.cc', | 170 'system/message_pipe_unittest.cc', |
165 'system/multiprocess_message_pipe_unittest.cc', | 171 'system/multiprocess_message_pipe_unittest.cc', |
166 'system/raw_channel_posix_unittest.cc', | 172 'system/raw_channel_posix_unittest.cc', |
167 'system/remote_message_pipe_posix_unittest.cc', | 173 'system/remote_message_pipe_posix_unittest.cc', |
168 'system/simple_dispatcher_unittest.cc', | 174 'system/simple_dispatcher_unittest.cc', |
169 # TODO(vtl): Move this to mojo_system_impl (and mojo_system_impl's | |
170 # exports). | |
171 'system/embedder/test_embedder.cc', | |
172 'system/embedder/test_embedder.h', | |
173 'system/test_utils.cc', | 175 'system/test_utils.cc', |
174 'system/test_utils.h', | 176 'system/test_utils.h', |
175 'system/waiter_list_unittest.cc', | 177 'system/waiter_list_unittest.cc', |
176 'system/waiter_test_utils.cc', | 178 'system/waiter_test_utils.cc', |
177 'system/waiter_test_utils.h', | 179 'system/waiter_test_utils.h', |
178 'system/waiter_unittest.cc', | 180 'system/waiter_unittest.cc', |
179 ], | 181 ], |
180 }, | 182 }, |
181 { | 183 { |
182 'target_name': 'mojo_gles2', | 184 'target_name': 'mojo_gles2', |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
480 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', | 482 'java_in_dir': '<(DEPTH)/mojo/shell/android/apk', |
481 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', | 483 'resource_dir': '<(DEPTH)/mojo/shell/android/apk/res', |
482 'native_lib_target': 'libmojo_shell', | 484 'native_lib_target': 'libmojo_shell', |
483 }, | 485 }, |
484 'includes': [ '../build/java_apk.gypi' ], | 486 'includes': [ '../build/java_apk.gypi' ], |
485 } | 487 } |
486 ], | 488 ], |
487 }], | 489 }], |
488 ], | 490 ], |
489 } | 491 } |
OLD | NEW |