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 # GN version: //extensions/common:mojo
12 'target_name': 'extensions_common_mojo',
13 # The type of this target must be none. This is so that resources can
14 # depend upon this target for generating the js bindings files. Any
15 # generated cpp files must be listed explicitly in extensions_common
18 '../mojo/public/tools/bindings/mojom_bindings_generator.gypi',
25 # GN version: //extensions/common
26 'target_name': 'extensions_common',
27 'type': 'static_library',
29 '../components/components.gyp:crx_file',
30 '../components/components.gyp:url_matcher',
31 '../content/content.gyp:content_common',
32 '../crypto/crypto.gyp:crypto',
35 '../third_party/re2/re2.gyp:re2',
36 '../ui/base/ui_base.gyp:ui_base',
37 '../ui/gfx/gfx.gyp:gfx_geometry',
38 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
39 '../url/url.gyp:url_lib',
40 '../third_party/libxml/libxml.gyp:libxml',
41 'extensions_resources.gyp:extensions_resources',
42 'extensions_strings.gyp:extensions_strings',
43 'extensions_common_mojo',
47 '<(INTERMEDIATE_DIR)',
50 # Note: sources list duplicated in GN build.
51 'common/api/bluetooth/bluetooth_manifest_data.cc',
52 'common/api/bluetooth/bluetooth_manifest_data.h',
53 'common/api/bluetooth/bluetooth_manifest_handler.cc',
54 'common/api/bluetooth/bluetooth_manifest_handler.h',
55 'common/api/bluetooth/bluetooth_manifest_permission.cc',
56 'common/api/bluetooth/bluetooth_manifest_permission.h',
57 'common/api/messaging/message.h',
58 'common/api/sockets/sockets_manifest_data.cc',
59 'common/api/sockets/sockets_manifest_data.h',
60 'common/api/sockets/sockets_manifest_handler.cc',
61 'common/api/sockets/sockets_manifest_handler.h',
62 'common/api/sockets/sockets_manifest_permission.cc',
63 'common/api/sockets/sockets_manifest_permission.h',
64 'common/common_manifest_handlers.cc',
65 'common/common_manifest_handlers.h',
66 'common/constants.cc',
68 'common/csp_validator.cc',
69 'common/csp_validator.h',
70 'common/dom_action_types.h',
71 'common/draggable_region.cc',
72 'common/draggable_region.h',
73 'common/error_utils.cc',
74 'common/error_utils.h',
75 'common/event_filter.cc',
76 'common/event_filter.h',
77 'common/event_filtering_info.cc',
78 'common/event_filtering_info.h',
79 'common/event_matcher.cc',
80 'common/event_matcher.h',
81 'common/extension.cc',
83 'common/extension_api.cc',
84 'common/extension_api.h',
85 'common/extension_api_stub.cc',
86 'common/extension_icon_set.cc',
87 'common/extension_icon_set.h',
88 'common/extension_l10n_util.cc',
89 'common/extension_l10n_util.h',
90 'common/extension_message_generator.cc',
91 'common/extension_message_generator.h',
92 'common/extension_messages.cc',
93 'common/extension_messages.h',
94 'common/extension_paths.cc',
95 'common/extension_paths.h',
96 'common/extension_resource.cc',
97 'common/extension_resource.h',
98 'common/extension_set.cc',
99 'common/extension_set.h',
100 'common/extension_urls.cc',
101 'common/extension_urls.h',
102 'common/extension_utility_messages.h',
103 'common/extensions_client.cc',
104 'common/extensions_client.h',
105 'common/feature_switch.cc',
106 'common/feature_switch.h',
107 'common/features/api_feature.cc',
108 'common/features/api_feature.h',
109 'common/features/base_feature_provider.cc',
110 'common/features/base_feature_provider.h',
111 'common/features/complex_feature.cc',
112 'common/features/complex_feature.h',
113 'common/features/feature.cc',
114 'common/features/feature.h',
115 'common/features/feature_provider.cc',
116 'common/features/feature_provider.h',
117 'common/features/json_feature_provider_source.cc',
118 'common/features/json_feature_provider_source.h',
119 'common/features/manifest_feature.cc',
120 'common/features/manifest_feature.h',
121 'common/features/permission_feature.cc',
122 'common/features/permission_feature.h',
123 'common/features/simple_feature.cc',
124 'common/features/simple_feature.h',
125 'common/features/simple_feature_filter.cc',
126 'common/features/simple_feature_filter.h',
127 'common/file_util.cc',
128 'common/file_util.h',
129 'common/guest_view/guest_view_constants.cc',
130 'common/guest_view/guest_view_constants.h',
131 'common/install_warning.cc',
132 'common/install_warning.h',
133 'common/manifest.cc',
135 'common/manifest_constants.cc',
136 'common/manifest_constants.h',
137 'common/manifest_handler.cc',
138 'common/manifest_handler.h',
139 'common/manifest_handler_helpers.cc',
140 'common/manifest_handler_helpers.h',
141 'common/manifest_handlers/background_info.cc',
142 'common/manifest_handlers/background_info.h',
143 'common/manifest_handlers/csp_info.cc',
144 'common/manifest_handlers/csp_info.h',
145 'common/manifest_handlers/externally_connectable.cc',
146 'common/manifest_handlers/externally_connectable.h',
147 'common/manifest_handlers/file_handler_info.cc',
148 'common/manifest_handlers/file_handler_info.h',
149 'common/manifest_handlers/icons_handler.cc',
150 'common/manifest_handlers/icons_handler.h',
151 'common/manifest_handlers/incognito_info.cc',
152 'common/manifest_handlers/incognito_info.h',
153 'common/manifest_handlers/kiosk_mode_info.cc',
154 'common/manifest_handlers/kiosk_mode_info.h',
155 'common/manifest_handlers/launcher_page_info.cc',
156 'common/manifest_handlers/launcher_page_info.h',
157 'common/manifest_handlers/offline_enabled_info.cc',
158 'common/manifest_handlers/offline_enabled_info.h',
159 'common/manifest_handlers/options_page_info.cc',
160 'common/manifest_handlers/options_page_info.h',
161 'common/manifest_handlers/permissions_parser.cc',
162 'common/manifest_handlers/permissions_parser.h',
163 'common/manifest_handlers/requirements_info.cc',
164 'common/manifest_handlers/requirements_info.h',
165 'common/manifest_handlers/sandboxed_page_info.cc',
166 'common/manifest_handlers/sandboxed_page_info.h',
167 'common/manifest_handlers/shared_module_info.cc',
168 'common/manifest_handlers/shared_module_info.h',
169 'common/manifest_handlers/web_accessible_resources_info.cc',
170 'common/manifest_handlers/web_accessible_resources_info.h',
171 'common/manifest_handlers/webview_info.cc',
172 'common/manifest_handlers/webview_info.h',
173 'common/message_bundle.cc',
174 'common/message_bundle.h',
175 'common/one_shot_event.cc',
176 'common/one_shot_event.h',
177 'common/permissions/api_permission.cc',
178 'common/permissions/api_permission.h',
179 'common/permissions/api_permission_set.cc',
180 'common/permissions/api_permission_set.h',
181 'common/permissions/base_set_operators.h',
182 'common/permissions/extensions_api_permissions.cc',
183 'common/permissions/extensions_api_permissions.h',
184 'common/permissions/manifest_permission.cc',
185 'common/permissions/manifest_permission.h',
186 'common/permissions/manifest_permission_set.cc',
187 'common/permissions/manifest_permission_set.h',
188 'common/permissions/media_galleries_permission.cc',
189 'common/permissions/media_galleries_permission.h',
190 'common/permissions/media_galleries_permission_data.cc',
191 'common/permissions/media_galleries_permission_data.h',
192 'common/permissions/permission_message.cc',
193 'common/permissions/permission_message.h',
194 'common/permissions/permission_message_provider.cc',
195 'common/permissions/permission_message_provider.h',
196 'common/permissions/permission_message_util.cc',
197 'common/permissions/permission_message_util.h',
198 'common/permissions/permission_set.cc',
199 'common/permissions/permission_set.h',
200 'common/permissions/permissions_data.cc',
201 'common/permissions/permissions_data.h',
202 'common/permissions/permissions_info.cc',
203 'common/permissions/permissions_info.h',
204 'common/permissions/permissions_provider.h',
205 'common/permissions/set_disjunction_permission.h',
206 'common/permissions/settings_override_permission.cc',
207 'common/permissions/settings_override_permission.h',
208 'common/permissions/socket_permission.cc',
209 'common/permissions/socket_permission.h',
210 'common/permissions/socket_permission_data.cc',
211 'common/permissions/socket_permission_data.h',
212 'common/permissions/socket_permission_entry.cc',
213 'common/permissions/socket_permission_entry.h',
214 'common/permissions/usb_device_permission.cc',
215 'common/permissions/usb_device_permission.h',
216 'common/permissions/usb_device_permission_data.cc',
217 'common/permissions/usb_device_permission_data.h',
218 'common/stack_frame.cc',
219 'common/stack_frame.h',
220 'common/switches.cc',
222 'common/update_manifest.cc',
223 'common/update_manifest.h',
224 'common/url_pattern.cc',
225 'common/url_pattern.h',
226 'common/url_pattern_set.cc',
227 'common/url_pattern_set.h',
228 'common/user_script.cc',
229 'common/user_script.h',
230 'common/value_counter.cc',
231 'common/value_counter.h',
232 'common/view_type.cc',
233 'common/view_type.h',
234 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/stash.mojom.cc',
235 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/stash.mojom.h',
237 # Disable c4267 warnings until we fix size_t to int truncations.
238 'msvs_disabled_warnings': [ 4267, ],
240 ['enable_extensions==1', {
242 'common/api/api.gyp:extensions_api',
243 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
244 # For Mojo generated headers for generated_api.cc.
245 '../device/serial/serial.gyp:device_serial_mojo',
246 '../device/usb/usb.gyp:device_usb',
249 'common/extension_api_stub.cc',
251 }, { # enable_extensions == 0
253 'common/api/bluetooth/bluetooth_manifest_data.cc',
254 'common/api/bluetooth/bluetooth_manifest_data.h',
255 'common/api/bluetooth/bluetooth_manifest_handler.cc',
256 'common/api/bluetooth/bluetooth_manifest_handler.h',
257 'common/api/bluetooth/bluetooth_manifest_permission.cc',
258 'common/api/bluetooth/bluetooth_manifest_permission.h',
259 'common/api/messaging/message.h',
260 'common/api/sockets/sockets_manifest_data.cc',
261 'common/api/sockets/sockets_manifest_data.h',
262 'common/api/sockets/sockets_manifest_handler.cc',
263 'common/api/sockets/sockets_manifest_handler.h',
264 'common/api/sockets/sockets_manifest_permission.cc',
265 'common/api/sockets/sockets_manifest_permission.h',
266 'common/extension_api.cc',
267 'common/manifest_handlers/externally_connectable.cc',
268 'common/manifest_handlers/externally_connectable.h',
269 'common/manifest_handlers/options_page_info.cc',
270 'common/manifest_handlers/options_page_info.h',
273 ['disable_nacl==0', {
274 # NaClModulesHandler does not use any code in NaCl, so no dependency
277 'common/manifest_handlers/nacl_modules_handler.cc',
278 'common/manifest_handlers/nacl_modules_handler.h',
284 # GN version: //extensions/browser
285 'target_name': 'extensions_browser',
286 'type': 'static_library',
288 '../base/base.gyp:base',
289 '../base/base.gyp:base_prefs',
290 '../components/components.gyp:copresence_sockets',
291 '../components/components.gyp:keyed_service_content',
292 '../components/components.gyp:keyed_service_core',
293 '../components/components.gyp:pref_registry',
294 '../components/components.gyp:sessions',
295 '../components/components.gyp:storage_monitor',
296 '../components/components.gyp:web_cache_browser',
297 '../components/components.gyp:web_modal',
298 '../content/content.gyp:content_browser',
299 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
300 '../device/serial/serial.gyp:device_serial',
301 '../skia/skia.gyp:skia',
302 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
303 '../third_party/re2/re2.gyp:re2',
304 'browser/api/api_registration.gyp:extensions_api_registration',
305 'common/api/api.gyp:cast_channel_proto',
306 'common/api/api.gyp:extensions_api',
308 'extensions_resources.gyp:extensions_resources',
309 'extensions_strings.gyp:extensions_strings',
313 '<(INTERMEDIATE_DIR)',
314 # Needed to access generated API headers.
315 '<(SHARED_INTERMEDIATE_DIR)',
318 # Note: sources list duplicated in GN build.
319 # NOTE: When moving an API out of Chrome be sure to verify that the
320 # Android build still compiles. See conditions below.
321 'browser/api/activity_log/web_request_constants.cc',
322 'browser/api/activity_log/web_request_constants.h',
323 'browser/api/api_resource.cc',
324 'browser/api/api_resource.h',
325 'browser/api/api_resource_manager.h',
326 'browser/api/app_current_window_internal/app_current_window_internal_api.cc',
327 'browser/api/app_current_window_internal/app_current_window_internal_api.h',
328 'browser/api/app_runtime/app_runtime_api.cc',
329 'browser/api/app_runtime/app_runtime_api.h',
330 'browser/api/app_view/app_view_internal_api.cc',
331 'browser/api/app_view/app_view_internal_api.h',
332 'browser/api/app_window/app_window_api.cc',
333 'browser/api/app_window/app_window_api.h',
334 'browser/api/guest_view/guest_view_internal_api.cc',
335 'browser/api/guest_view/guest_view_internal_api.h',
336 'browser/api/async_api_function.cc',
337 'browser/api/async_api_function.h',
338 'browser/api/bluetooth/bluetooth_api.cc',
339 'browser/api/bluetooth/bluetooth_api.h',
340 'browser/api/bluetooth/bluetooth_api_pairing_delegate.cc',
341 'browser/api/bluetooth/bluetooth_api_pairing_delegate.h',
342 'browser/api/bluetooth/bluetooth_api_utils.cc',
343 'browser/api/bluetooth/bluetooth_api_utils.h',
344 'browser/api/bluetooth/bluetooth_event_router.cc',
345 'browser/api/bluetooth/bluetooth_event_router.h',
346 'browser/api/bluetooth/bluetooth_extension_function.cc',
347 'browser/api/bluetooth/bluetooth_extension_function.h',
348 'browser/api/bluetooth/bluetooth_private_api.cc',
349 'browser/api/bluetooth/bluetooth_private_api.h',
350 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc',
351 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h',
352 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc',
353 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h',
354 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc',
355 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h',
356 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc',
357 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h',
358 'browser/api/bluetooth_low_energy/utils.cc',
359 'browser/api/bluetooth_low_energy/utils.h',
360 'browser/api/bluetooth_socket/bluetooth_api_socket.cc',
361 'browser/api/bluetooth_socket/bluetooth_api_socket.h',
362 'browser/api/bluetooth_socket/bluetooth_socket_api.cc',
363 'browser/api/bluetooth_socket/bluetooth_socket_api.h',
364 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc',
365 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h',
366 'browser/api/capture_web_contents_function.cc',
367 'browser/api/capture_web_contents_function.h',
368 'browser/api/cast_channel/cast_auth_util.cc',
369 'browser/api/cast_channel/cast_auth_util.h',
370 'browser/api/cast_channel/cast_channel_api.cc',
371 'browser/api/cast_channel/cast_channel_api.h',
372 'browser/api/cast_channel/cast_framer.cc',
373 'browser/api/cast_channel/cast_framer.h',
374 'browser/api/cast_channel/cast_message_util.cc',
375 'browser/api/cast_channel/cast_message_util.h',
376 'browser/api/cast_channel/cast_socket.cc',
377 'browser/api/cast_channel/cast_socket.h',
378 'browser/api/cast_channel/cast_framer.cc',
379 'browser/api/cast_channel/cast_framer.h',
380 'browser/api/cast_channel/cast_transport.h',
381 'browser/api/cast_channel/cast_transport.cc',
382 'browser/api/cast_channel/logger.cc',
383 'browser/api/cast_channel/logger.h',
384 'browser/api/cast_channel/logger_util.cc',
385 'browser/api/cast_channel/logger_util.h',
386 'browser/api/copresence_socket/copresence_socket_api.cc',
387 'browser/api/copresence_socket/copresence_socket_api.h',
388 'browser/api/declarative/deduping_factory.h',
389 'browser/api/declarative/declarative_api.cc',
390 'browser/api/declarative/declarative_api.h',
391 'browser/api/declarative/declarative_rule.h',
392 'browser/api/declarative/rules_cache_delegate.cc',
393 'browser/api/declarative/rules_cache_delegate.h',
394 'browser/api/declarative/rules_registry.cc',
395 'browser/api/declarative/rules_registry.h',
396 'browser/api/declarative/rules_registry_service.cc',
397 'browser/api/declarative/rules_registry_service.h',
398 'browser/api/declarative/test_rules_registry.cc',
399 'browser/api/declarative/test_rules_registry.h',
400 'browser/api/declarative_content/content_rules_registry.h',
401 'browser/api/declarative_webrequest/request_stage.cc',
402 'browser/api/declarative_webrequest/request_stage.h',
403 'browser/api/declarative_webrequest/webrequest_action.cc',
404 'browser/api/declarative_webrequest/webrequest_action.h',
405 'browser/api/declarative_webrequest/webrequest_condition.cc',
406 'browser/api/declarative_webrequest/webrequest_condition.h',
407 'browser/api/declarative_webrequest/webrequest_condition_attribute.cc',
408 'browser/api/declarative_webrequest/webrequest_condition_attribute.h',
409 'browser/api/declarative_webrequest/webrequest_constants.cc',
410 'browser/api/declarative_webrequest/webrequest_constants.h',
411 'browser/api/declarative_webrequest/webrequest_rules_registry.cc',
412 'browser/api/declarative_webrequest/webrequest_rules_registry.h',
413 'browser/api/device_permissions_manager.cc',
414 'browser/api/device_permissions_manager.h',
415 'browser/api/dns/dns_api.cc',
416 'browser/api/dns/dns_api.h',
417 'browser/api/dns/host_resolver_wrapper.cc',
418 'browser/api/dns/host_resolver_wrapper.h',
419 'browser/api/execute_code_function.cc',
420 'browser/api/execute_code_function.h',
421 'browser/api/extensions_api_client.cc',
422 'browser/api/extensions_api_client.h',
423 'browser/api/hid/hid_api.cc',
424 'browser/api/hid/hid_api.h',
425 'browser/api/hid/hid_connection_resource.cc',
426 'browser/api/hid/hid_connection_resource.h',
427 'browser/api/hid/hid_device_manager.cc',
428 'browser/api/hid/hid_device_manager.h',
429 'browser/api/messaging/native_message_host.cc',
430 'browser/api/power/power_api.cc',
431 'browser/api/power/power_api.h',
432 'browser/api/power/power_api_manager.cc',
433 'browser/api/power/power_api_manager.h',
434 'browser/api/runtime/runtime_api.cc',
435 'browser/api/runtime/runtime_api.h',
436 'browser/api/runtime/runtime_api_delegate.cc',
437 'browser/api/runtime/runtime_api_delegate.h',
438 'browser/api/serial/serial_api.cc',
439 'browser/api/serial/serial_api.h',
440 'browser/api/serial/serial_connection.cc',
441 'browser/api/serial/serial_connection.h',
442 'browser/api/serial/serial_event_dispatcher.cc',
443 'browser/api/serial/serial_event_dispatcher.h',
444 'browser/api/shell_private/shell_private_api.cc',
445 'browser/api/shell_private/shell_private_api.h',
446 'browser/api/socket/socket.cc',
447 'browser/api/socket/socket.h',
448 'browser/api/socket/socket_api.cc',
449 'browser/api/socket/socket_api.h',
450 'browser/api/socket/tcp_socket.cc',
451 'browser/api/socket/tcp_socket.h',
452 'browser/api/socket/tls_socket.cc',
453 'browser/api/socket/tls_socket.h',
454 'browser/api/socket/udp_socket.cc',
455 'browser/api/socket/udp_socket.h',
456 'browser/api/sockets_tcp/sockets_tcp_api.cc',
457 'browser/api/sockets_tcp/sockets_tcp_api.h',
458 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc',
459 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.h',
460 'browser/api/sockets_tcp_server/sockets_tcp_server_api.cc',
461 'browser/api/sockets_tcp_server/sockets_tcp_server_api.h',
462 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc',
463 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h',
464 'browser/api/sockets_udp/sockets_udp_api.cc',
465 'browser/api/sockets_udp/sockets_udp_api.h',
466 'browser/api/sockets_udp/udp_socket_event_dispatcher.cc',
467 'browser/api/sockets_udp/udp_socket_event_dispatcher.h',
468 'browser/api/storage/leveldb_settings_storage_factory.cc',
469 'browser/api/storage/leveldb_settings_storage_factory.h',
470 'browser/api/storage/local_value_store_cache.cc',
471 'browser/api/storage/local_value_store_cache.h',
472 'browser/api/storage/settings_namespace.cc',
473 'browser/api/storage/settings_namespace.h',
474 'browser/api/storage/settings_observer.h',
475 'browser/api/storage/settings_storage_factory.h',
476 'browser/api/storage/settings_storage_quota_enforcer.cc',
477 'browser/api/storage/settings_storage_quota_enforcer.h',
478 'browser/api/storage/storage_api.cc',
479 'browser/api/storage/storage_api.h',
480 'browser/api/storage/storage_frontend.cc',
481 'browser/api/storage/storage_frontend.h',
482 'browser/api/storage/value_store_cache.cc',
483 'browser/api/storage/value_store_cache.h',
484 'browser/api/storage/weak_unlimited_settings_storage.cc',
485 'browser/api/storage/weak_unlimited_settings_storage.h',
486 'browser/api/system_cpu/cpu_info_provider.cc',
487 'browser/api/system_cpu/cpu_info_provider.h',
488 'browser/api/system_cpu/cpu_info_provider_linux.cc',
489 'browser/api/system_cpu/cpu_info_provider_mac.cc',
490 'browser/api/system_cpu/cpu_info_provider_win.cc',
491 'browser/api/system_cpu/system_cpu_api.cc',
492 'browser/api/system_cpu/system_cpu_api.h',
493 'browser/api/system_display/display_info_provider.cc',
494 'browser/api/system_display/display_info_provider.h',
495 'browser/api/system_display/system_display_api.cc',
496 'browser/api/system_display/system_display_api.h',
497 'browser/api/system_info/system_info_api.cc',
498 'browser/api/system_info/system_info_api.h',
499 'browser/api/system_info/system_info_provider.cc',
500 'browser/api/system_info/system_info_provider.h',
501 'browser/api/system_memory/memory_info_provider.cc',
502 'browser/api/system_memory/memory_info_provider.h',
503 'browser/api/system_memory/system_memory_api.cc',
504 'browser/api/system_memory/system_memory_api.h',
505 'browser/api/system_network/system_network_api.cc',
506 'browser/api/system_network/system_network_api.h',
507 'browser/api/system_storage/storage_info_provider.cc',
508 'browser/api/system_storage/storage_info_provider.h',
509 'browser/api/system_storage/system_storage_api.cc',
510 'browser/api/system_storage/system_storage_api.h',
511 'browser/api/test/test_api.cc',
512 'browser/api/test/test_api.h',
513 'browser/api/usb/usb_api.cc',
514 'browser/api/usb/usb_api.h',
515 'browser/api/usb/usb_device_resource.cc',
516 'browser/api/usb/usb_device_resource.h',
517 'browser/api/web_request/form_data_parser.cc',
518 'browser/api/web_request/form_data_parser.h',
519 'browser/api/web_request/upload_data_presenter.cc',
520 'browser/api/web_request/upload_data_presenter.h',
521 'browser/api/web_request/web_request_api.cc',
522 'browser/api/web_request/web_request_api.h',
523 'browser/api/web_request/web_request_api_constants.cc',
524 'browser/api/web_request/web_request_api_constants.h',
525 'browser/api/web_request/web_request_api_helpers.cc',
526 'browser/api/web_request/web_request_api_helpers.h',
527 'browser/api/web_request/web_request_event_router_delegate.cc',
528 'browser/api/web_request/web_request_event_router_delegate.h',
529 'browser/api/web_request/web_request_permissions.cc',
530 'browser/api/web_request/web_request_permissions.h',
531 'browser/api/web_request/web_request_time_tracker.cc',
532 'browser/api/web_request/web_request_time_tracker.h',
533 'browser/api/web_view/web_view_internal_api.cc',
534 'browser/api/web_view/web_view_internal_api.h',
535 'browser/api_activity_monitor.h',
536 'browser/app_sorting.h',
537 'browser/app_window/app_delegate.h',
538 'browser/app_window/app_web_contents_helper.cc',
539 'browser/app_window/app_web_contents_helper.h',
540 'browser/app_window/app_window.cc',
541 'browser/app_window/app_window.h',
542 'browser/app_window/app_window_contents.cc',
543 'browser/app_window/app_window_contents.h',
544 'browser/app_window/app_window_geometry_cache.cc',
545 'browser/app_window/app_window_geometry_cache.h',
546 'browser/app_window/app_window_registry.cc',
547 'browser/app_window/app_window_registry.h',
548 'browser/app_window/app_window_client.cc',
549 'browser/app_window/app_window_client.h',
550 'browser/app_window/native_app_window.h',
551 'browser/app_window/size_constraints.cc',
552 'browser/app_window/size_constraints.h',
553 'browser/blacklist_state.h',
554 'browser/blob_holder.cc',
555 'browser/blob_holder.h',
556 'browser/browser_context_keyed_api_factory.h',
557 'browser/browser_context_keyed_service_factories.cc',
558 'browser/browser_context_keyed_service_factories.h',
559 'browser/component_extension_resource_manager.h',
560 'browser/computed_hashes.cc',
561 'browser/computed_hashes.h',
562 'browser/content_hash_fetcher.cc',
563 'browser/content_hash_fetcher.h',
564 'browser/content_hash_reader.cc',
565 'browser/content_hash_reader.h',
566 'browser/content_hash_tree.cc',
567 'browser/content_hash_tree.h',
568 'browser/content_verifier.cc',
569 'browser/content_verifier.h',
570 'browser/content_verifier_delegate.h',
571 'browser/content_verifier_io_data.cc',
572 'browser/content_verifier_io_data.h',
573 'browser/content_verify_job.cc',
574 'browser/content_verify_job.h',
575 'browser/error_map.cc',
576 'browser/error_map.h',
577 'browser/event_listener_map.cc',
578 'browser/event_listener_map.h',
579 'browser/event_router.cc',
580 'browser/event_router.h',
581 'browser/extension_host.cc',
582 'browser/extension_host.h',
583 'browser/extension_host_delegate.h',
584 'browser/extension_error.cc',
585 'browser/extension_error.h',
586 'browser/extension_function.cc',
587 'browser/extension_function.h',
588 'browser/extension_function_dispatcher.cc',
589 'browser/extension_function_dispatcher.h',
590 'browser/extension_function_registry.cc',
591 'browser/extension_function_registry.h',
592 'browser/extension_function_util.cc',
593 'browser/extension_function_util.h',
594 'browser/extension_icon_image.cc',
595 'browser/extension_icon_image.h',
596 'browser/extension_message_filter.cc',
597 'browser/extension_message_filter.h',
598 'browser/extension_pref_store.cc',
599 'browser/extension_pref_store.h',
600 'browser/extension_pref_value_map.cc',
601 'browser/extension_pref_value_map_factory.cc',
602 'browser/extension_pref_value_map_factory.h',
603 'browser/extension_pref_value_map.h',
604 'browser/extension_prefs.cc',
605 'browser/extension_prefs.h',
606 'browser/extension_prefs_factory.cc',
607 'browser/extension_prefs_factory.h',
608 'browser/extension_prefs_observer.h',
609 'browser/extension_prefs_scope.h',
610 'browser/extension_protocols.cc',
611 'browser/extension_protocols.h',
612 'browser/extension_registry.cc',
613 'browser/extension_registry.h',
614 'browser/extension_registry_factory.cc',
615 'browser/extension_registry_factory.h',
616 'browser/extension_registry_observer.h',
617 'browser/extension_scoped_prefs.h',
618 'browser/extension_system.cc',
619 'browser/extension_system.h',
620 'browser/extension_system_provider.cc',
621 'browser/extension_system_provider.h',
622 'browser/extension_util.cc',
623 'browser/extension_util.h',
624 'browser/extension_web_contents_observer.cc',
625 'browser/extension_web_contents_observer.h',
626 'browser/extensions_browser_client.cc',
627 'browser/extensions_browser_client.h',
628 'browser/external_provider_interface.h',
629 'browser/granted_file_entry.cc',
630 'browser/granted_file_entry.h',
631 'browser/guest_view/app_view/app_view_constants.cc',
632 'browser/guest_view/app_view/app_view_constants.h',
633 'browser/guest_view/app_view/app_view_guest.cc',
634 'browser/guest_view/app_view/app_view_guest.h',
635 'browser/guest_view/app_view/app_view_guest_delegate.cc',
636 'browser/guest_view/app_view/app_view_guest_delegate.h',
637 'browser/guest_view/extension_options/extension_options_constants.cc',
638 'browser/guest_view/extension_options/extension_options_constants.h',
639 'browser/guest_view/extension_options/extension_options_guest.cc',
640 'browser/guest_view/extension_options/extension_options_guest.h',
641 'browser/guest_view/extension_options/extension_options_guest_delegate.cc',
642 'browser/guest_view/extension_options/extension_options_guest_delegate.h',
643 'browser/guest_view/guest_view_base.cc',
644 'browser/guest_view/guest_view_base.h',
645 'browser/guest_view/guest_view_manager_factory.h',
646 'browser/guest_view/guest_view_manager.cc',
647 'browser/guest_view/guest_view_manager.h',
648 'browser/guest_view/guest_view.h',
649 'browser/guest_view/mime_handler_view/mime_handler_view_constants.cc',
650 'browser/guest_view/mime_handler_view/mime_handler_view_constants.h',
651 'browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h',
652 'browser/guest_view/mime_handler_view/mime_handler_view_guest.cc',
653 'browser/guest_view/mime_handler_view/mime_handler_view_guest.h',
654 'browser/guest_view/web_view/javascript_dialog_helper.cc',
655 'browser/guest_view/web_view/javascript_dialog_helper.h',
656 'browser/guest_view/web_view/web_view_constants.cc',
657 'browser/guest_view/web_view/web_view_constants.h',
658 'browser/guest_view/web_view/web_view_find_helper.cc',
659 'browser/guest_view/web_view/web_view_find_helper.h',
660 'browser/guest_view/web_view/web_view_guest.cc',
661 'browser/guest_view/web_view/web_view_guest.h',
662 'browser/guest_view/web_view/web_view_guest_delegate.h',
663 'browser/guest_view/web_view/web_view_permission_types.h',
664 'browser/guest_view/web_view/web_view_permission_helper.cc',
665 'browser/guest_view/web_view/web_view_permission_helper.h',
666 'browser/guest_view/web_view/web_view_permission_helper_delegate.cc',
667 'browser/guest_view/web_view/web_view_permission_helper_delegate.h',
668 'browser/guest_view/web_view/web_view_renderer_state.cc',
669 'browser/guest_view/web_view/web_view_renderer_state.h',
670 'browser/image_loader.cc',
671 'browser/image_loader.h',
672 'browser/image_loader_factory.cc',
673 'browser/image_loader_factory.h',
674 'browser/image_util.cc',
675 'browser/image_util.h',
676 'browser/info_map.cc',
677 'browser/info_map.h',
678 'browser/install_flag.h',
679 'browser/file_highlighter.cc',
680 'browser/file_highlighter.h',
681 'browser/file_reader.cc',
682 'browser/file_reader.h',
683 'browser/lazy_background_task_queue.cc',
684 'browser/lazy_background_task_queue.h',
685 'browser/management_policy.cc',
686 'browser/management_policy.h',
687 'browser/notification_types.h',
688 'browser/null_app_sorting.cc',
689 'browser/null_app_sorting.h',
690 'browser/pref_names.cc',
691 'browser/pref_names.h',
692 'browser/process_manager.cc',
693 'browser/process_manager.h',
694 'browser/process_manager_delegate.h',
695 'browser/process_manager_observer.h',
696 'browser/process_map.cc',
697 'browser/process_map.h',
698 'browser/process_map_factory.cc',
699 'browser/process_map_factory.h',
700 'browser/quota_service.cc',
701 'browser/quota_service.h',
702 'browser/renderer_startup_helper.cc',
703 'browser/renderer_startup_helper.h',
704 'browser/runtime_data.cc',
705 'browser/runtime_data.h',
706 'browser/script_execution_observer.h',
707 'browser/script_executor.cc',
708 'browser/script_executor.h',
709 'browser/stash_backend.cc',
710 'browser/stash_backend.h',
711 'browser/state_store.cc',
712 'browser/state_store.h',
713 'browser/suggest_permission_util.cc',
714 'browser/suggest_permission_util.h',
715 'browser/uninstall_reason.h',
716 'browser/update_observer.h',
717 'browser/updater/extension_cache.h',
718 'browser/updater/manifest_fetch_data.cc',
719 'browser/updater/manifest_fetch_data.h',
720 'browser/updater/null_extension_cache.cc',
721 'browser/updater/null_extension_cache.h',
722 'browser/updater/safe_manifest_parser.cc',
723 'browser/updater/safe_manifest_parser.h',
724 'browser/url_request_util.cc',
725 'browser/url_request_util.h',
726 'browser/value_store/leveldb_value_store.cc',
727 'browser/value_store/leveldb_value_store.h',
728 'browser/value_store/testing_value_store.cc',
729 'browser/value_store/testing_value_store.h',
730 'browser/value_store/value_store.cc',
731 'browser/value_store/value_store.h',
732 'browser/value_store/value_store_change.cc',
733 'browser/value_store/value_store_change.h',
734 'browser/value_store/value_store_frontend.cc',
735 'browser/value_store/value_store_frontend.h',
736 'browser/value_store/value_store_util.cc',
737 'browser/value_store/value_store_util.h',
738 'browser/verified_contents.cc',
739 'browser/verified_contents.h',
740 'browser/view_type_utils.cc',
741 'browser/view_type_utils.h',
742 'browser/warning_service.cc',
743 'browser/warning_service.h',
744 'browser/warning_set.cc',
745 'browser/warning_set.h',
748 ['enable_extensions==0', {
749 # Exclude all API implementations and the ExtensionsApiClient
750 # interface. Moving an API from src/chrome to src/extensions implies
751 # it can be cleanly disabled with enable_extensions==0.
752 # TODO: Eventually the entire extensions module should not be built
753 # when enable_extensions==0.
755 ['exclude', '^browser/'],
758 '../components/components.gyp:storage_monitor',
759 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
760 '../device/serial/serial.gyp:device_serial',
765 'browser/api/cast_channel/cast_auth_util_openssl.cc',
769 # cast_auth_util_nss.cc uses NSS functions.
770 'browser/api/cast_channel/cast_auth_util_nss.cc',
773 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
775 '../build/linux/system.gyp:ssl',
778 ['OS == "mac" or OS == "ios" or OS == "win"', {
780 '../third_party/nss/nss.gyp:nspr',
781 '../third_party/nss/nss.gyp:nss',
785 # Disable c4267 warnings until we fix size_t to int truncations.
786 'msvs_disabled_warnings': [ 4267, ],
789 # GN version: //extensions/renderer
790 'target_name': 'extensions_renderer',
791 'type': 'static_library',
793 'extensions_resources.gyp:extensions_resources',
794 '../content/content.gyp:content_resources',
795 '../gin/gin.gyp:gin',
796 '../mojo/public/mojo_public.gyp:mojo_js_bindings',
797 '../third_party/WebKit/public/blink.gyp:blink',
803 # Note: sources list duplicated in GN build.
804 'renderer/activity_log_converter_strategy.cc',
805 'renderer/activity_log_converter_strategy.h',
806 'renderer/api_activity_logger.cc',
807 'renderer/api_activity_logger.h',
808 'renderer/api_definitions_natives.cc',
809 'renderer/api_definitions_natives.h',
810 'renderer/app_runtime_custom_bindings.cc',
811 'renderer/app_runtime_custom_bindings.h',
812 'renderer/app_window_custom_bindings.cc',
813 'renderer/app_window_custom_bindings.h',
814 'renderer/binding_generating_native_handler.cc',
815 'renderer/binding_generating_native_handler.h',
816 'renderer/blob_native_handler.cc',
817 'renderer/blob_native_handler.h',
818 'renderer/console.cc',
819 'renderer/console.h',
820 'renderer/content_watcher.cc',
821 'renderer/content_watcher.h',
822 'renderer/context_menus_custom_bindings.cc',
823 'renderer/context_menus_custom_bindings.h',
824 'renderer/css_native_handler.cc',
825 'renderer/css_native_handler.h',
826 'renderer/default_dispatcher_delegate.cc',
827 'renderer/default_dispatcher_delegate.h',
828 'renderer/dispatcher.cc',
829 'renderer/dispatcher.h',
830 'renderer/dispatcher_delegate.h',
831 'renderer/document_custom_bindings.cc',
832 'renderer/document_custom_bindings.h',
833 'renderer/dom_activity_logger.cc',
834 'renderer/dom_activity_logger.h',
835 'renderer/event_bindings.cc',
836 'renderer/event_bindings.h',
837 'renderer/extension_groups.h',
838 'renderer/extension_helper.cc',
839 'renderer/extension_helper.h',
840 'renderer/extensions_render_frame_observer.cc',
841 'renderer/extensions_render_frame_observer.h',
842 'renderer/extensions_renderer_client.cc',
843 'renderer/extensions_renderer_client.h',
844 'renderer/file_system_natives.cc',
845 'renderer/file_system_natives.h',
846 'renderer/guest_view/guest_view_container.cc',
847 'renderer/guest_view/guest_view_container.h',
848 'renderer/guest_view/guest_view_internal_custom_bindings.cc',
849 'renderer/guest_view/guest_view_internal_custom_bindings.h',
850 'renderer/i18n_custom_bindings.cc',
851 'renderer/i18n_custom_bindings.h',
852 'renderer/id_generator_custom_bindings.cc',
853 'renderer/id_generator_custom_bindings.h',
854 'renderer/lazy_background_page_native_handler.cc',
855 'renderer/lazy_background_page_native_handler.h',
856 'renderer/logging_native_handler.cc',
857 'renderer/logging_native_handler.h',
858 'renderer/messaging_bindings.cc',
859 'renderer/messaging_bindings.h',
860 'renderer/module_system.cc',
861 'renderer/module_system.h',
862 'renderer/native_handler.cc',
863 'renderer/native_handler.h',
864 'renderer/object_backed_native_handler.cc',
865 'renderer/object_backed_native_handler.h',
866 'renderer/print_native_handler.cc',
867 'renderer/print_native_handler.h',
868 'renderer/process_info_native_handler.cc',
869 'renderer/process_info_native_handler.h',
870 'renderer/programmatic_script_injector.cc',
871 'renderer/programmatic_script_injector.h',
872 'renderer/render_view_observer_natives.cc',
873 'renderer/request_sender.cc',
874 'renderer/request_sender.h',
875 'renderer/resource_bundle_source_map.cc',
876 'renderer/resource_bundle_source_map.h',
877 'renderer/resources/app_runtime_custom_bindings.js',
878 'renderer/resources/app_window_custom_bindings.js',
879 'renderer/resources/binding.js',
880 'renderer/resources/context_menus_custom_bindings.js',
881 'renderer/resources/declarative_webrequest_custom_bindings.js',
882 'renderer/resources/entry_id_manager.js',
883 'renderer/resources/event.js',
884 'renderer/resources/extension.css',
885 'renderer/resources/extension_custom_bindings.js',
886 'renderer/resources/extension_fonts.css',
887 'renderer/resources/greasemonkey_api.js',
888 'renderer/resources/i18n_custom_bindings.js',
889 'renderer/resources/image_util.js',
890 'renderer/resources/json_schema.js',
891 'renderer/resources/last_error.js',
892 'renderer/resources/messaging.js',
893 'renderer/resources/messaging_utils.js',
894 'renderer/resources/permissions_custom_bindings.js',
895 'renderer/resources/platform_app.css',
896 'renderer/resources/platform_app.js',
897 'renderer/resources/runtime_custom_bindings.js',
898 'renderer/resources/schema_utils.js',
899 'renderer/resources/send_request.js',
900 'renderer/resources/set_icon.js',
901 'renderer/resources/storage_area.js',
902 'renderer/resources/test_custom_bindings.js',
903 'renderer/resources/uncaught_exception_handler.js',
904 'renderer/resources/unload_event.js',
905 'renderer/resources/utils.js',
906 'renderer/resources/extensions/web_view.js',
907 'renderer/resources/extensions/web_view_events.js',
908 'renderer/resources/extensions/web_view_experimental.js',
909 'renderer/resources/web_request_custom_bindings.js',
910 'renderer/resources/web_request_internal_custom_bindings.js',
911 'renderer/runtime_custom_bindings.cc',
912 'renderer/runtime_custom_bindings.h',
913 'renderer/safe_builtins.cc',
914 'renderer/safe_builtins.h',
915 'renderer/scoped_persistent.h',
916 'renderer/script_context.cc',
917 'renderer/script_context.h',
918 'renderer/script_context_set.cc',
919 'renderer/script_context_set.h',
920 'renderer/script_injection.cc',
921 'renderer/script_injection.h',
922 'renderer/script_injection_manager.cc',
923 'renderer/script_injection_manager.h',
924 'renderer/script_injector.h',
925 'renderer/scripts_run_info.cc',
926 'renderer/scripts_run_info.h',
927 'renderer/send_request_natives.cc',
928 'renderer/send_request_natives.h',
929 'renderer/set_icon_natives.cc',
930 'renderer/set_icon_natives.h',
931 'renderer/static_v8_external_ascii_string_resource.cc',
932 'renderer/static_v8_external_ascii_string_resource.h',
933 'renderer/test_features_native_handler.cc',
934 'renderer/test_features_native_handler.h',
935 'renderer/user_gestures_native_handler.cc',
936 'renderer/user_gestures_native_handler.h',
937 'renderer/user_script_injector.cc',
938 'renderer/user_script_injector.h',
939 'renderer/user_script_set.cc',
940 'renderer/user_script_set.h',
941 'renderer/user_script_set_manager.cc',
942 'renderer/user_script_set_manager.h',
943 'renderer/utils_native_handler.cc',
944 'renderer/utils_native_handler.h',
945 'renderer/v8_context_native_handler.cc',
946 'renderer/v8_context_native_handler.h',
947 'renderer/v8_schema_registry.cc',
948 'renderer/v8_schema_registry.h',
950 # Disable c4267 warnings until we fix size_t to int truncations.
951 'msvs_disabled_warnings': [ 4267, ],
954 # GN version: //extensions:test_support
955 'target_name': 'extensions_test_support',
956 'type': 'static_library',
958 '../base/base.gyp:base',
959 '../components/components.gyp:user_prefs',
960 '../net/net.gyp:net_test_support',
961 '../testing/gtest.gyp:gtest',
962 'browser/api/api_registration.gyp:extensions_api_registration',
963 'common/api/api.gyp:extensions_api',
964 'extensions_browser',
966 'extensions_resources.gyp:extensions_resources',
970 '<(SHARED_INTERMEDIATE_DIR)',
973 # Note: sources list duplicated in GN build.
974 'browser/api/dns/mock_host_resolver_creator.cc',
975 'browser/api/dns/mock_host_resolver_creator.h',
976 'browser/api/storage/settings_test_util.cc',
977 'browser/api/storage/settings_test_util.h',
978 'browser/api_test_utils.cc',
979 'browser/api_test_utils.h',
980 'browser/extension_error_test_util.cc',
981 'browser/extension_error_test_util.h',
982 'browser/extensions_test.cc',
983 'browser/extensions_test.h',
984 'browser/guest_view/test_guest_view_manager.cc',
985 'browser/guest_view/test_guest_view_manager.h',
986 'browser/mock_extension_system.cc',
987 'browser/mock_extension_system.h',
988 'browser/test_extensions_browser_client.cc',
989 'browser/test_extensions_browser_client.h',
990 'browser/test_management_policy.cc',
991 'browser/test_management_policy.h',
992 'browser/test_runtime_api_delegate.cc',
993 'browser/test_runtime_api_delegate.h',
994 'common/extension_builder.cc',
995 'common/extension_builder.h',
996 'common/manifest_test.cc',
997 'common/manifest_test.h',
998 'common/test_util.cc',
999 'common/test_util.h',
1000 'common/value_builder.cc',
1001 'common/value_builder.h',
1002 'renderer/test_extensions_renderer_client.cc',
1003 'renderer/test_extensions_renderer_client.h',
1004 'test/extension_test_message_listener.cc',
1005 'test/extension_test_message_listener.h',
1006 'test/result_catcher.cc',
1007 'test/result_catcher.h',
1008 'test/test_extensions_client.cc',
1009 'test/test_extensions_client.h',
1010 'test/test_permission_message_provider.cc',
1011 'test/test_permission_message_provider.h',
1013 # Disable c4267 warnings until we fix size_t to int truncations.
1014 'msvs_disabled_warnings': [ 4267, ],
1017 # The pak file generated by this target is intended to be shared by
1018 # both shell and test targets. It was combined because it might help a
1019 # little bit with build time by avoiding a repack step (one instead of
1021 'target_name': 'extensions_shell_and_test_pak',
1024 # Need dev-tools related resources in shell_resources.pak and
1025 # devtools_resources.pak.
1026 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
1027 '../content/content.gyp:content_resources',
1028 '../content/content_shell_and_tests.gyp:content_shell_resources',
1029 '../ui/resources/ui_resources.gyp:ui_resources',
1030 '../ui/strings/ui_strings.gyp:ui_strings',
1031 'extensions_resources.gyp:extensions_resources',
1032 'extensions_strings.gyp:extensions_strings',
1036 'action_name': 'repack_extensions_shell_and_test_pak',
1039 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
1040 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
1041 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
1042 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resources_100_percent.pak',
1043 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak',
1044 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
1045 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
1046 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_en-US.pak',
1047 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
1048 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
1049 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
1050 '<(SHARED_INTERMEDIATE_DIR)/webkit/devtools_resources.pak',
1052 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak',
1054 'includes': [ '../build/repack_action.gypi' ],
1059 'target_name': 'extensions_unittests',
1060 'type': 'executable',
1062 '../base/base.gyp:base',
1063 '../base/base.gyp:base_prefs_test_support',
1064 '../base/base.gyp:test_support_base',
1065 '../components/components.gyp:keyed_service_content',
1066 '../components/components.gyp:user_prefs',
1067 '../content/content_shell_and_tests.gyp:test_support_content',
1068 '../device/bluetooth/bluetooth.gyp:device_bluetooth_mocks',
1069 '../device/serial/serial.gyp:device_serial',
1070 '../device/serial/serial.gyp:device_serial_test_util',
1071 '../mojo/edk/mojo_edk.gyp:mojo_system_impl',
1072 '../mojo/mojo_base.gyp:mojo_environment_chromium',
1073 '../mojo/mojo_base.gyp:mojo_js_bindings_lib',
1074 '../mojo/public/mojo_public.gyp:mojo_cpp_bindings',
1075 '../testing/gmock.gyp:gmock',
1076 '../testing/gtest.gyp:gtest',
1077 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
1078 'common/api/api.gyp:cast_channel_proto',
1079 'extensions_common',
1080 'extensions_renderer',
1081 'extensions_resources.gyp:extensions_resources',
1082 'extensions_shell_and_test_pak',
1083 'extensions_strings.gyp:extensions_strings',
1084 'extensions_test_support',
1086 # Needed for third_party libraries like leveldb.
1091 'browser/api/api_resource_manager_unittest.cc',
1092 'browser/api/bluetooth/bluetooth_event_router_unittest.cc',
1093 'browser/api/cast_channel/cast_channel_api_unittest.cc',
1094 'browser/api/cast_channel/cast_framer_unittest.cc',
1095 'browser/api/cast_channel/cast_socket_unittest.cc',
1096 'browser/api/cast_channel/cast_transport_unittest.cc',
1097 'browser/api/cast_channel/logger_unittest.cc',
1098 'browser/api/declarative/declarative_rule_unittest.cc',
1099 'browser/api/declarative/deduping_factory_unittest.cc',
1100 'browser/api/declarative/rules_registry_unittest.cc',
1101 'browser/api/declarative_webrequest/webrequest_condition_unittest.cc',
1102 'browser/api/declarative_webrequest/webrequest_condition_attribute_unittest.cc',
1103 'browser/api/power/power_api_unittest.cc',
1104 'browser/api/shell_private/shell_private_api_unittest.cc',
1105 'browser/api/sockets_tcp/sockets_tcp_api_unittest.cc',
1106 'browser/api/storage/settings_quota_unittest.cc',
1107 'browser/api/storage/storage_api_unittest.cc',
1108 'browser/api/storage/storage_frontend_unittest.cc',
1109 'browser/api/web_request/form_data_parser_unittest.cc',
1110 'browser/api/web_request/upload_data_presenter_unittest.cc',
1111 'browser/api/web_request/web_request_time_tracker_unittest.cc',
1112 'browser/app_window/app_window_geometry_cache_unittest.cc',
1113 'browser/computed_hashes_unittest.cc',
1114 'browser/content_hash_tree_unittest.cc',
1115 'browser/event_listener_map_unittest.cc',
1116 'browser/event_router_unittest.cc',
1117 'browser/api_unittest.cc',
1118 'browser/api_unittest.h',
1119 'browser/error_map_unittest.cc',
1120 'browser/extension_icon_image_unittest.cc',
1121 'browser/extension_pref_value_map_unittest.cc',
1122 'browser/extension_registry_unittest.cc',
1123 'browser/file_highlighter_unittest.cc',
1124 'browser/file_reader_unittest.cc',
1125 'browser/guest_view/guest_view_manager_unittest.cc',
1126 'browser/image_loader_unittest.cc',
1127 'browser/image_util_unittest.cc',
1128 'browser/info_map_unittest.cc',
1129 'browser/lazy_background_task_queue_unittest.cc',
1130 'browser/management_policy_unittest.cc',
1131 'browser/process_manager_unittest.cc',
1132 'browser/process_map_unittest.cc',
1133 'browser/quota_service_unittest.cc',
1134 'browser/runtime_data_unittest.cc',
1135 'browser/stash_backend_unittest.cc',
1136 'browser/value_store/leveldb_value_store_unittest.cc',
1137 'browser/value_store/testing_value_store_unittest.cc',
1138 'browser/value_store/value_store_change_unittest.cc',
1139 'browser/value_store/value_store_frontend_unittest.cc',
1140 'browser/value_store/value_store_unittest.cc',
1141 'browser/value_store/value_store_unittest.h',
1142 'browser/verified_contents_unittest.cc',
1143 'browser/warning_service_unittest.cc',
1144 'common/api/sockets/sockets_manifest_permission_unittest.cc',
1145 'common/csp_validator_unittest.cc',
1146 'common/event_filter_unittest.cc',
1147 'common/extension_l10n_util_unittest.cc',
1148 'common/extension_resource_unittest.cc',
1149 'common/extension_set_unittest.cc',
1150 'common/features/base_feature_provider_unittest.cc',
1151 'common/features/complex_feature_unittest.cc',
1152 'common/features/simple_feature_unittest.cc',
1153 'common/file_util_unittest.cc',
1154 'common/manifest_handler_unittest.cc',
1155 'common/manifest_handlers/externally_connectable_unittest.cc',
1156 'common/manifest_handlers/file_handler_manifest_unittest.cc',
1157 'common/manifest_handlers/shared_module_manifest_unittest.cc',
1158 'common/message_bundle_unittest.cc',
1159 'common/one_shot_event_unittest.cc',
1160 'common/permissions/api_permission_set_unittest.cc',
1161 'common/permissions/manifest_permission_set_unittest.cc',
1162 'common/permissions/socket_permission_unittest.cc',
1163 'common/permissions/usb_device_permission_unittest.cc',
1164 'common/stack_frame_unittest.cc',
1165 'common/url_pattern_set_unittest.cc',
1166 'common/url_pattern_unittest.cc',
1167 'common/user_script_unittest.cc',
1168 'renderer/activity_log_converter_strategy_unittest.cc',
1169 'renderer/api/serial/data_receiver_unittest.cc',
1170 'renderer/api/serial/data_sender_unittest.cc',
1171 'renderer/api/serial/serial_api_unittest.cc',
1172 'renderer/api_test_base.cc',
1173 'renderer/api_test_base.h',
1174 'renderer/api_test_base_unittest.cc',
1175 'renderer/event_unittest.cc',
1176 'renderer/json_schema_unittest.cc',
1177 'renderer/messaging_utils_unittest.cc',
1178 'renderer/module_system_test.cc',
1179 'renderer/module_system_test.h',
1180 'renderer/module_system_unittest.cc',
1181 'renderer/safe_builtins_unittest.cc',
1182 'renderer/script_context_set_unittest.cc',
1183 'renderer/utils_unittest.cc',
1184 'test/extensions_unittests_main.cc',
1186 # Disable c4267 warnings until we fix size_t to int truncations.
1187 'msvs_disabled_warnings': [ 4267, ],
1189 ['OS=="win" and win_use_allocator_shim==1', {
1191 '../base/allocator/allocator.gyp:allocator',