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
3 # found in the LICENSE file.
11 'target_name': 'extensions_common',
12 'type': 'static_library',
14 # TODO(benwells): figure out what to do with the api target and
15 # api resources compiled into the chrome resource bundle.
16 # http://crbug.com/162530
17 '../chrome/chrome_resources.gyp:chrome_resources',
18 '../components/components.gyp:url_matcher',
19 '../content/content.gyp:content_common',
20 '../crypto/crypto.gyp:crypto',
23 '../third_party/re2/re2.gyp:re2',
24 '../ui/base/ui_base.gyp:ui_base',
25 '../ui/gfx/gfx.gyp:gfx_geometry',
26 '../url/url.gyp:url_lib',
27 'common/api/api.gyp:extensions_api',
28 'extensions_strings.gyp:extensions_strings',
32 '<(INTERMEDIATE_DIR)',
35 'common/ad_injection_constants.cc',
36 'common/ad_injection_constants.h',
37 'common/api/messaging/message.h',
38 'common/api/sockets/sockets_manifest_data.cc',
39 'common/api/sockets/sockets_manifest_data.h',
40 'common/api/sockets/sockets_manifest_handler.cc',
41 'common/api/sockets/sockets_manifest_handler.h',
42 'common/api/sockets/sockets_manifest_permission.cc',
43 'common/api/sockets/sockets_manifest_permission.h',
44 'common/common_manifest_handlers.cc',
45 'common/common_manifest_handlers.h',
46 'common/constants.cc',
50 'common/csp_validator.cc',
51 'common/csp_validator.h',
52 'common/dom_action_types.h',
53 'common/draggable_region.cc',
54 'common/draggable_region.h',
55 'common/error_utils.cc',
56 'common/error_utils.h',
57 'common/event_filter.cc',
58 'common/event_filter.h',
59 'common/event_filtering_info.cc',
60 'common/event_filtering_info.h',
61 'common/event_matcher.cc',
62 'common/event_matcher.h',
63 'common/extension.cc',
65 'common/extension_api.cc',
66 'common/extension_api.h',
67 'common/extension_api_stub.cc',
68 'common/extension_icon_set.cc',
69 'common/extension_icon_set.h',
70 'common/extension_l10n_util.cc',
71 'common/extension_l10n_util.h',
72 'common/extension_message_generator.cc',
73 'common/extension_message_generator.h',
74 'common/extension_messages.cc',
75 'common/extension_messages.h',
76 'common/extension_paths.cc',
77 'common/extension_paths.h',
78 'common/extension_resource.cc',
79 'common/extension_resource.h',
80 'common/extension_set.cc',
81 'common/extension_set.h',
82 'common/extension_urls.cc',
83 'common/extension_urls.h',
84 'common/extensions_client.cc',
85 'common/extensions_client.h',
86 'common/feature_switch.cc',
87 'common/feature_switch.h',
88 'common/features/api_feature.cc',
89 'common/features/api_feature.h',
90 'common/features/base_feature_provider.cc',
91 'common/features/base_feature_provider.h',
92 'common/features/complex_feature.cc',
93 'common/features/complex_feature.h',
94 'common/features/feature.cc',
95 'common/features/feature.h',
96 'common/features/feature_provider.cc',
97 'common/features/feature_provider.h',
98 'common/features/json_feature_provider_source.cc',
99 'common/features/json_feature_provider_source.h',
100 'common/features/manifest_feature.cc',
101 'common/features/manifest_feature.h',
102 'common/features/permission_feature.cc',
103 'common/features/permission_feature.h',
104 'common/features/simple_feature.cc',
105 'common/features/simple_feature.h',
106 'common/features/simple_feature_filter.cc',
107 'common/features/simple_feature_filter.h',
108 'common/file_util.cc',
109 'common/file_util.h',
112 'common/install_warning.cc',
113 'common/install_warning.h',
114 'common/manifest.cc',
116 'common/manifest_constants.cc',
117 'common/manifest_constants.h',
118 'common/manifest_handler.cc',
119 'common/manifest_handler.h',
120 'common/manifest_handler_helpers.cc',
121 'common/manifest_handler_helpers.h',
122 'common/manifest_handlers/background_info.cc',
123 'common/manifest_handlers/background_info.h',
124 'common/manifest_handlers/csp_info.cc',
125 'common/manifest_handlers/csp_info.h',
126 'common/manifest_handlers/externally_connectable.cc',
127 'common/manifest_handlers/externally_connectable.h',
128 'common/manifest_handlers/file_handler_info.cc',
129 'common/manifest_handlers/file_handler_info.h',
130 'common/manifest_handlers/icons_handler.cc',
131 'common/manifest_handlers/icons_handler.h',
132 'common/manifest_handlers/incognito_info.cc',
133 'common/manifest_handlers/incognito_info.h',
134 'common/manifest_handlers/kiosk_mode_info.cc',
135 'common/manifest_handlers/kiosk_mode_info.h',
136 'common/manifest_handlers/offline_enabled_info.cc',
137 'common/manifest_handlers/offline_enabled_info.h',
138 'common/manifest_handlers/requirements_info.cc',
139 'common/manifest_handlers/requirements_info.h',
140 'common/manifest_handlers/sandboxed_page_info.cc',
141 'common/manifest_handlers/sandboxed_page_info.h',
142 'common/manifest_handlers/shared_module_info.cc',
143 'common/manifest_handlers/shared_module_info.h',
144 'common/manifest_handlers/web_accessible_resources_info.cc',
145 'common/manifest_handlers/web_accessible_resources_info.h',
146 'common/manifest_handlers/webview_info.cc',
147 'common/manifest_handlers/webview_info.h',
148 'common/message_bundle.cc',
149 'common/message_bundle.h',
150 'common/one_shot_event.cc',
151 'common/one_shot_event.h',
152 'common/permissions/api_permission.cc',
153 'common/permissions/api_permission.h',
154 'common/permissions/api_permission_set.cc',
155 'common/permissions/api_permission_set.h',
156 'common/permissions/base_set_operators.h',
157 'common/permissions/extensions_api_permissions.cc',
158 'common/permissions/extensions_api_permissions.h',
159 'common/permissions/manifest_permission.cc',
160 'common/permissions/manifest_permission.h',
161 'common/permissions/manifest_permission_set.cc',
162 'common/permissions/manifest_permission_set.h',
163 'common/permissions/media_galleries_permission.cc',
164 'common/permissions/media_galleries_permission.h',
165 'common/permissions/media_galleries_permission_data.cc',
166 'common/permissions/media_galleries_permission_data.h',
167 'common/permissions/permission_message.cc',
168 'common/permissions/permission_message.h',
169 'common/permissions/permission_message_provider.cc',
170 'common/permissions/permission_message_provider.h',
171 'common/permissions/permission_message_util.cc',
172 'common/permissions/permission_message_util.h',
173 'common/permissions/permission_set.cc',
174 'common/permissions/permission_set.h',
175 'common/permissions/permissions_data.cc',
176 'common/permissions/permissions_data.h',
177 'common/permissions/permissions_info.cc',
178 'common/permissions/permissions_info.h',
179 'common/permissions/permissions_provider.h',
180 'common/permissions/set_disjunction_permission.h',
181 'common/permissions/settings_override_permission.cc',
182 'common/permissions/settings_override_permission.h',
183 'common/permissions/socket_permission.cc',
184 'common/permissions/socket_permission.h',
185 'common/permissions/socket_permission_data.cc',
186 'common/permissions/socket_permission_data.h',
187 'common/permissions/socket_permission_entry.cc',
188 'common/permissions/socket_permission_entry.h',
189 'common/permissions/usb_device_permission.cc',
190 'common/permissions/usb_device_permission.h',
191 'common/permissions/usb_device_permission_data.cc',
192 'common/permissions/usb_device_permission_data.h',
193 'common/stack_frame.cc',
194 'common/stack_frame.h',
195 'common/switches.cc',
197 'common/url_pattern.cc',
198 'common/url_pattern.h',
199 'common/url_pattern_set.cc',
200 'common/url_pattern_set.h',
201 'common/user_script.cc',
202 'common/user_script.h',
203 'common/value_counter.cc',
204 'common/value_counter.h',
205 'common/view_type.cc',
206 'common/view_type.h',
208 # Disable c4267 warnings until we fix size_t to int truncations.
209 'msvs_disabled_warnings': [ 4267, ],
211 ['enable_extensions==1', {
213 '../device/usb/usb.gyp:device_usb',
216 'common/extension_api_stub.cc',
218 }, { # enable_extensions == 0
220 'common/extension_api.cc',
226 'target_name': 'extensions_browser',
227 'type': 'static_library',
229 '../components/components.gyp:keyed_service_content',
230 '../components/components.gyp:pref_registry',
231 '../components/components.gyp:usb_service',
232 '../content/content.gyp:content_browser',
233 '../skia/skia.gyp:skia',
234 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
235 'common/api/api.gyp:extensions_api',
237 'extensions_strings.gyp:extensions_strings',
241 '<(INTERMEDIATE_DIR)',
242 # Needed to access generated API headers.
243 '<(SHARED_INTERMEDIATE_DIR)',
245 '<(SHARED_INTERMEDIATE_DIR)/chrome',
248 'browser/admin_policy.cc',
249 'browser/admin_policy.h',
250 # NOTE: When moving an API out of Chrome be sure to verify that the
251 # Android build still compiles. See conditions below.
252 'browser/api/api_resource.cc',
253 'browser/api/api_resource.h',
254 'browser/api/api_resource_manager.h',
255 'browser/api/async_api_function.cc',
256 'browser/api/async_api_function.h',
257 'browser/api/dns/dns_api.cc',
258 'browser/api/dns/dns_api.h',
259 'browser/api/dns/host_resolver_wrapper.cc',
260 'browser/api/dns/host_resolver_wrapper.h',
261 'browser/api/extensions_api_client.cc',
262 'browser/api/extensions_api_client.h',
263 'browser/api/runtime/runtime_api.cc',
264 'browser/api/runtime/runtime_api.h',
265 'browser/api/runtime/runtime_api_delegate.cc',
266 'browser/api/runtime/runtime_api_delegate.h',
267 'browser/api/socket/socket.cc',
268 'browser/api/socket/socket.h',
269 'browser/api/socket/socket_api.cc',
270 'browser/api/socket/socket_api.h',
271 'browser/api/socket/tcp_socket.cc',
272 'browser/api/socket/tcp_socket.h',
273 'browser/api/socket/udp_socket.cc',
274 'browser/api/socket/udp_socket.h',
275 'browser/api/sockets_tcp/sockets_tcp_api.cc',
276 'browser/api/sockets_tcp/sockets_tcp_api.h',
277 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc',
278 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.h',
279 'browser/api/sockets_tcp_server/sockets_tcp_server_api.cc',
280 'browser/api/sockets_tcp_server/sockets_tcp_server_api.h',
281 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc',
282 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h',
283 'browser/api/sockets_udp/sockets_udp_api.cc',
284 'browser/api/sockets_udp/sockets_udp_api.h',
285 'browser/api/sockets_udp/udp_socket_event_dispatcher.cc',
286 'browser/api/sockets_udp/udp_socket_event_dispatcher.h',
287 'browser/api/storage/leveldb_settings_storage_factory.cc',
288 'browser/api/storage/leveldb_settings_storage_factory.h',
289 'browser/api/storage/local_value_store_cache.cc',
290 'browser/api/storage/local_value_store_cache.h',
291 'browser/api/storage/settings_namespace.cc',
292 'browser/api/storage/settings_namespace.h',
293 'browser/api/storage/settings_observer.h',
294 'browser/api/storage/settings_storage_factory.h',
295 'browser/api/storage/settings_storage_quota_enforcer.cc',
296 'browser/api/storage/settings_storage_quota_enforcer.h',
297 'browser/api/storage/storage_api.cc',
298 'browser/api/storage/storage_api.h',
299 'browser/api/storage/storage_frontend.cc',
300 'browser/api/storage/storage_frontend.h',
301 'browser/api/storage/value_store_cache.cc',
302 'browser/api/storage/value_store_cache.h',
303 'browser/api/storage/weak_unlimited_settings_storage.cc',
304 'browser/api/storage/weak_unlimited_settings_storage.h',
305 'browser/api/test/test_api.cc',
306 'browser/api/test/test_api.h',
307 'browser/api/usb/usb_api.cc',
308 'browser/api/usb/usb_api.h',
309 'browser/api/usb/usb_device_resource.cc',
310 'browser/api/usb/usb_device_resource.h',
311 'browser/api_activity_monitor.h',
312 'browser/app_sorting.h',
313 'browser/blacklist_state.h',
314 'browser/browser_context_keyed_api_factory.h',
315 'browser/browser_context_keyed_service_factories.cc',
316 'browser/browser_context_keyed_service_factories.h',
317 'browser/computed_hashes.cc',
318 'browser/computed_hashes.h',
319 'browser/content_hash_fetcher.cc',
320 'browser/content_hash_fetcher.h',
321 'browser/content_hash_reader.cc',
322 'browser/content_hash_reader.h',
323 'browser/content_hash_tree.cc',
324 'browser/content_hash_tree.h',
325 'browser/content_verifier.cc',
326 'browser/content_verifier.h',
327 'browser/content_verifier_delegate.h',
328 'browser/content_verify_job.cc',
329 'browser/content_verify_job.h',
330 'browser/error_map.cc',
331 'browser/error_map.h',
332 'browser/event_listener_map.cc',
333 'browser/event_listener_map.h',
334 'browser/event_router.cc',
335 'browser/event_router.h',
336 'browser/extension_host.cc',
337 'browser/extension_host.h',
338 'browser/extension_host_delegate.h',
339 'browser/extension_error.cc',
340 'browser/extension_error.h',
341 'browser/extension_function.cc',
342 'browser/extension_function.h',
343 'browser/extension_function_dispatcher.cc',
344 'browser/extension_function_dispatcher.h',
345 'browser/extension_function_registry.cc',
346 'browser/extension_function_registry.h',
347 'browser/extension_function_util.cc',
348 'browser/extension_function_util.h',
349 'browser/extension_message_filter.cc',
350 'browser/extension_message_filter.h',
351 'browser/extension_pref_store.cc',
352 'browser/extension_pref_store.h',
353 'browser/extension_pref_value_map.cc',
354 'browser/extension_pref_value_map_factory.cc',
355 'browser/extension_pref_value_map_factory.h',
356 'browser/extension_pref_value_map.h',
357 'browser/extension_prefs.cc',
358 'browser/extension_prefs.h',
359 'browser/extension_prefs_factory.cc',
360 'browser/extension_prefs_factory.h',
361 'browser/extension_prefs_observer.h',
362 'browser/extension_prefs_scope.h',
363 'browser/extension_protocols.cc',
364 'browser/extension_protocols.h',
365 'browser/extension_registry.cc',
366 'browser/extension_registry.h',
367 'browser/extension_registry_factory.cc',
368 'browser/extension_registry_factory.h',
369 'browser/extension_registry_observer.h',
370 'browser/extension_scoped_prefs.h',
371 'browser/extension_system.cc',
372 'browser/extension_system.h',
373 'browser/extension_system_provider.cc',
374 'browser/extension_system_provider.h',
375 'browser/extension_web_contents_observer.cc',
376 'browser/extension_web_contents_observer.h',
377 'browser/extensions_browser_client.cc',
378 'browser/extensions_browser_client.h',
379 'browser/external_provider_interface.h',
380 'browser/image_util.cc',
381 'browser/image_util.h',
382 'browser/info_map.cc',
383 'browser/info_map.h',
384 'browser/file_highlighter.cc',
385 'browser/file_highlighter.h',
386 'browser/file_reader.cc',
387 'browser/file_reader.h',
388 'browser/lazy_background_task_queue.cc',
389 'browser/lazy_background_task_queue.h',
390 'browser/management_policy.cc',
391 'browser/management_policy.h',
392 'browser/pref_names.cc',
393 'browser/pref_names.h',
394 'browser/process_manager.cc',
395 'browser/process_manager.h',
396 'browser/process_manager_observer.h',
397 'browser/process_map.cc',
398 'browser/process_map.h',
399 'browser/process_map_factory.cc',
400 'browser/process_map_factory.h',
401 'browser/quota_service.cc',
402 'browser/quota_service.h',
403 'browser/renderer_startup_helper.cc',
404 'browser/renderer_startup_helper.h',
405 'browser/runtime_data.cc',
406 'browser/runtime_data.h',
407 'browser/update_observer.h',
408 'browser/value_store/leveldb_value_store.cc',
409 'browser/value_store/leveldb_value_store.h',
410 'browser/value_store/testing_value_store.cc',
411 'browser/value_store/testing_value_store.h',
412 'browser/value_store/value_store.cc',
413 'browser/value_store/value_store.h',
414 'browser/value_store/value_store_change.cc',
415 'browser/value_store/value_store_change.h',
416 'browser/value_store/value_store_frontend.cc',
417 'browser/value_store/value_store_frontend.h',
418 'browser/value_store/value_store_util.cc',
419 'browser/value_store/value_store_util.h',
420 'browser/verified_contents.cc',
421 'browser/verified_contents.h',
422 'browser/view_type_utils.cc',
423 'browser/view_type_utils.h',
426 ['enable_extensions==0', {
427 # Exclude all API implementations and the ExtensionsApiClient
428 # interface. Moving an API from src/chrome to src/extensions implies
429 # it can be cleanly disabled with enable_extensions==0.
430 # TODO: Eventually the entire extensions module should not be built
431 # when enable_extensions==0.
433 ['exclude', '^browser/api/'],
434 ['include', '^browser/api/runtime/runtime_api.cc'],
435 ['include', '^browser/api/runtime/runtime_api_delegate.cc'],
438 'browser/browser_context_keyed_service_factories.cc',
439 'browser/browser_context_keyed_service_factories.h',
442 '../components/components.gyp:usb_service',
446 # Disable c4267 warnings until we fix size_t to int truncations.
447 'msvs_disabled_warnings': [ 4267, ],
450 'target_name': 'extensions_renderer',
451 'type': 'static_library',
453 'extensions_resources.gyp:extensions_resources',
454 '../chrome/chrome_resources.gyp:chrome_resources',
455 '../third_party/WebKit/public/blink.gyp:blink',
461 'renderer/activity_log_converter_strategy.cc',
462 'renderer/activity_log_converter_strategy.h',
463 'renderer/api_activity_logger.cc',
464 'renderer/api_activity_logger.h',
465 'renderer/api_definitions_natives.cc',
466 'renderer/api_definitions_natives.h',
467 'renderer/app_runtime_custom_bindings.cc',
468 'renderer/app_runtime_custom_bindings.h',
469 'renderer/binding_generating_native_handler.cc',
470 'renderer/binding_generating_native_handler.h',
471 'renderer/blob_native_handler.cc',
472 'renderer/blob_native_handler.h',
473 'renderer/console.cc',
474 'renderer/console.h',
475 'renderer/content_watcher.cc',
476 'renderer/content_watcher.h',
477 'renderer/context_menus_custom_bindings.cc',
478 'renderer/context_menus_custom_bindings.h',
479 'renderer/css_native_handler.cc',
480 'renderer/css_native_handler.h',
481 'renderer/default_dispatcher_delegate.cc',
482 'renderer/default_dispatcher_delegate.h',
483 'renderer/dispatcher.cc',
484 'renderer/dispatcher.h',
485 'renderer/dispatcher_delegate.h',
486 'renderer/document_custom_bindings.cc',
487 'renderer/document_custom_bindings.h',
488 'renderer/dom_activity_logger.cc',
489 'renderer/dom_activity_logger.h',
490 'renderer/event_bindings.cc',
491 'renderer/event_bindings.h',
492 'renderer/extension_helper.cc',
493 'renderer/extension_helper.h',
494 'renderer/extensions_renderer_client.cc',
495 'renderer/extensions_renderer_client.h',
496 'renderer/extension_groups.h',
497 'renderer/file_system_natives.cc',
498 'renderer/file_system_natives.h',
499 'renderer/i18n_custom_bindings.cc',
500 'renderer/i18n_custom_bindings.h',
501 'renderer/id_generator_custom_bindings.cc',
502 'renderer/id_generator_custom_bindings.h',
503 'renderer/lazy_background_page_native_handler.cc',
504 'renderer/lazy_background_page_native_handler.h',
505 'renderer/logging_native_handler.cc',
506 'renderer/logging_native_handler.h',
507 'renderer/messaging_bindings.cc',
508 'renderer/messaging_bindings.h',
509 'renderer/module_system.cc',
510 'renderer/module_system.h',
511 'renderer/native_handler.cc',
512 'renderer/native_handler.h',
513 'renderer/object_backed_native_handler.cc',
514 'renderer/object_backed_native_handler.h',
515 'renderer/print_native_handler.cc',
516 'renderer/print_native_handler.h',
517 'renderer/process_info_native_handler.cc',
518 'renderer/process_info_native_handler.h',
519 'renderer/render_view_observer_natives.cc',
520 'renderer/render_view_observer_natives.h',
521 'renderer/request_sender.cc',
522 'renderer/request_sender.h',
523 'renderer/resource_bundle_source_map.cc',
524 'renderer/resource_bundle_source_map.h',
525 'renderer/runtime_custom_bindings.cc',
526 'renderer/runtime_custom_bindings.h',
527 'renderer/safe_builtins.cc',
528 'renderer/safe_builtins.h',
529 'renderer/send_request_natives.cc',
530 'renderer/send_request_natives.h',
531 'renderer/set_icon_natives.cc',
532 'renderer/set_icon_natives.h',
533 'renderer/scoped_persistent.h',
534 'renderer/script_context.cc',
535 'renderer/script_context.h',
536 'renderer/script_context_set.cc',
537 'renderer/script_context_set.h',
538 'renderer/script_injection.cc',
539 'renderer/script_injection.h',
540 'renderer/static_v8_external_ascii_string_resource.cc',
541 'renderer/static_v8_external_ascii_string_resource.h',
542 'renderer/test_features_native_handler.cc',
543 'renderer/test_features_native_handler.h',
544 'renderer/user_gestures_native_handler.cc',
545 'renderer/user_gestures_native_handler.h',
546 'renderer/user_script_scheduler.cc',
547 'renderer/user_script_scheduler.h',
548 'renderer/user_script_slave.cc',
549 'renderer/user_script_slave.h',
550 'renderer/utils_native_handler.cc',
551 'renderer/utils_native_handler.h',
552 'renderer/v8_context_native_handler.cc',
553 'renderer/v8_context_native_handler.h',
554 'renderer/v8_schema_registry.cc',
555 'renderer/v8_schema_registry.h',
557 # Disable c4267 warnings until we fix size_t to int truncations.
558 'msvs_disabled_warnings': [ 4267, ],
560 # Temporary conditions for Android until it can stop building
561 # the extensions module altogether. These exemptions are taken
562 # directly from chrome_renderer.gypi as sources are moved
563 # from //chrome/renderer to //extensions/renderer.
564 ['OS == "android"', {
566 'renderer/api_definitions_natives.cc',
567 'renderer/context_menus_custom_bindings.cc',
568 'renderer/render_view_observer_natives.cc',
569 'renderer/send_request_natives.cc',
575 'target_name': 'extensions_test_support',
576 'type': 'static_library',
578 '../base/base.gyp:base',
579 '../testing/gtest.gyp:gtest',
580 'common/api/api.gyp:extensions_api',
581 'extensions_browser',
586 '<(SHARED_INTERMEDIATE_DIR)',
589 'browser/test_extensions_browser_client.cc',
590 'browser/test_extensions_browser_client.h',
591 'browser/test_management_policy.cc',
592 'browser/test_management_policy.h',
593 'browser/test_runtime_api_delegate.cc',
594 'browser/test_runtime_api_delegate.h',
595 'common/extension_builder.cc',
596 'common/extension_builder.h',
597 'common/test_util.cc',
598 'common/test_util.h',
599 'common/value_builder.cc',
600 'common/value_builder.h',
601 'renderer/test_extensions_renderer_client.cc',
602 'renderer/test_extensions_renderer_client.h',
604 # Disable c4267 warnings until we fix size_t to int truncations.
605 'msvs_disabled_warnings': [ 4267, ],
608 # TODO(tfarina): Our plan is to build and run this target on Chromium bots
609 # (TS, CQ, Waterfall). First we will get this target passing all tests,
610 # after that we will start the work on buildbot to get this running there.
611 # When we consider this stable in the bots, we can go to unit_tests target
612 # and remove the duplicated entries from there, otherwise if we just
613 # remove them right now we would be losing coverage.
614 # http://crbug.com/348066
615 'target_name': 'extensions_unittests',
616 'type': 'executable',
618 '../base/base.gyp:base',
619 '../base/base.gyp:test_support_base',
620 '../testing/gmock.gyp:gmock',
621 '../testing/gtest.gyp:gtest',
623 'extensions_strings.gyp:extensions_strings',
624 'extensions_test_support',
627 'common/api/sockets/sockets_manifest_permission_unittest.cc',
628 'common/csp_validator_unittest.cc',
629 'common/event_filter_unittest.cc',
630 'common/id_util_unittest.cc',
631 'common/one_shot_event_unittest.cc',
632 'common/permissions/manifest_permission_set_unittest.cc',
633 'common/user_script_unittest.cc',
634 'test/extensions_unittests_main.cc',
635 'test/test_extensions_client.cc',
636 'test/test_extensions_client.h',
637 'test/test_permission_message_provider.cc',
638 'test/test_permission_message_provider.h',
639 'test/test_permissions_provider.cc',
640 'test/test_permissions_provider.h',