OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 6 'conditions': [ |
7 ['OS != "ios"', { | 7 ['OS != "ios"', { |
8 'targets': [ | 8 'targets': [ |
9 { | 9 { |
10 'target_name': 'components_unittests', | 10 'target_name': 'components_unittests', |
11 'type': '<(gtest_target_type)', | 11 'type': '<(gtest_target_type)', |
12 'sources': [ | 12 'sources': [ |
13 'auto_login_parser/auto_login_parser_unittest.cc', | 13 'auto_login_parser/auto_login_parser_unittest.cc', |
14 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', | 14 'navigation_interception/intercept_navigation_resource_throttle_unit
test.cc', |
15 'sessions/serialized_navigation_entry_unittest.cc', | 15 'sessions/serialized_navigation_entry_unittest.cc', |
16 'test/run_all_unittests.cc', | 16 'test/run_all_unittests.cc', |
17 'visitedlink/test/visitedlink_unittest.cc', | 17 'visitedlink/test/visitedlink_unittest.cc', |
18 'webdata/encryptor/encryptor_password_mac_unittest.cc', | 18 'webdata/encryptor/encryptor_password_mac_unittest.cc', |
19 'webdata/encryptor/encryptor_unittest.cc', | 19 'webdata/encryptor/encryptor_unittest.cc', |
| 20 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
20 ], | 21 ], |
21 'include_dirs': [ | 22 'include_dirs': [ |
22 '..', | 23 '..', |
23 ], | 24 ], |
24 'dependencies': [ | 25 'dependencies': [ |
25 '../base/base.gyp:test_support_base', | 26 '../base/base.gyp:test_support_base', |
26 '../testing/gmock.gyp:gmock', | 27 '../testing/gmock.gyp:gmock', |
27 '../testing/gtest.gyp:gtest', | 28 '../testing/gtest.gyp:gtest', |
28 | 29 |
29 # Dependencies of auto_login_parser | 30 # Dependencies of auto_login_parser |
30 'auto_login_parser', | 31 'auto_login_parser', |
31 | 32 |
32 # Dependencies of encryptor | 33 # Dependencies of encryptor |
33 'encryptor', | 34 'encryptor', |
34 | 35 |
35 # Dependencies of intercept_navigation_resource_throttle_unittest.cc | 36 # Dependencies of intercept_navigation_resource_throttle_unittest.cc |
36 '../content/content.gyp:test_support_content', | 37 '../content/content.gyp:test_support_content', |
37 '../skia/skia.gyp:skia', | 38 '../skia/skia.gyp:skia', |
38 'navigation_interception', | 39 'navigation_interception', |
39 | 40 |
40 # Dependencies of sessions | 41 # Dependencies of sessions |
41 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | 42 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
42 'sessions', | 43 'sessions', |
43 'sessions_test_support', | 44 'sessions_test_support', |
44 | 45 |
45 # Dependencies of visitedlink | 46 # Dependencies of visitedlink |
46 'visitedlink_browser', | 47 'visitedlink_browser', |
47 'visitedlink_renderer', | 48 'visitedlink_renderer', |
48 '../content/content_resources.gyp:content_resources', | 49 '../content/content_resources.gyp:content_resources', |
| 50 |
| 51 'web_modal', |
49 ], | 52 ], |
50 'conditions': [ | 53 'conditions': [ |
| 54 ['OS == "android"', { |
| 55 'sources!': [ |
| 56 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
| 57 ], |
| 58 'dependencies!': [ |
| 59 'web_modal', |
| 60 ], |
| 61 }], |
51 ['OS == "android" and gtest_target_type == "shared_library"', { | 62 ['OS == "android" and gtest_target_type == "shared_library"', { |
52 'dependencies': [ | 63 'dependencies': [ |
53 '../testing/android/native_test.gyp:native_test_native_code', | 64 '../testing/android/native_test.gyp:native_test_native_code', |
54 ] | 65 ] |
55 }], | 66 }], |
56 ['OS=="win" and win_use_allocator_shim==1', { | 67 ['OS=="win" and win_use_allocator_shim==1', { |
57 'dependencies': [ | 68 'dependencies': [ |
58 '../base/allocator/allocator.gyp:allocator', | 69 '../base/allocator/allocator.gyp:allocator', |
59 ], | 70 ], |
60 }], | 71 }], |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', | 120 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)compo
nents_unittests<(SHARED_LIB_SUFFIX)', |
110 }, | 121 }, |
111 'includes': [ '../build/apk_test.gypi' ], | 122 'includes': [ '../build/apk_test.gypi' ], |
112 }, | 123 }, |
113 ], | 124 ], |
114 }], | 125 }], |
115 ], | 126 ], |
116 }], | 127 }], |
117 ], | 128 ], |
118 } | 129 } |
OLD | NEW |