OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 7 { |
8 # GN version: //mojo/public/c/test_support | 8 # GN version: //mojo/public/c/test_support |
9 'target_name': 'mojo_test_support', | 9 'target_name': 'mojo_test_support', |
10 'type': 'shared_library', | |
11 'defines': [ | 10 'defines': [ |
12 'MOJO_TEST_SUPPORT_IMPLEMENTATION', | 11 'MOJO_TEST_SUPPORT_IMPLEMENTATION', |
13 ], | 12 ], |
14 'include_dirs': [ | 13 'include_dirs': [ |
15 '..', | 14 '..', |
16 ], | 15 ], |
17 'direct_dependent_settings': { | 16 'direct_dependent_settings': { |
18 'include_dirs': [ | 17 'include_dirs': [ |
19 '..', | 18 '..', |
20 ], | 19 ], |
21 }, | 20 }, |
22 'sources': [ | 21 'sources': [ |
23 'public/c/test_support/test_support.h', | 22 'public/c/test_support/test_support.h', |
24 'public/c/test_support/test_support_export.h', | 23 'public/c/test_support/test_support_export.h', |
25 # TODO(vtl): Convert this to thunks http://crbug.com/386799 | 24 # TODO(vtl): Convert this to thunks http://crbug.com/386799 |
26 'public/tests/test_support_private.cc', | 25 'public/tests/test_support_private.cc', |
27 'public/tests/test_support_private.h', | 26 'public/tests/test_support_private.h', |
28 ], | 27 ], |
29 'conditions': [ | 28 'conditions': [ |
| 29 ['OS=="ios"', { |
| 30 'type': 'static_library', |
| 31 }, { |
| 32 'type': 'shared_library', |
| 33 }], |
30 ['OS=="mac"', { | 34 ['OS=="mac"', { |
31 'xcode_settings': { | 35 'xcode_settings': { |
32 # Make it a run-path dependent library. | 36 # Make it a run-path dependent library. |
33 'DYLIB_INSTALL_NAME_BASE': '@loader_path', | 37 'DYLIB_INSTALL_NAME_BASE': '@loader_path', |
34 }, | 38 }, |
35 }], | 39 }], |
36 ], | 40 ], |
37 }, | 41 }, |
38 { | 42 { |
39 # GN version: //mojo/public/cpp/test_support:test_utils | 43 # GN version: //mojo/public/cpp/test_support:test_utils |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 'mojo_js_bindings_lib', | 220 'mojo_js_bindings_lib', |
217 'mojo_public_test_interfaces', | 221 'mojo_public_test_interfaces', |
218 'mojo_run_all_unittests', | 222 'mojo_run_all_unittests', |
219 ], | 223 ], |
220 'sources': [ | 224 'sources': [ |
221 'public/js/bindings/tests/run_js_tests.cc', | 225 'public/js/bindings/tests/run_js_tests.cc', |
222 ], | 226 ], |
223 }, | 227 }, |
224 ], | 228 ], |
225 } | 229 } |
OLD | NEW |