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 'variables': { | 6 'variables': { |
7 # This turns on e.g. the filename-based detection of which | 7 # This turns on e.g. the filename-based detection of which |
8 # platforms to include source files on (e.g. files ending in | 8 # platforms to include source files on (e.g. files ending in |
9 # _mac.h or _mac.cc are only compiled on MacOSX). | 9 # _mac.h or _mac.cc are only compiled on MacOSX). |
10 'chromium_code': 1, | 10 'chromium_code': 1, |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 'webdata/encryptor/encryptor_password_mac_unittest.cc', | 52 'webdata/encryptor/encryptor_password_mac_unittest.cc', |
53 'webdata/encryptor/encryptor_unittest.cc', | 53 'webdata/encryptor/encryptor_unittest.cc', |
54 'webdata/encryptor/ie7_password_unittest_win.cc', | 54 'webdata/encryptor/ie7_password_unittest_win.cc', |
55 'web_modal/web_contents_modal_dialog_manager_unittest.cc', | 55 'web_modal/web_contents_modal_dialog_manager_unittest.cc', |
56 ], | 56 ], |
57 'include_dirs': [ | 57 'include_dirs': [ |
58 '..', | 58 '..', |
59 ], | 59 ], |
60 'dependencies': [ | 60 'dependencies': [ |
61 '../base/base.gyp:test_support_base', | 61 '../base/base.gyp:test_support_base', |
| 62 # TODO(blundell): Eliminate the need for this dependency in code |
| 63 # that iOS shares. crbug.com/325243 |
| 64 '../content/content_shell_and_tests.gyp:test_support_content', |
62 '../sync/sync.gyp:sync', | 65 '../sync/sync.gyp:sync', |
63 '../testing/gmock.gyp:gmock', | 66 '../testing/gmock.gyp:gmock', |
64 '../testing/gtest.gyp:gtest', | 67 '../testing/gtest.gyp:gtest', |
65 | 68 |
66 # Dependencies of autofill | |
67 'components.gyp:autofill_core_browser', | |
68 'components.gyp:autofill_core_common', | |
69 | |
70 # Dependencies of auto_login_parser | 69 # Dependencies of auto_login_parser |
71 'components.gyp:auto_login_parser', | 70 'components.gyp:auto_login_parser', |
72 | 71 |
73 # Dependencies of browser_context_keyed_service | |
74 'components.gyp:browser_context_keyed_service', | |
75 | |
76 # Dependencies of dom_distiller | 72 # Dependencies of dom_distiller |
77 'components.gyp:distilled_page_proto', | 73 'components.gyp:distilled_page_proto', |
78 'components.gyp:dom_distiller_core', | 74 'components.gyp:dom_distiller_core', |
79 | 75 |
80 # Dependencies of encryptor | 76 # Dependencies of encryptor |
81 'components.gyp:encryptor', | 77 'components.gyp:encryptor', |
82 | 78 |
83 # Dependencies of json_schema | 79 # Dependencies of json_schema |
84 'components.gyp:json_schema', | 80 'components.gyp:json_schema', |
85 | 81 |
86 # Dependencies of intercept_navigation_resource_throttle_unittest.cc | |
87 '../content/content_shell_and_tests.gyp:test_support_content', | |
88 '../skia/skia.gyp:skia', | |
89 'components.gyp:navigation_interception', | |
90 | |
91 # Dependencies of policy | 82 # Dependencies of policy |
92 'components.gyp:policy_component', | 83 'components.gyp:policy_component', |
93 | 84 |
94 # Dependencies of precache | 85 # Dependencies of precache |
95 'components.gyp:precache_core', | 86 'components.gyp:precache_core', |
96 'components.gyp:precache_core_proto', | 87 'components.gyp:precache_core_proto', |
97 | 88 |
98 # Dependencies of sessions | |
99 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
100 'components.gyp:sessions', | |
101 'components.gyp:sessions_test_support', | |
102 | |
103 # Dependencies of translate. | 89 # Dependencies of translate. |
104 'components.gyp:translate_common', | 90 'components.gyp:translate_common', |
105 'components.gyp:translate_language_detection', | 91 'components.gyp:translate_language_detection', |
106 | 92 |
107 # Dependencies of variations | 93 # Dependencies of variations |
108 'components.gyp:variations', | 94 'components.gyp:variations', |
109 | |
110 # Dependencies of visitedlink | |
111 'components.gyp:visitedlink_browser', | |
112 'components.gyp:visitedlink_renderer', | |
113 '../content/content_resources.gyp:content_resources', | |
114 | |
115 'components.gyp:web_modal', | |
116 'components.gyp:web_modal_test_support', | |
117 ], | 95 ], |
118 'conditions': [ | 96 'conditions': [ |
119 ['OS == "ios"', { | 97 ['OS != "ios"', { |
| 98 'dependencies': [ |
| 99 # Dependencies of autofill |
| 100 'components.gyp:autofill_core_browser', |
| 101 'components.gyp:autofill_core_common', |
| 102 |
| 103 # Dependencies of browser_context_keyed_service |
| 104 'components.gyp:browser_context_keyed_service', |
| 105 |
| 106 # Dependencies of |
| 107 # intercept_navigation_resource_throttle_unittest.cc |
| 108 '../skia/skia.gyp:skia', |
| 109 'components.gyp:navigation_interception', |
| 110 |
| 111 # Dependencies of sessions |
| 112 '../third_party/protobuf/protobuf.gyp:protobuf_lite', |
| 113 'components.gyp:sessions', |
| 114 'components.gyp:sessions_test_support', |
| 115 |
| 116 # Dependencies of visitedlink |
| 117 'components.gyp:visitedlink_browser', |
| 118 'components.gyp:visitedlink_renderer', |
| 119 '../content/content_resources.gyp:content_resources', |
| 120 |
| 121 # Dependencies of web_modal |
| 122 'components.gyp:web_modal', |
| 123 'components.gyp:web_modal_test_support', |
| 124 ], |
| 125 }, { # 'OS == "ios"' |
120 'sources/': [ | 126 'sources/': [ |
121 ['exclude', '\\.cc$'], | 127 ['exclude', '\\.cc$'], |
122 ['include', '^test/run_all_unittests\\.cc$'], | 128 ['include', '^test/run_all_unittests\\.cc$'], |
123 # TODO(ios): Include files here as they are made to work, see | 129 # TODO(ios): Include files here as they are made to work, see |
124 # http://crbug.com/303011. | 130 # http://crbug.com/303011. |
125 # TODO(asvitkine): Bring up varations/ unittests on iOS. | 131 # TODO(asvitkine): Bring up variations/ unittests on iOS. |
126 ['include', '^dom_distiller'], | 132 # TODO(blundell): Bring up json_schema/ unittests on iOS. |
127 ['include', '^translate'], | 133 ['include', '^auto_login_parser/'], |
128 ], | 134 ['include', '^dom_distiller/'], |
129 'dependencies!': [ | 135 ['include', '^precache/'], |
130 'autofill_core_common', | 136 ['include', '^translate/'], |
131 'navigation_interception', | |
132 'visitedlink_renderer', | |
133 ], | 137 ], |
134 }], | 138 }], |
135 ['disable_nacl==0', { | 139 ['disable_nacl==0', { |
136 'sources': [ | 140 'sources': [ |
137 'nacl/browser/nacl_file_host_unittest.cc', | 141 'nacl/browser/nacl_file_host_unittest.cc', |
138 'nacl/browser/nacl_process_host_unittest.cc', | 142 'nacl/browser/nacl_process_host_unittest.cc', |
139 'nacl/browser/nacl_validation_cache_unittest.cc', | 143 'nacl/browser/nacl_validation_cache_unittest.cc', |
140 'nacl/browser/pnacl_host_unittest.cc', | 144 'nacl/browser/pnacl_host_unittest.cc', |
141 'nacl/browser/pnacl_translation_cache_unittest.cc', | 145 'nacl/browser/pnacl_translation_cache_unittest.cc', |
142 'nacl/browser/test_nacl_browser_delegate.cc', | 146 'nacl/browser/test_nacl_browser_delegate.cc', |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 'dependencies': [ | 306 'dependencies': [ |
303 '../base/allocator/allocator.gyp:allocator', | 307 '../base/allocator/allocator.gyp:allocator', |
304 ], | 308 ], |
305 }], | 309 }], |
306 ], | 310 ], |
307 }, | 311 }, |
308 ], | 312 ], |
309 }], | 313 }], |
310 ], | 314 ], |
311 } | 315 } |
OLD | NEW |