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 import("//tools/grit/grit_rule.gni") | 5 import("//tools/grit/grit_rule.gni") |
6 import("//tools/grit/repack.gni") | 6 import("//tools/grit/repack.gni") |
7 | 7 |
8 # GYP version: extensions/extensions_resources.gyp:extensions_resources | 8 # GYP version: extensions/extensions_resources.gyp:extensions_resources |
9 group("extensions_resources") { | 9 group("extensions_resources") { |
10 deps = [ | 10 deps = [ |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 "common/test_util.cc", | 80 "common/test_util.cc", |
81 "common/test_util.h", | 81 "common/test_util.h", |
82 "common/value_builder.cc", | 82 "common/value_builder.cc", |
83 "common/value_builder.h", | 83 "common/value_builder.h", |
84 "renderer/test_extensions_renderer_client.cc", | 84 "renderer/test_extensions_renderer_client.cc", |
85 "renderer/test_extensions_renderer_client.h", | 85 "renderer/test_extensions_renderer_client.h", |
86 "test/test_extensions_client.cc", | 86 "test/test_extensions_client.cc", |
87 "test/test_extensions_client.h", | 87 "test/test_extensions_client.h", |
88 "test/test_permission_message_provider.cc", | 88 "test/test_permission_message_provider.cc", |
89 "test/test_permission_message_provider.h", | 89 "test/test_permission_message_provider.h", |
90 "test/test_permissions_provider.cc", | |
91 "test/test_permissions_provider.h", | |
92 ] | 90 ] |
93 | 91 |
94 deps = [ | 92 deps = [ |
95 ":extensions_resources", | 93 ":extensions_resources", |
96 "//base", | 94 "//base", |
97 "//extensions/browser", | 95 "//extensions/browser", |
98 "//extensions/common", | 96 "//extensions/common", |
99 "//extensions/common/api", | 97 "//extensions/common/api", |
100 "//extensions/common/api:api_registration", | 98 "//extensions/common/api:api_registration", |
101 "//net:test_support", | 99 "//net:test_support", |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 "//ui/strings", | 147 "//ui/strings", |
150 ] | 148 ] |
151 } | 149 } |
152 | 150 |
153 # TODO(GYP): Enable this link errors are fixed. | 151 # TODO(GYP): Enable this link errors are fixed. |
154 # This gives a link error in web_modal that is very mysterious. The GYP build | 152 # This gives a link error in web_modal that is very mysterious. The GYP build |
155 # doesn't seem to pull in web_content_modal_dialog_manager.o since the build | 153 # doesn't seem to pull in web_content_modal_dialog_manager.o since the build |
156 # does not have a reference to CreateNativeWebModalManager but it still links. | 154 # does not have a reference to CreateNativeWebModalManager but it still links. |
157 # The GN build fails with this symbol being undefined. | 155 # The GN build fails with this symbol being undefined. |
158 if (false) { | 156 if (false) { |
159 # TODO(tfarina): Many extension unit tests run as part of Chrome"s | |
160 # unit_tests target. They should be moved here, which may require some | |
161 # refactoring (ExtensionsBrowserClient, TestingProfile, etc.). | |
162 # http://crbug.com/348066 | |
163 test("unittests") { | 157 test("unittests") { |
164 output_name = "extensions_unittests" | 158 output_name = "extensions_unittests" |
165 | 159 |
166 sources = [ | 160 sources = [ |
167 "browser/admin_policy_unittest.cc", | 161 "browser/admin_policy_unittest.cc", |
168 "browser/api/api_resource_manager_unittest.cc", | 162 "browser/api/api_resource_manager_unittest.cc", |
169 "browser/api/declarative/declarative_rule_unittest.cc", | 163 "browser/api/declarative/declarative_rule_unittest.cc", |
170 "browser/api/declarative/deduping_factory_unittest.cc", | 164 "browser/api/declarative/deduping_factory_unittest.cc", |
171 "browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.
cc", | 165 "browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.
cc", |
172 "browser/api/declarative_webrequest/webrequest_condition_unittest.cc", | 166 "browser/api/declarative_webrequest/webrequest_condition_unittest.cc", |
(...skipping 25 matching lines...) Expand all Loading... |
198 "browser/value_store/testing_value_store_unittest.cc", | 192 "browser/value_store/testing_value_store_unittest.cc", |
199 "browser/value_store/value_store_change_unittest.cc", | 193 "browser/value_store/value_store_change_unittest.cc", |
200 "browser/value_store/value_store_frontend_unittest.cc", | 194 "browser/value_store/value_store_frontend_unittest.cc", |
201 "browser/value_store/value_store_unittest.cc", | 195 "browser/value_store/value_store_unittest.cc", |
202 "browser/value_store/value_store_unittest.h", | 196 "browser/value_store/value_store_unittest.h", |
203 "browser/verified_contents_unittest.cc", | 197 "browser/verified_contents_unittest.cc", |
204 "browser/warning_service_unittest.cc", | 198 "browser/warning_service_unittest.cc", |
205 "common/api/sockets/sockets_manifest_permission_unittest.cc", | 199 "common/api/sockets/sockets_manifest_permission_unittest.cc", |
206 "common/csp_validator_unittest.cc", | 200 "common/csp_validator_unittest.cc", |
207 "common/event_filter_unittest.cc", | 201 "common/event_filter_unittest.cc", |
| 202 "common/extension_l10n_util_unittest.cc", |
208 "common/extension_resource_unittest.cc", | 203 "common/extension_resource_unittest.cc", |
209 "common/extension_set_unittest.cc", | 204 "common/extension_set_unittest.cc", |
| 205 "common/file_util_unittest.cc", |
210 "common/manifest_handler_unittest.cc", | 206 "common/manifest_handler_unittest.cc", |
211 "common/manifest_handlers/shared_module_manifest_unittest.cc", | 207 "common/manifest_handlers/shared_module_manifest_unittest.cc", |
212 "common/message_bundle_unittest.cc", | 208 "common/message_bundle_unittest.cc", |
213 "common/one_shot_event_unittest.cc", | 209 "common/one_shot_event_unittest.cc", |
214 "common/permissions/manifest_permission_set_unittest.cc", | 210 "common/permissions/manifest_permission_set_unittest.cc", |
215 "common/url_pattern_set_unittest.cc", | 211 "common/url_pattern_set_unittest.cc", |
216 "common/url_pattern_unittest.cc", | 212 "common/url_pattern_unittest.cc", |
217 "common/user_script_unittest.cc", | 213 "common/user_script_unittest.cc", |
218 "renderer/activity_log_converter_strategy_unittest.cc", | 214 "renderer/activity_log_converter_strategy_unittest.cc", |
219 "renderer/api/serial/data_receiver_unittest.cc", | 215 "renderer/api/serial/data_receiver_unittest.cc", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 "//third_party/leveldatabase", | 253 "//third_party/leveldatabase", |
258 ] | 254 ] |
259 | 255 |
260 if (is_win) { | 256 if (is_win) { |
261 deps += [ | 257 deps += [ |
262 "//base/allocator", | 258 "//base/allocator", |
263 ] | 259 ] |
264 } | 260 } |
265 } | 261 } |
266 } | 262 } |
OLD | NEW |