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