1 # Copyright 2014 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.
5 import("//build/config/crypto.gni")
6 import("//build/config/features.gni")
8 # GYP version: extensions/extensions.gyp:extensions_browser
9 source_set("browser") {
13 "//components/keyed_service/content",
14 "//components/keyed_service/core",
15 "//components/pref_registry",
16 "//components/sessions:sessions_content",
17 "//components/ui/zoom:ui_zoom",
18 "//components/web_cache/browser",
19 "//components/web_modal",
20 "//content/public/browser",
22 "//extensions/common",
23 "//extensions/common/api",
24 "//extensions/common/api:api_registration",
25 "//extensions/strings",
28 "//third_party/leveldatabase",
32 if (enable_extensions) {
33 # Includes all API implementations and the ExtensionsApiClient
34 # interface. Moving an API from src/chrome to src/extensions implies
35 # it can be cleanly disabled with enable_extensions=false.
36 # TODO: Eventually the entire extensions module should not be built
37 # when enable_extensions=false.
39 "api/activity_log/web_request_constants.cc",
40 "api/activity_log/web_request_constants.h",
41 "api/alarms/alarms_api.cc",
42 "api/alarms/alarms_api.h",
43 "api/alarms/alarm_manager.cc",
44 "api/alarms/alarm_manager.h",
45 "api/api_resource.cc",
47 "api/api_resource_manager.h",
48 "api/app_current_window_internal/app_current_window_internal_api.cc",
49 "api/app_current_window_internal/app_current_window_internal_api.h",
50 "api/app_runtime/app_runtime_api.cc",
51 "api/app_runtime/app_runtime_api.h",
52 "api/app_view/app_view_guest_internal_api.cc",
53 "api/app_view/app_view_guest_internal_api.h",
54 "api/app_window/app_window_api.cc",
55 "api/app_window/app_window_api.h",
56 "api/async_api_function.cc",
57 "api/async_api_function.h",
58 "api/audio/audio_api.cc",
59 "api/audio/audio_api.h",
60 "api/audio/audio_service.h",
61 "api/bluetooth/bluetooth_api.cc",
62 "api/bluetooth/bluetooth_api.h",
63 "api/bluetooth/bluetooth_api_pairing_delegate.cc",
64 "api/bluetooth/bluetooth_api_pairing_delegate.h",
65 "api/bluetooth/bluetooth_api_utils.cc",
66 "api/bluetooth/bluetooth_api_utils.h",
67 "api/bluetooth/bluetooth_event_router.cc",
68 "api/bluetooth/bluetooth_event_router.h",
69 "api/bluetooth/bluetooth_extension_function.cc",
70 "api/bluetooth/bluetooth_extension_function.h",
71 "api/bluetooth/bluetooth_private_api.cc",
72 "api/bluetooth/bluetooth_private_api.h",
73 "api/bluetooth_low_energy/bluetooth_low_energy_api.cc",
74 "api/bluetooth_low_energy/bluetooth_low_energy_api.h",
75 "api/bluetooth_low_energy/bluetooth_low_energy_connection.cc",
76 "api/bluetooth_low_energy/bluetooth_low_energy_connection.h",
77 "api/bluetooth_low_energy/bluetooth_low_energy_event_router.cc",
78 "api/bluetooth_low_energy/bluetooth_low_energy_event_router.h",
79 "api/bluetooth_low_energy/bluetooth_low_energy_notify_session.cc",
80 "api/bluetooth_low_energy/bluetooth_low_energy_notify_session.h",
81 "api/bluetooth_low_energy/utils.cc",
82 "api/bluetooth_low_energy/utils.h",
83 "api/bluetooth_socket/bluetooth_api_socket.cc",
84 "api/bluetooth_socket/bluetooth_api_socket.h",
85 "api/bluetooth_socket/bluetooth_socket_api.cc",
86 "api/bluetooth_socket/bluetooth_socket_api.h",
87 "api/bluetooth_socket/bluetooth_socket_event_dispatcher.cc",
88 "api/bluetooth_socket/bluetooth_socket_event_dispatcher.h",
89 "api/capture_web_contents_function.cc",
90 "api/capture_web_contents_function.h",
91 "api/cast_channel/cast_auth_ica.cc",
92 "api/cast_channel/cast_auth_ica.h",
93 "api/cast_channel/cast_auth_util.cc",
94 "api/cast_channel/cast_auth_util.h",
95 "api/cast_channel/cast_channel_api.cc",
96 "api/cast_channel/cast_channel_api.h",
97 "api/cast_channel/cast_framer.cc",
98 "api/cast_channel/cast_framer.h",
99 "api/cast_channel/cast_message_util.cc",
100 "api/cast_channel/cast_message_util.h",
101 "api/cast_channel/cast_socket.cc",
102 "api/cast_channel/cast_socket.h",
103 "api/cast_channel/cast_transport.cc",
104 "api/cast_channel/cast_transport.h",
105 "api/cast_channel/keep_alive_delegate.cc",
106 "api/cast_channel/keep_alive_delegate.h",
107 "api/cast_channel/logger.cc",
108 "api/cast_channel/logger.h",
109 "api/cast_channel/logger_util.cc",
110 "api/cast_channel/logger_util.h",
111 "api/declarative/declarative_api.cc",
112 "api/declarative/declarative_api.h",
113 "api/declarative/declarative_rule.h",
114 "api/declarative/deduping_factory.h",
115 "api/declarative/rules_cache_delegate.cc",
116 "api/declarative/rules_cache_delegate.h",
117 "api/declarative/rules_registry.cc",
118 "api/declarative/rules_registry.h",
119 "api/declarative/rules_registry_service.cc",
120 "api/declarative/rules_registry_service.h",
121 "api/declarative/test_rules_registry.cc",
122 "api/declarative/test_rules_registry.h",
123 "api/declarative_content/content_rules_registry.h",
124 "api/declarative_webrequest/request_stage.cc",
125 "api/declarative_webrequest/request_stage.h",
126 "api/declarative_webrequest/webrequest_action.cc",
127 "api/declarative_webrequest/webrequest_action.h",
128 "api/declarative_webrequest/webrequest_condition_attribute.cc",
129 "api/declarative_webrequest/webrequest_condition_attribute.h",
130 "api/declarative_webrequest/webrequest_condition.cc",
131 "api/declarative_webrequest/webrequest_condition.h",
132 "api/declarative_webrequest/webrequest_constants.cc",
133 "api/declarative_webrequest/webrequest_constants.h",
134 "api/declarative_webrequest/webrequest_rules_registry.cc",
135 "api/declarative_webrequest/webrequest_rules_registry.h",
136 "api/device_permissions_manager.cc",
137 "api/device_permissions_manager.h",
138 "api/device_permissions_prompt.cc",
139 "api/device_permissions_prompt.h",
140 "api/dns/dns_api.cc",
142 "api/dns/host_resolver_wrapper.cc",
143 "api/dns/host_resolver_wrapper.h",
144 "api/document_scan/document_scan_api.cc",
145 "api/document_scan/document_scan_api.h",
146 "api/document_scan/document_scan_interface.cc",
147 "api/document_scan/document_scan_interface.h",
148 "api/execute_code_function.cc",
149 "api/execute_code_function.h",
150 "api/extensions_api_client.cc",
151 "api/extensions_api_client.h",
152 "api/extension_view/extension_view_internal_api.cc",
153 "api/extension_view/extension_view_internal_api.h",
154 "api/guest_view/guest_view_internal_api.cc",
155 "api/guest_view/guest_view_internal_api.h",
156 "api/hid/hid_api.cc",
158 "api/hid/hid_connection_resource.cc",
159 "api/hid/hid_connection_resource.h",
160 "api/hid/hid_device_manager.cc",
161 "api/hid/hid_device_manager.h",
162 "api/idle/idle_api.cc",
163 "api/idle/idle_api.h",
164 "api/idle/idle_api_constants.cc",
165 "api/idle/idle_api_constants.h",
166 "api/idle/idle_manager.cc",
167 "api/idle/idle_manager.h",
168 "api/idle/idle_manager_factory.cc",
169 "api/idle/idle_manager_factory.h",
170 "api/management/management_api.cc",
171 "api/management/management_api.h",
172 "api/management/management_api_constants.cc",
173 "api/management/management_api_constants.h",
174 "api/management/management_api_delegate.h",
175 "api/messaging/native_message_host.cc",
176 "api/mime_handler_private/mime_handler_private.cc",
177 "api/mime_handler_private/mime_handler_private.h",
178 "api/networking_private/networking_private_api.cc",
179 "api/networking_private/networking_private_api.h",
180 "api/networking_private/networking_private_chromeos.cc",
181 "api/networking_private/networking_private_chromeos.h",
182 "api/networking_private/networking_private_delegate.cc",
183 "api/networking_private/networking_private_delegate.h",
184 "api/networking_private/networking_private_delegate_factory.cc",
185 "api/networking_private/networking_private_delegate_factory.h",
186 "api/networking_private/networking_private_delegate_observer.h",
187 "api/networking_private/networking_private_event_router.h",
188 "api/networking_private/networking_private_event_router_chromeos.cc",
189 "api/networking_private/networking_private_event_router_factory.cc",
190 "api/networking_private/networking_private_event_router_factory.h",
191 "api/power/power_api.cc",
192 "api/power/power_api.h",
193 "api/power/power_api_manager.cc",
194 "api/power/power_api_manager.h",
195 "api/printer_provider/printer_provider_api.cc",
196 "api/printer_provider/printer_provider_api.h",
197 "api/printer_provider_internal/printer_provider_internal_api.cc",
198 "api/printer_provider_internal/printer_provider_internal_api.h",
199 "api/printer_provider_internal/printer_provider_internal_api_observer.h",
200 "api/runtime/runtime_api.cc",
201 "api/runtime/runtime_api.h",
202 "api/runtime/runtime_api_delegate.cc",
203 "api/runtime/runtime_api_delegate.h",
204 "api/serial/serial_api.cc",
205 "api/serial/serial_api.h",
206 "api/serial/serial_connection.cc",
207 "api/serial/serial_connection.h",
208 "api/serial/serial_event_dispatcher.cc",
209 "api/serial/serial_event_dispatcher.h",
210 "api/socket/socket.cc",
211 "api/socket/socket.h",
212 "api/socket/socket_api.cc",
213 "api/socket/socket_api.h",
214 "api/socket/tcp_socket.cc",
215 "api/socket/tcp_socket.h",
216 "api/socket/tls_socket.cc",
217 "api/socket/tls_socket.h",
218 "api/socket/udp_socket.cc",
219 "api/socket/udp_socket.h",
220 "api/sockets_tcp/sockets_tcp_api.cc",
221 "api/sockets_tcp/sockets_tcp_api.h",
222 "api/sockets_tcp/tcp_socket_event_dispatcher.cc",
223 "api/sockets_tcp/tcp_socket_event_dispatcher.h",
224 "api/sockets_tcp_server/sockets_tcp_server_api.cc",
225 "api/sockets_tcp_server/sockets_tcp_server_api.h",
226 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.cc",
227 "api/sockets_tcp_server/tcp_server_socket_event_dispatcher.h",
228 "api/sockets_udp/sockets_udp_api.cc",
229 "api/sockets_udp/sockets_udp_api.h",
230 "api/sockets_udp/udp_socket_event_dispatcher.cc",
231 "api/sockets_udp/udp_socket_event_dispatcher.h",
232 "api/storage/leveldb_settings_storage_factory.cc",
233 "api/storage/leveldb_settings_storage_factory.h",
234 "api/storage/local_value_store_cache.cc",
235 "api/storage/local_value_store_cache.h",
236 "api/storage/settings_namespace.cc",
237 "api/storage/settings_namespace.h",
238 "api/storage/settings_observer.h",
239 "api/storage/settings_storage_factory.h",
240 "api/storage/settings_storage_quota_enforcer.cc",
241 "api/storage/settings_storage_quota_enforcer.h",
242 "api/storage/storage_api.cc",
243 "api/storage/storage_api.h",
244 "api/storage/storage_frontend.cc",
245 "api/storage/storage_frontend.h",
246 "api/storage/value_store_cache.cc",
247 "api/storage/value_store_cache.h",
248 "api/storage/weak_unlimited_settings_storage.cc",
249 "api/storage/weak_unlimited_settings_storage.h",
250 "api/system_cpu/cpu_info_provider.cc",
251 "api/system_cpu/cpu_info_provider.h",
252 "api/system_cpu/cpu_info_provider_linux.cc",
253 "api/system_cpu/cpu_info_provider_mac.cc",
254 "api/system_cpu/cpu_info_provider_win.cc",
255 "api/system_cpu/system_cpu_api.cc",
256 "api/system_cpu/system_cpu_api.h",
257 "api/system_display/display_info_provider.cc",
258 "api/system_display/display_info_provider.h",
259 "api/system_display/system_display_api.cc",
260 "api/system_display/system_display_api.h",
261 "api/system_info/system_info_api.cc",
262 "api/system_info/system_info_api.h",
263 "api/system_info/system_info_provider.cc",
264 "api/system_info/system_info_provider.h",
265 "api/system_memory/memory_info_provider.cc",
266 "api/system_memory/memory_info_provider.h",
267 "api/system_memory/system_memory_api.cc",
268 "api/system_memory/system_memory_api.h",
269 "api/system_network/system_network_api.cc",
270 "api/system_network/system_network_api.h",
271 "api/system_storage/storage_info_provider.cc",
272 "api/system_storage/storage_info_provider.h",
273 "api/system_storage/system_storage_api.cc",
274 "api/system_storage/system_storage_api.h",
275 "api/test/test_api.cc",
276 "api/test/test_api.h",
277 "api/usb/usb_api.cc",
279 "api/usb/usb_event_router.cc",
280 "api/usb/usb_event_router.h",
281 "api/usb/usb_device_resource.cc",
282 "api/usb/usb_device_resource.h",
283 "api/virtual_keyboard_private/virtual_keyboard_private_api.cc",
284 "api/virtual_keyboard_private/virtual_keyboard_private_api.h",
285 "api/virtual_keyboard_private/virtual_keyboard_delegate.h",
286 "api/web_request/form_data_parser.cc",
287 "api/web_request/form_data_parser.h",
288 "api/web_request/upload_data_presenter.cc",
289 "api/web_request/upload_data_presenter.h",
290 "api/web_request/web_request_api.cc",
291 "api/web_request/web_request_api.h",
292 "api/web_request/web_request_api_constants.cc",
293 "api/web_request/web_request_api_constants.h",
294 "api/web_request/web_request_api_helpers.cc",
295 "api/web_request/web_request_api_helpers.h",
296 "api/web_request/web_request_permissions.cc",
297 "api/web_request/web_request_permissions.h",
298 "api/web_request/web_request_event_router_delegate.cc",
299 "api/web_request/web_request_event_router_delegate.h",
300 "api/web_request/web_request_time_tracker.cc",
301 "api/web_request/web_request_time_tracker.h",
302 "api/web_view/web_view_internal_api.cc",
303 "api/web_view/web_view_internal_api.h",
304 "api/webcam_private/webcam_private_api.h",
305 "api/webcam_private/webcam_private_api_chromeos.cc",
306 "api_activity_monitor.h",
308 "app_window/app_delegate.h",
309 "app_window/app_web_contents_helper.cc",
310 "app_window/app_web_contents_helper.h",
311 "app_window/app_window.cc",
312 "app_window/app_window.h",
313 "app_window/app_window_client.cc",
314 "app_window/app_window_client.h",
315 "app_window/app_window_contents.cc",
316 "app_window/app_window_contents.h",
317 "app_window/app_window_geometry_cache.cc",
318 "app_window/app_window_geometry_cache.h",
319 "app_window/app_window_registry.cc",
320 "app_window/app_window_registry.h",
321 "app_window/native_app_window.h",
322 "app_window/size_constraints.cc",
323 "app_window/size_constraints.h",
327 "browser_context_keyed_api_factory.h",
328 "browser_context_keyed_service_factories.cc",
329 "browser_context_keyed_service_factories.h",
330 "component_extension_resource_manager.h",
331 "computed_hashes.cc",
333 "content_hash_fetcher.cc",
334 "content_hash_fetcher.h",
335 "content_hash_reader.cc",
336 "content_hash_reader.h",
337 "content_hash_tree.cc",
338 "content_hash_tree.h",
339 "content_verifier.cc",
340 "content_verifier.h",
341 "content_verifier_delegate.h",
342 "content_verifier_io_data.cc",
343 "content_verifier_io_data.h",
344 "content_verify_job.cc",
345 "content_verify_job.h",
350 "event_listener_map.cc",
351 "event_listener_map.h",
354 "extension_error.cc",
356 "extension_function.cc",
357 "extension_function.h",
358 "extension_function_dispatcher.cc",
359 "extension_function_dispatcher.h",
360 "extension_function_registry.cc",
361 "extension_function_registry.h",
362 "extension_function_util.cc",
363 "extension_function_util.h",
366 "extension_host_delegate.h",
367 "extension_icon_image.cc",
368 "extension_icon_image.h",
369 "extension_message_filter.cc",
370 "extension_message_filter.h",
371 "extension_pref_store.cc",
372 "extension_pref_store.h",
373 "extension_pref_value_map.cc",
374 "extension_pref_value_map.h",
375 "extension_pref_value_map_factory.cc",
376 "extension_pref_value_map_factory.h",
377 "extension_prefs.cc",
379 "extension_prefs_factory.cc",
380 "extension_prefs_factory.h",
381 "extension_prefs_observer.h",
382 "extension_prefs_scope.h",
383 "extension_protocols.cc",
384 "extension_protocols.h",
385 "extension_registry.cc",
386 "extension_registry.h",
387 "extension_registry_factory.cc",
388 "extension_registry_factory.h",
389 "extension_registry_observer.h",
390 "extension_scoped_prefs.h",
391 "extension_system.cc",
392 "extension_system.h",
393 "extension_system_provider.cc",
394 "extension_system_provider.h",
397 "extension_web_contents_observer.cc",
398 "extension_web_contents_observer.h",
399 "extension_zoom_request_client.cc",
400 "extension_zoom_request_client.h",
401 "extensions_browser_client.cc",
402 "extensions_browser_client.h",
403 "external_provider_interface.h",
404 "file_highlighter.cc",
405 "file_highlighter.h",
408 "granted_file_entry.cc",
409 "granted_file_entry.h",
410 "guest_view/app_view/app_view_constants.cc",
411 "guest_view/app_view/app_view_constants.h",
412 "guest_view/app_view/app_view_guest.cc",
413 "guest_view/app_view/app_view_guest.h",
414 "guest_view/app_view/app_view_guest_delegate.cc",
415 "guest_view/app_view/app_view_guest_delegate.h",
416 "guest_view/extension_options/extension_options_constants.cc",
417 "guest_view/extension_options/extension_options_constants.h",
418 "guest_view/extension_options/extension_options_guest.cc",
419 "guest_view/extension_options/extension_options_guest.h",
420 "guest_view/extension_options/extension_options_guest_delegate.cc",
421 "guest_view/extension_options/extension_options_guest_delegate.h",
422 "guest_view/extension_view/extension_view_constants.cc",
423 "guest_view/extension_view/extension_view_constants.h",
424 "guest_view/extension_view/extension_view_guest.cc",
425 "guest_view/extension_view/extension_view_guest.h",
426 "guest_view/extension_view/extension_view_guest_delegate.cc",
427 "guest_view/extension_view/extension_view_guest_delegate.h",
428 "guest_view/guest_view_base.cc",
429 "guest_view/guest_view_base.h",
430 "guest_view/guest_view_manager_factory.h",
431 "guest_view/guest_view_manager.cc",
432 "guest_view/guest_view_manager.h",
433 "guest_view/guest_view_message_filter.cc",
434 "guest_view/guest_view_message_filter.h",
435 "guest_view/guest_view.h",
436 "guest_view/mime_handler_view/mime_handler_stream_manager.cc",
437 "guest_view/mime_handler_view/mime_handler_stream_manager.h",
438 "guest_view/mime_handler_view/mime_handler_view_constants.cc",
439 "guest_view/mime_handler_view/mime_handler_view_constants.h",
440 "guest_view/mime_handler_view/mime_handler_view_guest.h",
441 "guest_view/mime_handler_view/mime_handler_view_guest.cc",
442 "guest_view/mime_handler_view/mime_handler_view_guest_delegate.cc",
443 "guest_view/mime_handler_view/mime_handler_view_guest_delegate.h",
444 "guest_view/surface_worker/surface_worker_constants.cc",
445 "guest_view/surface_worker/surface_worker_constants.h",
446 "guest_view/surface_worker/surface_worker_guest.cc",
447 "guest_view/surface_worker/surface_worker_guest.h",
448 "guest_view/web_view/javascript_dialog_helper.cc",
449 "guest_view/web_view/javascript_dialog_helper.h",
450 "guest_view/web_view/web_view_constants.cc",
451 "guest_view/web_view/web_view_constants.h",
452 "guest_view/web_view/web_view_find_helper.cc",
453 "guest_view/web_view/web_view_find_helper.h",
454 "guest_view/web_view/web_view_guest.cc",
455 "guest_view/web_view/web_view_guest.h",
456 "guest_view/web_view/web_view_guest_delegate.h",
457 "guest_view/web_view/web_view_permission_types.h",
458 "guest_view/web_view/web_view_permission_helper.cc",
459 "guest_view/web_view/web_view_permission_helper.h",
460 "guest_view/web_view/web_view_permission_helper_delegate.cc",
461 "guest_view/web_view/web_view_permission_helper_delegate.h",
462 "guest_view/web_view/web_view_renderer_state.cc",
463 "guest_view/web_view/web_view_renderer_state.h",
466 "image_loader_factory.cc",
467 "image_loader_factory.h",
470 "install/crx_installer_error.h",
471 "install/extension_install_ui.cc",
472 "install/extension_install_ui.h",
474 "io_thread_extension_message_filter.cc",
475 "io_thread_extension_message_filter.h",
476 "lazy_background_task_queue.cc",
477 "lazy_background_task_queue.h",
478 "management_policy.cc",
479 "management_policy.h",
480 "mojo/keep_alive_impl.cc",
481 "mojo/keep_alive_impl.h",
482 "mojo/service_registration_manager.cc",
483 "mojo/service_registration_manager.h",
484 "mojo/stash_backend.cc",
485 "mojo/stash_backend.h",
486 "notification_types.cc",
487 "notification_types.h",
488 "null_app_sorting.cc",
489 "null_app_sorting.h",
492 "process_manager.cc",
494 "process_manager_delegate.h",
495 "process_manager_factory.cc",
496 "process_manager_factory.h",
497 "process_manager_observer.h",
500 "process_map_factory.cc",
501 "process_map_factory.h",
504 "renderer_startup_helper.cc",
505 "renderer_startup_helper.h",
508 "sandboxed_unpacker.cc",
509 "sandboxed_unpacker.h",
510 "script_execution_observer.h",
511 "script_executor.cc",
515 "suggest_permission_util.cc",
516 "suggest_permission_util.h",
517 "uninstall_reason.h",
519 "updater/extension_cache.h",
520 "updater/extension_downloader.cc",
521 "updater/extension_downloader.h",
522 "updater/extension_downloader_delegate.cc",
523 "updater/extension_downloader_delegate.h",
524 "updater/manifest_fetch_data.cc",
525 "updater/manifest_fetch_data.h",
526 "updater/null_extension_cache.cc",
527 "updater/null_extension_cache.h",
528 "updater/request_queue.h",
529 "updater/request_queue_impl.h",
530 "updater/safe_manifest_parser.cc",
531 "updater/safe_manifest_parser.h",
532 "updater/update_service.cc",
533 "updater/update_service.h",
534 "updater/update_service_factory.cc",
535 "updater/update_service_factory.h",
536 "url_request_util.cc",
537 "url_request_util.h",
538 "value_store/leveldb_value_store.cc",
539 "value_store/leveldb_value_store.h",
540 "value_store/testing_value_store.cc",
541 "value_store/testing_value_store.h",
542 "value_store/value_store.cc",
543 "value_store/value_store.h",
544 "value_store/value_store_change.cc",
545 "value_store/value_store_change.h",
546 "value_store/value_store_frontend.cc",
547 "value_store/value_store_frontend.h",
548 "value_store/value_store_util.cc",
549 "value_store/value_store_util.h",
550 "verified_contents.cc",
551 "verified_contents.h",
552 "view_type_utils.cc",
554 "warning_service.cc",
556 "warning_service_factory.cc",
557 "warning_service_factory.h",
564 "//components/storage_monitor",
565 "//components/update_client",
567 "//device/bluetooth",
572 "//extensions/common/api/cast_channel:cast_channel_proto",
576 deps += [ "//chromeos" ]
580 sources += [ "api/audio/audio_service_chromeos.cc" ]
581 } else if (is_linux) {
582 sources += [ "api/audio/audio_service_linux.cc" ]
584 sources += [ "api/audio/audio_service.cc" ]
589 "api/diagnostics/diagnostics_api.cc",
590 "api/diagnostics/diagnostics_api.h",
591 "api/diagnostics/diagnostics_api_chromeos.cc",
592 "api/document_scan/document_scan_interface_chromeos.cc",
593 "api/networking_config/networking_config_api.cc",
594 "api/networking_config/networking_config_api.h",
595 "api/networking_config/networking_config_service.cc",
596 "api/networking_config/networking_config_service.h",
597 "api/networking_config/networking_config_service_factory.cc",
598 "api/networking_config/networking_config_service_factory.h",
599 "api/vpn_provider/vpn_provider_api.cc",
600 "api/vpn_provider/vpn_provider_api.h",
601 "api/vpn_provider/vpn_service.cc",
602 "api/vpn_provider/vpn_service.h",
603 "api/vpn_provider/vpn_service_factory.h",
606 sources += [ "api/document_scan/document_scan_interface_nonchromeos.cc" ]
609 if (is_desktop_linux) {
610 configs += [ "//build/config/linux:dbus" ]
613 "api/networking_private/networking_private_event_router_nonchromeos.cc",
614 "api/networking_private/networking_private_linux.cc",
615 "api/networking_private/networking_private_linux.h",
616 "api/networking_private/network_config_dbus_constants_linux.cc",
617 "api/networking_private/network_config_dbus_constants_linux.h",
619 } else if (is_win || is_mac) {
620 deps += [ "//components/wifi" ]
622 "api/networking_private/networking_private_event_router_nonchromeos.cc",
623 "api/networking_private/networking_private_service_client.cc",
624 "api/networking_private/networking_private_service_client.h",
630 cflags = [ "/wd4267" ] # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.