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