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 '../third_party/mojo/mojom_bindings_generator.gypi',
21 'common/mojo/keep_alive.mojom',
22 'common/mojo/stash.mojom',
26 # GN version: //extensions/common
27 'target_name': 'extensions_common_constants',
28 'type': 'static_library',
31 '<(INTERMEDIATE_DIR)',
34 # Note: sources list duplicated in GN build.
35 'common/constants.cc',
38 # Disable c4267 warnings until we fix size_t to int truncations.
39 'msvs_disabled_warnings': [ 4267, ],
42 # GN version: //extensions/common
43 'target_name': 'extensions_common',
44 'type': 'static_library',
46 '../components/components.gyp:crx_file',
47 '../components/components.gyp:url_matcher',
48 '../content/content.gyp:content_common',
49 '../crypto/crypto.gyp:crypto',
50 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
51 # For Mojo generated headers for generated_api.cc.
52 '../device/serial/serial.gyp:device_serial_mojo',
53 '../device/usb/usb.gyp:device_usb',
56 '../third_party/re2/re2.gyp:re2',
57 '../ui/base/ui_base.gyp:ui_base',
58 '../ui/gfx/gfx.gyp:gfx_geometry',
59 '../ui/gfx/ipc/gfx_ipc.gyp:gfx_ipc',
60 '../url/url.gyp:url_lib',
61 '../third_party/libxml/libxml.gyp:libxml',
62 'common/api/api.gyp:extensions_api',
63 'extensions_resources.gyp:extensions_resources',
64 'extensions_strings.gyp:extensions_strings',
65 'extensions_common_constants',
66 'extensions_common_mojo',
70 '<(INTERMEDIATE_DIR)',
73 # Note: sources list duplicated in GN build.
74 'common/api/bluetooth/bluetooth_manifest_data.cc',
75 'common/api/bluetooth/bluetooth_manifest_data.h',
76 'common/api/bluetooth/bluetooth_manifest_handler.cc',
77 'common/api/bluetooth/bluetooth_manifest_handler.h',
78 'common/api/bluetooth/bluetooth_manifest_permission.cc',
79 'common/api/bluetooth/bluetooth_manifest_permission.h',
80 'common/api/messaging/message.h',
81 'common/api/sockets/sockets_manifest_data.cc',
82 'common/api/sockets/sockets_manifest_data.h',
83 'common/api/sockets/sockets_manifest_handler.cc',
84 'common/api/sockets/sockets_manifest_handler.h',
85 'common/api/sockets/sockets_manifest_permission.cc',
86 'common/api/sockets/sockets_manifest_permission.h',
87 'common/cast/cast_cert_validator.cc',
88 'common/cast/cast_cert_validator.h',
89 'common/common_manifest_handlers.cc',
90 'common/common_manifest_handlers.h',
92 'common/csp_validator.cc',
93 'common/csp_validator.h',
94 'common/dom_action_types.h',
95 'common/draggable_region.cc',
96 'common/draggable_region.h',
97 'common/error_utils.cc',
98 'common/error_utils.h',
99 'common/event_filter.cc',
100 'common/event_filter.h',
101 'common/event_filtering_info.cc',
102 'common/event_filtering_info.h',
103 'common/event_matcher.cc',
104 'common/event_matcher.h',
105 'common/extension.cc',
106 'common/extension.h',
107 'common/extension_api.cc',
108 'common/extension_api.h',
109 'common/extension_icon_set.cc',
110 'common/extension_icon_set.h',
111 'common/extension_l10n_util.cc',
112 'common/extension_l10n_util.h',
113 'common/extension_message_generator.cc',
114 'common/extension_message_generator.h',
115 'common/extension_messages.cc',
116 'common/extension_messages.h',
117 'common/extension_paths.cc',
118 'common/extension_paths.h',
119 'common/extension_resource.cc',
120 'common/extension_resource.h',
121 'common/extension_set.cc',
122 'common/extension_set.h',
123 'common/extension_urls.cc',
124 'common/extension_urls.h',
125 'common/extension_utility_messages.h',
126 'common/extensions_client.cc',
127 'common/extensions_client.h',
128 'common/feature_switch.cc',
129 'common/feature_switch.h',
130 'common/features/api_feature.cc',
131 'common/features/api_feature.h',
132 'common/features/base_feature_provider.cc',
133 'common/features/base_feature_provider.h',
134 'common/features/complex_feature.cc',
135 'common/features/complex_feature.h',
136 'common/features/feature.cc',
137 'common/features/feature.h',
138 'common/features/feature_provider.cc',
139 'common/features/feature_provider.h',
140 'common/features/json_feature_provider_source.cc',
141 'common/features/json_feature_provider_source.h',
142 'common/features/manifest_feature.cc',
143 'common/features/manifest_feature.h',
144 'common/features/permission_feature.cc',
145 'common/features/permission_feature.h',
146 'common/features/simple_feature.cc',
147 'common/features/simple_feature.h',
148 'common/features/simple_feature_filter.cc',
149 'common/features/simple_feature_filter.h',
150 'common/features/behavior_feature.cc',
151 'common/features/behavior_feature.h',
152 'common/file_util.cc',
153 'common/file_util.h',
154 'common/guest_view/guest_view_constants.cc',
155 'common/guest_view/guest_view_constants.h',
156 'common/guest_view_messages.h',
157 'common/image_util.cc',
158 'common/image_util.h',
159 'common/install_warning.cc',
160 'common/install_warning.h',
161 'common/manifest.cc',
163 'common/manifest_constants.cc',
164 'common/manifest_constants.h',
165 'common/manifest_handler.cc',
166 'common/manifest_handler.h',
167 'common/manifest_handler_helpers.cc',
168 'common/manifest_handler_helpers.h',
169 'common/manifest_handlers/background_info.cc',
170 'common/manifest_handlers/background_info.h',
171 'common/manifest_handlers/content_capabilities_handler.cc',
172 'common/manifest_handlers/content_capabilities_handler.h',
173 'common/manifest_handlers/csp_info.cc',
174 'common/manifest_handlers/csp_info.h',
175 'common/manifest_handlers/default_locale_handler.cc',
176 'common/manifest_handlers/default_locale_handler.h',
177 'common/manifest_handlers/externally_connectable.cc',
178 'common/manifest_handlers/externally_connectable.h',
179 'common/manifest_handlers/file_handler_info.cc',
180 'common/manifest_handlers/file_handler_info.h',
181 'common/manifest_handlers/icons_handler.cc',
182 'common/manifest_handlers/icons_handler.h',
183 'common/manifest_handlers/incognito_info.cc',
184 'common/manifest_handlers/incognito_info.h',
185 'common/manifest_handlers/kiosk_mode_info.cc',
186 'common/manifest_handlers/kiosk_mode_info.h',
187 'common/manifest_handlers/launcher_page_info.cc',
188 'common/manifest_handlers/launcher_page_info.h',
189 'common/manifest_handlers/mime_types_handler.cc',
190 'common/manifest_handlers/mime_types_handler.h',
191 'common/manifest_handlers/oauth2_manifest_handler.cc',
192 'common/manifest_handlers/oauth2_manifest_handler.h',
193 'common/manifest_handlers/offline_enabled_info.cc',
194 'common/manifest_handlers/offline_enabled_info.h',
195 'common/manifest_handlers/options_page_info.cc',
196 'common/manifest_handlers/options_page_info.h',
197 'common/manifest_handlers/permissions_parser.cc',
198 'common/manifest_handlers/permissions_parser.h',
199 'common/manifest_handlers/requirements_info.cc',
200 'common/manifest_handlers/requirements_info.h',
201 'common/manifest_handlers/sandboxed_page_info.cc',
202 'common/manifest_handlers/sandboxed_page_info.h',
203 'common/manifest_handlers/shared_module_info.cc',
204 'common/manifest_handlers/shared_module_info.h',
205 'common/manifest_handlers/web_accessible_resources_info.cc',
206 'common/manifest_handlers/web_accessible_resources_info.h',
207 'common/manifest_handlers/webview_info.cc',
208 'common/manifest_handlers/webview_info.h',
209 'common/manifest_url_handlers.cc',
210 'common/manifest_url_handlers.h',
211 'common/message_bundle.cc',
212 'common/message_bundle.h',
213 'common/one_shot_event.cc',
214 'common/one_shot_event.h',
215 'common/permissions/api_permission.cc',
216 'common/permissions/api_permission.h',
217 'common/permissions/api_permission_set.cc',
218 'common/permissions/api_permission_set.h',
219 'common/permissions/base_set_operators.h',
220 'common/permissions/coalesced_permission_message.cc',
221 'common/permissions/coalesced_permission_message.h',
222 'common/permissions/extensions_api_permissions.cc',
223 'common/permissions/extensions_api_permissions.h',
224 'common/permissions/manifest_permission.cc',
225 'common/permissions/manifest_permission.h',
226 'common/permissions/manifest_permission_set.cc',
227 'common/permissions/manifest_permission_set.h',
228 'common/permissions/media_galleries_permission.cc',
229 'common/permissions/media_galleries_permission.h',
230 'common/permissions/media_galleries_permission_data.cc',
231 'common/permissions/media_galleries_permission_data.h',
232 'common/permissions/permission_message.cc',
233 'common/permissions/permission_message.h',
234 'common/permissions/permission_message_provider.cc',
235 'common/permissions/permission_message_provider.h',
236 'common/permissions/permission_message_util.cc',
237 'common/permissions/permission_message_util.h',
238 'common/permissions/permission_set.cc',
239 'common/permissions/permission_set.h',
240 'common/permissions/permissions_data.cc',
241 'common/permissions/permissions_data.h',
242 'common/permissions/permissions_info.cc',
243 'common/permissions/permissions_info.h',
244 'common/permissions/permissions_provider.h',
245 'common/permissions/set_disjunction_permission.h',
246 'common/permissions/settings_override_permission.cc',
247 'common/permissions/settings_override_permission.h',
248 'common/permissions/socket_permission.cc',
249 'common/permissions/socket_permission.h',
250 'common/permissions/socket_permission_data.cc',
251 'common/permissions/socket_permission_data.h',
252 'common/permissions/socket_permission_entry.cc',
253 'common/permissions/socket_permission_entry.h',
254 'common/permissions/usb_device_permission.cc',
255 'common/permissions/usb_device_permission.h',
256 'common/permissions/usb_device_permission_data.cc',
257 'common/permissions/usb_device_permission_data.h',
258 'common/stack_frame.cc',
259 'common/stack_frame.h',
260 'common/switches.cc',
262 'common/update_manifest.cc',
263 'common/update_manifest.h',
264 'common/url_pattern.cc',
265 'common/url_pattern.h',
266 'common/url_pattern_set.cc',
267 'common/url_pattern_set.h',
268 'common/user_script.cc',
269 'common/user_script.h',
270 'common/value_counter.cc',
271 'common/value_counter.h',
272 'common/view_type.cc',
273 'common/view_type.h',
274 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/keep_alive.mojom.cc',
275 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/keep_alive.mojom.h',
276 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/stash.mojom.cc',
277 '<(SHARED_INTERMEDIATE_DIR)/extensions/common/mojo/stash.mojom.h',
279 # Disable c4267 warnings until we fix size_t to int truncations.
280 'msvs_disabled_warnings': [ 4267, ],
282 ['disable_nacl==0', {
283 # NaClModulesHandler does not use any code in NaCl, so no dependency
286 'common/manifest_handlers/nacl_modules_handler.cc',
287 'common/manifest_handlers/nacl_modules_handler.h',
292 'common/cast/cast_cert_validator_openssl.cc',
295 '../third_party/boringssl/boringssl.gyp:boringssl',
299 'common/cast/cast_cert_validator_nss.cc',
302 ['os_posix == 1 and OS != "mac" and OS != "ios" and OS != "android"', {
304 '../build/linux/system.gyp:ssl',
307 ['OS == "mac" or OS == "ios" or OS == "win"', {
309 '../third_party/nss/nss.gyp:nspr',
310 '../third_party/nss/nss.gyp:nss',
318 # GN version: //extensions/browser
319 'target_name': 'extensions_browser',
320 'type': 'static_library',
322 '../base/base.gyp:base',
323 '../base/base.gyp:base_prefs',
324 '../components/components.gyp:keyed_service_content',
325 '../components/components.gyp:keyed_service_core',
326 '../components/components.gyp:onc_component',
327 '../components/components.gyp:pref_registry',
328 '../components/components.gyp:sessions_content',
329 '../components/components.gyp:storage_monitor',
330 '../components/components.gyp:ui_zoom',
331 '../components/components.gyp:web_cache_browser',
332 '../components/components.gyp:web_modal',
333 '../content/content.gyp:content_browser',
334 '../device/bluetooth/bluetooth.gyp:device_bluetooth',
335 '../device/serial/serial.gyp:device_serial',
336 '../google_apis/google_apis.gyp:google_apis',
337 '../skia/skia.gyp:skia',
338 '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
339 '../third_party/re2/re2.gyp:re2',
340 'browser/api/api_registration.gyp:extensions_api_registration',
341 'common/api/api.gyp:cast_channel_proto',
342 'common/api/api.gyp:extensions_api',
344 'extensions_resources.gyp:extensions_resources',
345 'extensions_strings.gyp:extensions_strings',
349 '<(INTERMEDIATE_DIR)',
350 # Needed to access generated API headers.
351 '<(SHARED_INTERMEDIATE_DIR)',
354 # Note: sources list duplicated in GN build.
355 # NOTE: When moving an API out of Chrome be sure to verify that the
356 # Android build still compiles. See conditions below.
357 'browser/api/activity_log/web_request_constants.cc',
358 'browser/api/activity_log/web_request_constants.h',
359 'browser/api/alarms/alarms_api.cc',
360 'browser/api/alarms/alarms_api.h',
361 'browser/api/alarms/alarm_manager.cc',
362 'browser/api/alarms/alarm_manager.h',
363 'browser/api/api_resource.cc',
364 'browser/api/api_resource.h',
365 'browser/api/api_resource_manager.h',
366 'browser/api/app_current_window_internal/app_current_window_internal_api.cc',
367 'browser/api/app_current_window_internal/app_current_window_internal_api.h',
368 'browser/api/app_runtime/app_runtime_api.cc',
369 'browser/api/app_runtime/app_runtime_api.h',
370 'browser/api/app_view/app_view_guest_internal_api.cc',
371 'browser/api/app_view/app_view_guest_internal_api.h',
372 'browser/api/app_window/app_window_api.cc',
373 'browser/api/app_window/app_window_api.h',
374 'browser/api/async_api_function.cc',
375 'browser/api/async_api_function.h',
376 'browser/api/audio/audio_api.cc',
377 'browser/api/audio/audio_api.h',
378 'browser/api/audio/audio_service.h',
379 'browser/api/audio/audio_service_chromeos.cc',
380 'browser/api/audio/audio_service_linux.cc',
381 'browser/api/bluetooth/bluetooth_api.cc',
382 'browser/api/bluetooth/bluetooth_api.h',
383 'browser/api/bluetooth/bluetooth_api_pairing_delegate.cc',
384 'browser/api/bluetooth/bluetooth_api_pairing_delegate.h',
385 'browser/api/bluetooth/bluetooth_api_utils.cc',
386 'browser/api/bluetooth/bluetooth_api_utils.h',
387 'browser/api/bluetooth/bluetooth_event_router.cc',
388 'browser/api/bluetooth/bluetooth_event_router.h',
389 'browser/api/bluetooth/bluetooth_extension_function.cc',
390 'browser/api/bluetooth/bluetooth_extension_function.h',
391 'browser/api/bluetooth/bluetooth_private_api.cc',
392 'browser/api/bluetooth/bluetooth_private_api.h',
393 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.cc',
394 'browser/api/bluetooth_low_energy/bluetooth_low_energy_api.h',
395 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.cc',
396 'browser/api/bluetooth_low_energy/bluetooth_low_energy_connection.h',
397 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc',
398 'browser/api/bluetooth_low_energy/bluetooth_low_energy_event_router.h',
399 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc',
400 'browser/api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h',
401 'browser/api/bluetooth_low_energy/utils.cc',
402 'browser/api/bluetooth_low_energy/utils.h',
403 'browser/api/bluetooth_socket/bluetooth_api_socket.cc',
404 'browser/api/bluetooth_socket/bluetooth_api_socket.h',
405 'browser/api/bluetooth_socket/bluetooth_socket_api.cc',
406 'browser/api/bluetooth_socket/bluetooth_socket_api.h',
407 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc',
408 'browser/api/bluetooth_socket/bluetooth_socket_event_dispatcher.h',
409 'browser/api/capture_web_contents_function.cc',
410 'browser/api/capture_web_contents_function.h',
411 'browser/api/cast_channel/cast_auth_ica.cc',
412 'browser/api/cast_channel/cast_auth_ica.h',
413 'browser/api/cast_channel/cast_auth_util.cc',
414 'browser/api/cast_channel/cast_auth_util.h',
415 'browser/api/cast_channel/cast_channel_api.cc',
416 'browser/api/cast_channel/cast_channel_api.h',
417 'browser/api/cast_channel/cast_framer.cc',
418 'browser/api/cast_channel/cast_framer.h',
419 'browser/api/cast_channel/cast_message_util.cc',
420 'browser/api/cast_channel/cast_message_util.h',
421 'browser/api/cast_channel/cast_socket.cc',
422 'browser/api/cast_channel/cast_socket.h',
423 'browser/api/cast_channel/cast_framer.cc',
424 'browser/api/cast_channel/cast_framer.h',
425 'browser/api/cast_channel/cast_transport.h',
426 'browser/api/cast_channel/cast_transport.cc',
427 'browser/api/cast_channel/keep_alive_delegate.cc',
428 'browser/api/cast_channel/keep_alive_delegate.h',
429 'browser/api/cast_channel/logger.cc',
430 'browser/api/cast_channel/logger.h',
431 'browser/api/cast_channel/logger_util.cc',
432 'browser/api/cast_channel/logger_util.h',
433 'browser/api/declarative/deduping_factory.h',
434 'browser/api/declarative/declarative_api.cc',
435 'browser/api/declarative/declarative_api.h',
436 'browser/api/declarative/declarative_rule.h',
437 'browser/api/declarative/rules_cache_delegate.cc',
438 'browser/api/declarative/rules_cache_delegate.h',
439 'browser/api/declarative/rules_registry.cc',
440 'browser/api/declarative/rules_registry.h',
441 'browser/api/declarative/rules_registry_service.cc',
442 'browser/api/declarative/rules_registry_service.h',
443 'browser/api/declarative/test_rules_registry.cc',
444 'browser/api/declarative/test_rules_registry.h',
445 'browser/api/declarative_content/content_rules_registry.h',
446 'browser/api/declarative_webrequest/request_stage.cc',
447 'browser/api/declarative_webrequest/request_stage.h',
448 'browser/api/declarative_webrequest/webrequest_action.cc',
449 'browser/api/declarative_webrequest/webrequest_action.h',
450 'browser/api/declarative_webrequest/webrequest_condition.cc',
451 'browser/api/declarative_webrequest/webrequest_condition.h',
452 'browser/api/declarative_webrequest/webrequest_condition_attribute.cc',
453 'browser/api/declarative_webrequest/webrequest_condition_attribute.h',
454 'browser/api/declarative_webrequest/webrequest_constants.cc',
455 'browser/api/declarative_webrequest/webrequest_constants.h',
456 'browser/api/declarative_webrequest/webrequest_rules_registry.cc',
457 'browser/api/declarative_webrequest/webrequest_rules_registry.h',
458 'browser/api/device_permissions_manager.cc',
459 'browser/api/device_permissions_manager.h',
460 'browser/api/device_permissions_prompt.cc',
461 'browser/api/device_permissions_prompt.h',
462 'browser/api/dns/dns_api.cc',
463 'browser/api/dns/dns_api.h',
464 'browser/api/dns/host_resolver_wrapper.cc',
465 'browser/api/dns/host_resolver_wrapper.h',
466 'browser/api/document_scan/document_scan_api.cc',
467 'browser/api/document_scan/document_scan_api.h',
468 'browser/api/document_scan/document_scan_interface.cc',
469 'browser/api/document_scan/document_scan_interface.h',
470 'browser/api/document_scan/document_scan_interface_chromeos.cc',
471 'browser/api/execute_code_function.cc',
472 'browser/api/execute_code_function.h',
473 'browser/api/extension_view/extension_view_internal_api.cc',
474 'browser/api/extension_view/extension_view_internal_api.h',
475 'browser/api/extensions_api_client.cc',
476 'browser/api/extensions_api_client.h',
477 'browser/api/guest_view/guest_view_internal_api.cc',
478 'browser/api/guest_view/guest_view_internal_api.h',
479 'browser/api/hid/hid_api.cc',
480 'browser/api/hid/hid_api.h',
481 'browser/api/hid/hid_connection_resource.cc',
482 'browser/api/hid/hid_connection_resource.h',
483 'browser/api/hid/hid_device_manager.cc',
484 'browser/api/hid/hid_device_manager.h',
485 'browser/api/idle/idle_api.cc',
486 'browser/api/idle/idle_api.h',
487 'browser/api/idle/idle_api_constants.cc',
488 'browser/api/idle/idle_api_constants.h',
489 'browser/api/idle/idle_manager.cc',
490 'browser/api/idle/idle_manager.h',
491 'browser/api/idle/idle_manager_factory.cc',
492 'browser/api/idle/idle_manager_factory.h',
493 'browser/api/management/management_api.cc',
494 'browser/api/management/management_api.h',
495 'browser/api/management/management_api_delegate.h',
496 'browser/api/management/management_api_constants.cc',
497 'browser/api/management/management_api_constants.h',
498 'browser/api/messaging/native_message_host.cc',
499 'browser/api/mime_handler_private/mime_handler_private.cc',
500 'browser/api/mime_handler_private/mime_handler_private.h',
501 'browser/api/networking_private/networking_private_api.cc',
502 'browser/api/networking_private/networking_private_api.h',
503 'browser/api/networking_private/networking_private_chromeos.cc',
504 'browser/api/networking_private/networking_private_chromeos.h',
505 'browser/api/networking_private/networking_private_delegate.cc',
506 'browser/api/networking_private/networking_private_delegate.h',
507 'browser/api/networking_private/networking_private_delegate_factory.cc',
508 'browser/api/networking_private/networking_private_delegate_factory.h',
509 'browser/api/networking_private/networking_private_delegate_observer.h',
510 'browser/api/networking_private/networking_private_event_router.h',
511 'browser/api/networking_private/networking_private_event_router_chromeos.cc',
512 'browser/api/networking_private/networking_private_event_router_factory.cc',
513 'browser/api/networking_private/networking_private_event_router_factory.h',
514 'browser/api/power/power_api.cc',
515 'browser/api/power/power_api.h',
516 'browser/api/power/power_api_manager.cc',
517 'browser/api/power/power_api_manager.h',
518 'browser/api/printer_provider/printer_provider_api.cc',
519 'browser/api/printer_provider/printer_provider_api.h',
520 'browser/api/printer_provider_internal/printer_provider_internal_api.cc',
521 'browser/api/printer_provider_internal/printer_provider_internal_api.h',
522 'browser/api/printer_provider_internal/printer_provider_internal_api_observer.h',
523 'browser/api/runtime/runtime_api.cc',
524 'browser/api/runtime/runtime_api.h',
525 'browser/api/runtime/runtime_api_delegate.cc',
526 'browser/api/runtime/runtime_api_delegate.h',
527 'browser/api/serial/serial_api.cc',
528 'browser/api/serial/serial_api.h',
529 'browser/api/serial/serial_connection.cc',
530 'browser/api/serial/serial_connection.h',
531 'browser/api/serial/serial_event_dispatcher.cc',
532 'browser/api/serial/serial_event_dispatcher.h',
533 'browser/api/socket/socket.cc',
534 'browser/api/socket/socket.h',
535 'browser/api/socket/socket_api.cc',
536 'browser/api/socket/socket_api.h',
537 'browser/api/socket/tcp_socket.cc',
538 'browser/api/socket/tcp_socket.h',
539 'browser/api/socket/tls_socket.cc',
540 'browser/api/socket/tls_socket.h',
541 'browser/api/socket/udp_socket.cc',
542 'browser/api/socket/udp_socket.h',
543 'browser/api/sockets_tcp/sockets_tcp_api.cc',
544 'browser/api/sockets_tcp/sockets_tcp_api.h',
545 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.cc',
546 'browser/api/sockets_tcp/tcp_socket_event_dispatcher.h',
547 'browser/api/sockets_tcp_server/sockets_tcp_server_api.cc',
548 'browser/api/sockets_tcp_server/sockets_tcp_server_api.h',
549 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc',
550 'browser/api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h',
551 'browser/api/sockets_udp/sockets_udp_api.cc',
552 'browser/api/sockets_udp/sockets_udp_api.h',
553 'browser/api/sockets_udp/udp_socket_event_dispatcher.cc',
554 'browser/api/sockets_udp/udp_socket_event_dispatcher.h',
555 'browser/api/storage/leveldb_settings_storage_factory.cc',
556 'browser/api/storage/leveldb_settings_storage_factory.h',
557 'browser/api/storage/local_value_store_cache.cc',
558 'browser/api/storage/local_value_store_cache.h',
559 'browser/api/storage/settings_namespace.cc',
560 'browser/api/storage/settings_namespace.h',
561 'browser/api/storage/settings_observer.h',
562 'browser/api/storage/settings_storage_factory.h',
563 'browser/api/storage/settings_storage_quota_enforcer.cc',
564 'browser/api/storage/settings_storage_quota_enforcer.h',
565 'browser/api/storage/storage_api.cc',
566 'browser/api/storage/storage_api.h',
567 'browser/api/storage/storage_frontend.cc',
568 'browser/api/storage/storage_frontend.h',
569 'browser/api/storage/value_store_cache.cc',
570 'browser/api/storage/value_store_cache.h',
571 'browser/api/storage/weak_unlimited_settings_storage.cc',
572 'browser/api/storage/weak_unlimited_settings_storage.h',
573 'browser/api/system_cpu/cpu_info_provider.cc',
574 'browser/api/system_cpu/cpu_info_provider.h',
575 'browser/api/system_cpu/cpu_info_provider_linux.cc',
576 'browser/api/system_cpu/cpu_info_provider_mac.cc',
577 'browser/api/system_cpu/cpu_info_provider_win.cc',
578 'browser/api/system_cpu/system_cpu_api.cc',
579 'browser/api/system_cpu/system_cpu_api.h',
580 'browser/api/system_display/display_info_provider.cc',
581 'browser/api/system_display/display_info_provider.h',
582 'browser/api/system_display/system_display_api.cc',
583 'browser/api/system_display/system_display_api.h',
584 'browser/api/system_info/system_info_api.cc',
585 'browser/api/system_info/system_info_api.h',
586 'browser/api/system_info/system_info_provider.cc',
587 'browser/api/system_info/system_info_provider.h',
588 'browser/api/system_memory/memory_info_provider.cc',
589 'browser/api/system_memory/memory_info_provider.h',
590 'browser/api/system_memory/system_memory_api.cc',
591 'browser/api/system_memory/system_memory_api.h',
592 'browser/api/system_network/system_network_api.cc',
593 'browser/api/system_network/system_network_api.h',
594 'browser/api/system_storage/storage_info_provider.cc',
595 'browser/api/system_storage/storage_info_provider.h',
596 'browser/api/system_storage/system_storage_api.cc',
597 'browser/api/system_storage/system_storage_api.h',
598 'browser/api/test/test_api.cc',
599 'browser/api/test/test_api.h',
600 'browser/api/usb/usb_api.cc',
601 'browser/api/usb/usb_api.h',
602 'browser/api/usb/usb_event_router.cc',
603 'browser/api/usb/usb_event_router.h',
604 'browser/api/usb/usb_device_resource.cc',
605 'browser/api/usb/usb_device_resource.h',
606 'browser/api/virtual_keyboard_private/virtual_keyboard_private_api.cc',
607 'browser/api/virtual_keyboard_private/virtual_keyboard_private_api.h',
608 'browser/api/virtual_keyboard_private/virtual_keyboard_delegate.h',
609 'browser/api/web_request/form_data_parser.cc',
610 'browser/api/web_request/form_data_parser.h',
611 'browser/api/web_request/upload_data_presenter.cc',
612 'browser/api/web_request/upload_data_presenter.h',
613 'browser/api/web_request/web_request_api.cc',
614 'browser/api/web_request/web_request_api.h',
615 'browser/api/web_request/web_request_api_constants.cc',
616 'browser/api/web_request/web_request_api_constants.h',
617 'browser/api/web_request/web_request_api_helpers.cc',
618 'browser/api/web_request/web_request_api_helpers.h',
619 'browser/api/web_request/web_request_event_router_delegate.cc',
620 'browser/api/web_request/web_request_event_router_delegate.h',
621 'browser/api/web_request/web_request_permissions.cc',
622 'browser/api/web_request/web_request_permissions.h',
623 'browser/api/web_request/web_request_time_tracker.cc',
624 'browser/api/web_request/web_request_time_tracker.h',
625 'browser/api/web_view/web_view_internal_api.cc',
626 'browser/api/web_view/web_view_internal_api.h',
627 'browser/api/webcam_private/webcam_private_api.h',
628 'browser/api/webcam_private/webcam_private_api_chromeos.cc',
629 'browser/api_activity_monitor.h',
630 'browser/app_sorting.h',
631 'browser/app_window/app_delegate.h',
632 'browser/app_window/app_web_contents_helper.cc',
633 'browser/app_window/app_web_contents_helper.h',
634 'browser/app_window/app_window.cc',
635 'browser/app_window/app_window.h',
636 'browser/app_window/app_window_contents.cc',
637 'browser/app_window/app_window_contents.h',
638 'browser/app_window/app_window_geometry_cache.cc',
639 'browser/app_window/app_window_geometry_cache.h',
640 'browser/app_window/app_window_registry.cc',
641 'browser/app_window/app_window_registry.h',
642 'browser/app_window/app_window_client.cc',
643 'browser/app_window/app_window_client.h',
644 'browser/app_window/native_app_window.h',
645 'browser/app_window/size_constraints.cc',
646 'browser/app_window/size_constraints.h',
647 'browser/blacklist_state.h',
648 'browser/blob_holder.cc',
649 'browser/blob_holder.h',
650 'browser/browser_context_keyed_api_factory.h',
651 'browser/browser_context_keyed_service_factories.cc',
652 'browser/browser_context_keyed_service_factories.h',
653 'browser/component_extension_resource_manager.h',
654 'browser/computed_hashes.cc',
655 'browser/computed_hashes.h',
656 'browser/content_hash_fetcher.cc',
657 'browser/content_hash_fetcher.h',
658 'browser/content_hash_reader.cc',
659 'browser/content_hash_reader.h',
660 'browser/content_hash_tree.cc',
661 'browser/content_hash_tree.h',
662 'browser/content_verifier.cc',
663 'browser/content_verifier.h',
664 'browser/content_verifier_delegate.h',
665 'browser/content_verifier_io_data.cc',
666 'browser/content_verifier_io_data.h',
667 'browser/content_verify_job.cc',
668 'browser/content_verify_job.h',
669 'browser/crx_file_info.cc',
670 'browser/crx_file_info.h',
671 'browser/error_map.cc',
672 'browser/error_map.h',
673 'browser/event_listener_map.cc',
674 'browser/event_listener_map.h',
675 'browser/event_router.cc',
676 'browser/event_router.h',
677 'browser/extension_host.cc',
678 'browser/extension_host.h',
679 'browser/extension_host_delegate.h',
680 'browser/extension_host_observer.h',
681 'browser/extension_error.cc',
682 'browser/extension_error.h',
683 'browser/extension_function.cc',
684 'browser/extension_function.h',
685 'browser/extension_function_dispatcher.cc',
686 'browser/extension_function_dispatcher.h',
687 'browser/extension_function_registry.cc',
688 'browser/extension_function_registry.h',
689 'browser/extension_function_util.cc',
690 'browser/extension_function_util.h',
691 'browser/extension_icon_image.cc',
692 'browser/extension_icon_image.h',
693 'browser/extension_message_filter.cc',
694 'browser/extension_message_filter.h',
695 'browser/extension_pref_store.cc',
696 'browser/extension_pref_store.h',
697 'browser/extension_pref_value_map.cc',
698 'browser/extension_pref_value_map_factory.cc',
699 'browser/extension_pref_value_map_factory.h',
700 'browser/extension_pref_value_map.h',
701 'browser/extension_prefs.cc',
702 'browser/extension_prefs.h',
703 'browser/extension_prefs_factory.cc',
704 'browser/extension_prefs_factory.h',
705 'browser/extension_prefs_observer.h',
706 'browser/extension_prefs_scope.h',
707 'browser/extension_protocols.cc',
708 'browser/extension_protocols.h',
709 'browser/extension_registry.cc',
710 'browser/extension_registry.h',
711 'browser/extension_registry_factory.cc',
712 'browser/extension_registry_factory.h',
713 'browser/extension_registry_observer.h',
714 'browser/extension_scoped_prefs.h',
715 'browser/extension_system.cc',
716 'browser/extension_system.h',
717 'browser/extension_system_provider.cc',
718 'browser/extension_system_provider.h',
719 'browser/extension_util.cc',
720 'browser/extension_util.h',
721 'browser/extension_web_contents_observer.cc',
722 'browser/extension_web_contents_observer.h',
723 'browser/extension_zoom_request_client.cc',
724 'browser/extension_zoom_request_client.h',
725 'browser/extensions_browser_client.cc',
726 'browser/extensions_browser_client.h',
727 'browser/external_provider_interface.h',
728 'browser/granted_file_entry.cc',
729 'browser/granted_file_entry.h',
730 'browser/guest_view/app_view/app_view_constants.cc',
731 'browser/guest_view/app_view/app_view_constants.h',
732 'browser/guest_view/app_view/app_view_guest.cc',
733 'browser/guest_view/app_view/app_view_guest.h',
734 'browser/guest_view/app_view/app_view_guest_delegate.cc',
735 'browser/guest_view/app_view/app_view_guest_delegate.h',
736 'browser/guest_view/extension_options/extension_options_constants.cc',
737 'browser/guest_view/extension_options/extension_options_constants.h',
738 'browser/guest_view/extension_options/extension_options_guest.cc',
739 'browser/guest_view/extension_options/extension_options_guest.h',
740 'browser/guest_view/extension_options/extension_options_guest_delegate.cc',
741 'browser/guest_view/extension_options/extension_options_guest_delegate.h',
742 'browser/guest_view/extension_view/extension_view_constants.cc',
743 'browser/guest_view/extension_view/extension_view_constants.h',
744 'browser/guest_view/extension_view/extension_view_guest.cc',
745 'browser/guest_view/extension_view/extension_view_guest.h',
746 'browser/guest_view/guest_view_base.cc',
747 'browser/guest_view/guest_view_base.h',
748 'browser/guest_view/guest_view_manager_factory.h',
749 'browser/guest_view/guest_view_manager.cc',
750 'browser/guest_view/guest_view_manager.h',
751 'browser/guest_view/guest_view_message_filter.cc',
752 'browser/guest_view/guest_view_message_filter.h',
753 'browser/guest_view/guest_view.h',
754 'browser/guest_view/mime_handler_view/mime_handler_stream_manager.cc',
755 'browser/guest_view/mime_handler_view/mime_handler_stream_manager.h',
756 'browser/guest_view/mime_handler_view/mime_handler_view_constants.cc',
757 'browser/guest_view/mime_handler_view/mime_handler_view_constants.h',
758 'browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.cc',
759 'browser/guest_view/mime_handler_view/mime_handler_view_guest_delegate.h',
760 'browser/guest_view/mime_handler_view/mime_handler_view_guest.cc',
761 'browser/guest_view/mime_handler_view/mime_handler_view_guest.h',
762 'browser/guest_view/surface_worker/surface_worker_constants.cc',
763 'browser/guest_view/surface_worker/surface_worker_constants.h',
764 'browser/guest_view/surface_worker/surface_worker_guest.cc',
765 'browser/guest_view/surface_worker/surface_worker_guest.h',
766 'browser/guest_view/web_view/javascript_dialog_helper.cc',
767 'browser/guest_view/web_view/javascript_dialog_helper.h',
768 'browser/guest_view/web_view/web_view_constants.cc',
769 'browser/guest_view/web_view/web_view_constants.h',
770 'browser/guest_view/web_view/web_view_find_helper.cc',
771 'browser/guest_view/web_view/web_view_find_helper.h',
772 'browser/guest_view/web_view/web_view_guest.cc',
773 'browser/guest_view/web_view/web_view_guest.h',
774 'browser/guest_view/web_view/web_view_guest_delegate.h',
775 'browser/guest_view/web_view/web_view_permission_types.h',
776 'browser/guest_view/web_view/web_view_permission_helper.cc',
777 'browser/guest_view/web_view/web_view_permission_helper.h',
778 'browser/guest_view/web_view/web_view_permission_helper_delegate.cc',
779 'browser/guest_view/web_view/web_view_permission_helper_delegate.h',
780 'browser/guest_view/web_view/web_view_renderer_state.cc',
781 'browser/guest_view/web_view/web_view_renderer_state.h',
782 'browser/image_loader.cc',
783 'browser/image_loader.h',
784 'browser/image_loader_factory.cc',
785 'browser/image_loader_factory.h',
786 'browser/info_map.cc',
787 'browser/info_map.h',
788 'browser/install/crx_installer_error.h',
789 'browser/install/extension_install_ui.cc',
790 'browser/install/extension_install_ui.h',
791 'browser/install_flag.h',
792 'browser/io_thread_extension_message_filter.cc',
793 'browser/io_thread_extension_message_filter.h',
794 'browser/file_highlighter.cc',
795 'browser/file_highlighter.h',
796 'browser/file_reader.cc',
797 'browser/file_reader.h',
798 'browser/lazy_background_task_queue.cc',
799 'browser/lazy_background_task_queue.h',
800 'browser/management_policy.cc',
801 'browser/management_policy.h',
802 'browser/mojo/keep_alive_impl.cc',
803 'browser/mojo/keep_alive_impl.h',
804 'browser/mojo/service_registration_manager.cc',
805 'browser/mojo/service_registration_manager.h',
806 'browser/mojo/stash_backend.cc',
807 'browser/mojo/stash_backend.h',
808 'browser/notification_types.cc',
809 'browser/notification_types.h',
810 'browser/null_app_sorting.cc',
811 'browser/null_app_sorting.h',
812 'browser/pref_names.cc',
813 'browser/pref_names.h',
814 'browser/process_manager.cc',
815 'browser/process_manager.h',
816 'browser/process_manager_delegate.h',
817 'browser/process_manager_factory.cc',
818 'browser/process_manager_factory.h',
819 'browser/process_manager_observer.h',
820 'browser/process_map.cc',
821 'browser/process_map.h',
822 'browser/process_map_factory.cc',
823 'browser/process_map_factory.h',
824 'browser/quota_service.cc',
825 'browser/quota_service.h',
826 'browser/renderer_startup_helper.cc',
827 'browser/renderer_startup_helper.h',
828 'browser/runtime_data.cc',
829 'browser/runtime_data.h',
830 'browser/sandboxed_unpacker.cc',
831 'browser/sandboxed_unpacker.h',
832 'browser/script_execution_observer.h',
833 'browser/script_executor.cc',
834 'browser/script_executor.h',
835 'browser/state_store.cc',
836 'browser/state_store.h',
837 'browser/suggest_permission_util.cc',
838 'browser/suggest_permission_util.h',
839 'browser/uninstall_reason.h',
840 'browser/update_observer.h',
841 'browser/updater/extension_cache.h',
842 'browser/updater/extension_downloader.cc',
843 'browser/updater/extension_downloader.h',
844 'browser/updater/extension_downloader_delegate.cc',
845 'browser/updater/extension_downloader_delegate.h',
846 'browser/updater/manifest_fetch_data.cc',
847 'browser/updater/manifest_fetch_data.h',
848 'browser/updater/null_extension_cache.cc',
849 'browser/updater/null_extension_cache.h',
850 'browser/updater/request_queue.h',
851 'browser/updater/request_queue_impl.h',
852 'browser/updater/safe_manifest_parser.cc',
853 'browser/updater/safe_manifest_parser.h',
854 'browser/updater/update_service.cc',
855 'browser/updater/update_service.h',
856 'browser/updater/update_service_factory.cc',
857 'browser/updater/update_service_factory.h',
858 'browser/url_request_util.cc',
859 'browser/url_request_util.h',
860 'browser/value_store/leveldb_value_store.cc',
861 'browser/value_store/leveldb_value_store.h',
862 'browser/value_store/testing_value_store.cc',
863 'browser/value_store/testing_value_store.h',
864 'browser/value_store/value_store.cc',
865 'browser/value_store/value_store.h',
866 'browser/value_store/value_store_change.cc',
867 'browser/value_store/value_store_change.h',
868 'browser/value_store/value_store_frontend.cc',
869 'browser/value_store/value_store_frontend.h',
870 'browser/value_store/value_store_util.cc',
871 'browser/value_store/value_store_util.h',
872 'browser/verified_contents.cc',
873 'browser/verified_contents.h',
874 'browser/view_type_utils.cc',
875 'browser/view_type_utils.h',
876 'browser/warning_service.cc',
877 'browser/warning_service.h',
878 'browser/warning_service_factory.cc',
879 'browser/warning_service_factory.h',
880 'browser/warning_set.cc',
881 'browser/warning_set.h',
884 # This condition exists only because the extensions_common_constants
885 # target is always built and thus this file gets evaluated by GYP.
886 # This does not need to be replicated into extensions/browser/BUILD.gn.
887 ['OS == "ios" or OS == "android"', {
889 '../components/components.gyp:storage_monitor',
894 '../chromeos/chromeos.gyp:chromeos',
897 'browser/api/diagnostics/diagnostics_api.cc',
898 'browser/api/diagnostics/diagnostics_api.h',
899 'browser/api/diagnostics/diagnostics_api_chromeos.cc',
900 'browser/api/networking_config/networking_config_api.cc',
901 'browser/api/networking_config/networking_config_api.h',
902 'browser/api/networking_config/networking_config_service.cc',
903 'browser/api/networking_config/networking_config_service.h',
904 'browser/api/networking_config/networking_config_service_factory.cc',
905 'browser/api/networking_config/networking_config_service_factory.h',
906 'browser/api/vpn_provider/vpn_provider_api.cc',
907 'browser/api/vpn_provider/vpn_provider_api.h',
908 'browser/api/vpn_provider/vpn_service.cc',
909 'browser/api/vpn_provider/vpn_service.h',
910 'browser/api/vpn_provider/vpn_service_factory.h'
914 'browser/api/document_scan/document_scan_interface_nonchromeos.cc',
917 ['OS == "win" or OS == "mac"', {
919 '../components/components.gyp:wifi_component',
922 'browser/api/networking_private/networking_private_event_router_nonchromeos.cc',
923 'browser/api/networking_private/networking_private_service_client.cc',
924 'browser/api/networking_private/networking_private_service_client.h',
927 ['OS == "linux" and chromeos == 0', {
929 '../build/linux/system.gyp:dbus',
930 '../dbus/dbus.gyp:dbus',
933 'browser/api/networking_private/networking_private_event_router_nonchromeos.cc',
934 'browser/api/networking_private/networking_private_linux.cc',
935 'browser/api/networking_private/networking_private_linux.h',
936 'browser/api/networking_private/network_config_dbus_constants_linux.cc',
937 'browser/api/networking_private/network_config_dbus_constants_linux.h',
942 'browser/api/audio/audio_service.cc',
946 # Disable c4267 warnings until we fix size_t to int truncations.
947 'msvs_disabled_warnings': [ 4267, ],
950 # GN version: //extensions/renderer
951 'target_name': 'extensions_renderer',
952 'type': 'static_library',
954 'extensions_resources.gyp:extensions_resources',
955 '../content/content.gyp:content_resources',
956 '../gin/gin.gyp:gin',
957 '../third_party/WebKit/public/blink.gyp:blink',
958 '../third_party/mojo/mojo_public.gyp:mojo_js_bindings',
964 # Note: sources list duplicated in GN build.
965 'renderer/activity_log_converter_strategy.cc',
966 'renderer/activity_log_converter_strategy.h',
967 'renderer/api/automation/automation_api_helper.cc',
968 'renderer/api/automation/automation_api_helper.h',
969 'renderer/api_activity_logger.cc',
970 'renderer/api_activity_logger.h',
971 'renderer/api_definitions_natives.cc',
972 'renderer/api_definitions_natives.h',
973 'renderer/app_runtime_custom_bindings.cc',
974 'renderer/app_runtime_custom_bindings.h',
975 'renderer/app_window_custom_bindings.cc',
976 'renderer/app_window_custom_bindings.h',
977 'renderer/binding_generating_native_handler.cc',
978 'renderer/binding_generating_native_handler.h',
979 'renderer/blob_native_handler.cc',
980 'renderer/blob_native_handler.h',
981 'renderer/console.cc',
982 'renderer/console.h',
983 'renderer/content_watcher.cc',
984 'renderer/content_watcher.h',
985 'renderer/context_menus_custom_bindings.cc',
986 'renderer/context_menus_custom_bindings.h',
987 'renderer/css_native_handler.cc',
988 'renderer/css_native_handler.h',
989 'renderer/default_dispatcher_delegate.cc',
990 'renderer/default_dispatcher_delegate.h',
991 'renderer/dispatcher.cc',
992 'renderer/dispatcher.h',
993 'renderer/dispatcher_delegate.h',
994 'renderer/document_custom_bindings.cc',
995 'renderer/document_custom_bindings.h',
996 'renderer/dom_activity_logger.cc',
997 'renderer/dom_activity_logger.h',
998 'renderer/event_bindings.cc',
999 'renderer/event_bindings.h',
1000 'renderer/extension_groups.h',
1001 'renderer/extension_helper.cc',
1002 'renderer/extension_helper.h',
1003 'renderer/extensions_render_frame_observer.cc',
1004 'renderer/extensions_render_frame_observer.h',
1005 'renderer/extensions_renderer_client.cc',
1006 'renderer/extensions_renderer_client.h',
1007 'renderer/file_system_natives.cc',
1008 'renderer/file_system_natives.h',
1009 'renderer/guest_view/extensions_guest_view_container.cc',
1010 'renderer/guest_view/extensions_guest_view_container.h',
1011 'renderer/guest_view/guest_view_container.cc',
1012 'renderer/guest_view/guest_view_container.h',
1013 'renderer/guest_view/guest_view_internal_custom_bindings.cc',
1014 'renderer/guest_view/guest_view_internal_custom_bindings.h',
1015 'renderer/guest_view/mime_handler_view/mime_handler_view_container.cc',
1016 'renderer/guest_view/mime_handler_view/mime_handler_view_container.h',
1017 'renderer/i18n_custom_bindings.cc',
1018 'renderer/i18n_custom_bindings.h',
1019 'renderer/id_generator_custom_bindings.cc',
1020 'renderer/id_generator_custom_bindings.h',
1021 'renderer/lazy_background_page_native_handler.cc',
1022 'renderer/lazy_background_page_native_handler.h',
1023 'renderer/logging_native_handler.cc',
1024 'renderer/logging_native_handler.h',
1025 'renderer/messaging_bindings.cc',
1026 'renderer/messaging_bindings.h',
1027 'renderer/module_system.cc',
1028 'renderer/module_system.h',
1029 'renderer/native_handler.cc',
1030 'renderer/native_handler.h',
1031 'renderer/object_backed_native_handler.cc',
1032 'renderer/object_backed_native_handler.h',
1033 'renderer/print_native_handler.cc',
1034 'renderer/print_native_handler.h',
1035 'renderer/process_info_native_handler.cc',
1036 'renderer/process_info_native_handler.h',
1037 'renderer/programmatic_script_injector.cc',
1038 'renderer/programmatic_script_injector.h',
1039 'renderer/render_view_observer_natives.cc',
1040 'renderer/request_sender.cc',
1041 'renderer/request_sender.h',
1042 'renderer/resource_bundle_source_map.cc',
1043 'renderer/resource_bundle_source_map.h',
1044 'renderer/resources/app_runtime_custom_bindings.js',
1045 'renderer/resources/app_window_custom_bindings.js',
1046 'renderer/resources/binding.js',
1047 'renderer/resources/context_menus_custom_bindings.js',
1048 'renderer/resources/declarative_webrequest_custom_bindings.js',
1049 'renderer/resources/entry_id_manager.js',
1050 'renderer/resources/event.js',
1051 'renderer/resources/extension.css',
1052 'renderer/resources/extension_custom_bindings.js',
1053 'renderer/resources/extension_fonts.css',
1054 'renderer/resources/greasemonkey_api.js',
1055 'renderer/resources/i18n_custom_bindings.js',
1056 'renderer/resources/image_util.js',
1057 'renderer/resources/json_schema.js',
1058 'renderer/resources/last_error.js',
1059 'renderer/resources/messaging.js',
1060 'renderer/resources/messaging_utils.js',
1061 'renderer/resources/permissions_custom_bindings.js',
1062 'renderer/resources/platform_app.css',
1063 'renderer/resources/platform_app.js',
1064 'renderer/resources/runtime_custom_bindings.js',
1065 'renderer/resources/schema_utils.js',
1066 'renderer/resources/send_request.js',
1067 'renderer/resources/set_icon.js',
1068 'renderer/resources/storage_area.js',
1069 'renderer/resources/test_custom_bindings.js',
1070 'renderer/resources/uncaught_exception_handler.js',
1071 'renderer/resources/unload_event.js',
1072 'renderer/resources/utils.js',
1073 'renderer/resources/extensions/extension_view.js',
1074 'renderer/resources/extensions/surface_worker.js',
1075 'renderer/resources/extensions/web_view.js',
1076 'renderer/resources/extensions/web_view_events.js',
1077 'renderer/resources/extensions/web_view_experimental.js',
1078 'renderer/resources/web_request_custom_bindings.js',
1079 'renderer/resources/web_request_internal_custom_bindings.js',
1080 'renderer/runtime_custom_bindings.cc',
1081 'renderer/runtime_custom_bindings.h',
1082 'renderer/safe_builtins.cc',
1083 'renderer/safe_builtins.h',
1084 'renderer/scoped_persistent.h',
1085 'renderer/script_context.cc',
1086 'renderer/script_context.h',
1087 'renderer/script_context_set.cc',
1088 'renderer/script_context_set.h',
1089 'renderer/script_injection.cc',
1090 'renderer/script_injection.h',
1091 'renderer/script_injection_manager.cc',
1092 'renderer/script_injection_manager.h',
1093 'renderer/script_injector.h',
1094 'renderer/scripts_run_info.cc',
1095 'renderer/scripts_run_info.h',
1096 'renderer/send_request_natives.cc',
1097 'renderer/send_request_natives.h',
1098 'renderer/set_icon_natives.cc',
1099 'renderer/set_icon_natives.h',
1100 'renderer/static_v8_external_one_byte_string_resource.cc',
1101 'renderer/static_v8_external_one_byte_string_resource.h',
1102 'renderer/tab_finder.cc',
1103 'renderer/tab_finder.h',
1104 'renderer/test_features_native_handler.cc',
1105 'renderer/test_features_native_handler.h',
1106 'renderer/user_gestures_native_handler.cc',
1107 'renderer/user_gestures_native_handler.h',
1108 'renderer/user_script_injector.cc',
1109 'renderer/user_script_injector.h',
1110 'renderer/user_script_set.cc',
1111 'renderer/user_script_set.h',
1112 'renderer/user_script_set_manager.cc',
1113 'renderer/user_script_set_manager.h',
1114 'renderer/utils_native_handler.cc',
1115 'renderer/utils_native_handler.h',
1116 'renderer/v8_context_native_handler.cc',
1117 'renderer/v8_context_native_handler.h',
1118 'renderer/v8_schema_registry.cc',
1119 'renderer/v8_schema_registry.h',
1121 # Disable c4267 warnings until we fix size_t to int truncations.
1122 'msvs_disabled_warnings': [ 4267, ],
1125 # GN version: //extensions/utility
1126 'target_name': 'extensions_utility',
1127 'type': 'static_library',
1129 '../content/content.gyp:content_utility',
1130 '../third_party/zlib/google/zip.gyp:zip',
1131 'extensions_common',
1132 'extensions_strings.gyp:extensions_strings',
1138 'utility/unpacker.cc',
1139 'utility/unpacker.h',
1140 'utility/utility_handler.cc',
1141 'utility/utility_handler.h',
1145 # GN version: //extensions:test_support
1146 'target_name': 'extensions_test_support',
1147 'type': 'static_library',
1149 '../base/base.gyp:base',
1150 '../base/base.gyp:base_prefs_test_support',
1151 '../components/components.gyp:user_prefs',
1152 '../content/content.gyp:content_browser',
1153 '../content/content.gyp:content_common',
1154 '../content/content_shell_and_tests.gyp:test_support_content',
1155 '../net/net.gyp:net_test_support',
1156 '../testing/gtest.gyp:gtest',
1157 'browser/api/api_registration.gyp:extensions_api_registration',
1158 'common/api/api.gyp:cast_channel_proto',
1159 'common/api/api.gyp:extensions_api',
1160 'extensions_browser',
1161 'extensions_common',
1162 'extensions_resources.gyp:extensions_resources',
1166 '<(SHARED_INTERMEDIATE_DIR)',
1169 # Note: sources list duplicated in GN build.
1170 'browser/api/cast_channel/cast_test_util.cc',
1171 'browser/api/cast_channel/cast_test_util.h',
1172 'browser/api/dns/mock_host_resolver_creator.cc',
1173 'browser/api/dns/mock_host_resolver_creator.h',
1174 'browser/api/storage/settings_test_util.cc',
1175 'browser/api/storage/settings_test_util.h',
1176 'browser/api_test_utils.cc',
1177 'browser/api_test_utils.h',
1178 'browser/api_unittest.cc',
1179 'browser/api_unittest.h',
1180 'browser/app_window/test_app_window_contents.cc',
1181 'browser/app_window/test_app_window_contents.h',
1182 'browser/extension_error_test_util.cc',
1183 'browser/extension_error_test_util.h',
1184 'browser/extensions_test.cc',
1185 'browser/extensions_test.h',
1186 'browser/guest_view/test_guest_view_manager.cc',
1187 'browser/guest_view/test_guest_view_manager.h',
1188 'browser/mock_extension_system.cc',
1189 'browser/mock_extension_system.h',
1190 'browser/test_extension_registry_observer.cc',
1191 'browser/test_extension_registry_observer.h',
1192 'browser/test_extensions_browser_client.cc',
1193 'browser/test_extensions_browser_client.h',
1194 'browser/test_management_policy.cc',
1195 'browser/test_management_policy.h',
1196 'browser/test_runtime_api_delegate.cc',
1197 'browser/test_runtime_api_delegate.h',
1198 'common/extension_builder.cc',
1199 'common/extension_builder.h',
1200 'common/manifest_test.cc',
1201 'common/manifest_test.h',
1202 'common/test_util.cc',
1203 'common/test_util.h',
1204 'common/value_builder.cc',
1205 'common/value_builder.h',
1206 'renderer/test_extensions_renderer_client.cc',
1207 'renderer/test_extensions_renderer_client.h',
1208 'test/extension_test_message_listener.cc',
1209 'test/extension_test_message_listener.h',
1210 'test/result_catcher.cc',
1211 'test/result_catcher.h',
1212 'test/test_content_utility_client.cc',
1213 'test/test_content_utility_client.h',
1214 'test/test_extensions_client.cc',
1215 'test/test_extensions_client.h',
1216 'test/test_permission_message_provider.cc',
1217 'test/test_permission_message_provider.h',
1218 'test/test_service_registration_manager.cc',
1219 'test/test_service_registration_manager.h',
1221 # Disable c4267 warnings until we fix size_t to int truncations.
1222 'msvs_disabled_warnings': [ 4267, ],
1225 # The pak file generated by this target is intended to be shared by
1226 # both shell and test targets. It was combined because it might help a
1227 # little bit with build time by avoiding a repack step (one instead of
1229 'target_name': 'extensions_shell_and_test_pak',
1232 '../content/browser/devtools/devtools_resources.gyp:devtools_resources',
1233 '../content/content.gyp:content_resources',
1234 '../content/content_shell_and_tests.gyp:content_shell_resources',
1235 '../third_party/WebKit/public/blink_resources.gyp:blink_resources',
1236 '../ui/resources/ui_resources.gyp:ui_resources',
1237 '../ui/strings/ui_strings.gyp:ui_strings',
1238 'extensions_resources.gyp:extensions_resources',
1239 'extensions_strings.gyp:extensions_strings',
1240 'shell/app_shell_resources.gyp:app_shell_resources',
1244 'action_name': 'repack_extensions_shell_and_test_pak',
1247 '<(SHARED_INTERMEDIATE_DIR)/blink/public/resources/blink_resources.pak',
1248 '<(SHARED_INTERMEDIATE_DIR)/content/app/strings/content_strings_en-US.pak',
1249 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.pak',
1250 '<(SHARED_INTERMEDIATE_DIR)/content/shell_resources.pak',
1251 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_browser_resources_100_percent.pak',
1252 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_renderer_resources.pak',
1253 '<(SHARED_INTERMEDIATE_DIR)/extensions/extensions_resources.pak',
1254 '<(SHARED_INTERMEDIATE_DIR)/extensions/shell/app_shell_resources.pak',
1255 '<(SHARED_INTERMEDIATE_DIR)/extensions/strings/extensions_strings_en-US.pak',
1256 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_resources_100_percent.pak',
1257 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/app_locale_settings_en-US.pak',
1258 '<(SHARED_INTERMEDIATE_DIR)/ui/strings/ui_strings_en-US.pak',
1259 '<(SHARED_INTERMEDIATE_DIR)/blink/devtools_resources.pak',
1261 'pak_output': '<(PRODUCT_DIR)/extensions_shell_and_test.pak',
1263 'includes': [ '../build/repack_action.gypi' ],