OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//content/browser/browser.gni") | |
6 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
7 | 6 |
8 # See //content/BUILD.gn for how this works. | 7 # See //content/BUILD.gn for how this works. |
9 group("browser") { | 8 group("browser") { |
10 if (is_component_build) { | 9 if (is_component_build) { |
11 public_deps = [ | 10 public_deps = [ |
12 "//content", | 11 "//content", |
13 ] | 12 ] |
14 } else { | 13 } else { |
15 public_deps = [ | 14 public_deps = [ |
16 ":browser_sources", | 15 ":browser_sources", |
17 ] | 16 ] |
18 } | 17 } |
19 } | 18 } |
20 | 19 |
21 source_set("browser_sources") { | 20 source_set("browser_sources") { |
22 # External code should depend on via ":browser" above. | 21 # External code should depend on via ":browser" above. |
23 visibility = [ "//content/*" ] | 22 visibility = [ "//content/*" ] |
24 | 23 |
25 sources = rebase_path(content_browser_gypi_values.public_browser_sources, | 24 sources = [ |
26 ".", | 25 "android/browser_media_player_manager_register.cc", |
27 "//content") | 26 "android/browser_media_player_manager_register.h", |
28 | 27 "android/compositor.h", |
| 28 "android/compositor_client.h", |
| 29 "android/content_protocol_handler.h", |
| 30 "android/content_view_core.h", |
| 31 "android/content_view_layer_renderer.h", |
| 32 "android/devtools_auth.h", |
| 33 "android/external_video_surface_container.h", |
| 34 "android/interface_provider_android.h", |
| 35 "android/interface_registry_android.h", |
| 36 "android/synchronous_compositor.cc", |
| 37 "android/synchronous_compositor.h", |
| 38 "android/synchronous_compositor_client.h", |
| 39 "appcache_service.h", |
| 40 "ax_event_notification_details.cc", |
| 41 "ax_event_notification_details.h", |
| 42 "background_sync_controller.h", |
| 43 "background_sync_parameters.cc", |
| 44 "background_sync_parameters.h", |
| 45 "background_tracing_config.cc", |
| 46 "background_tracing_config.h", |
| 47 "background_tracing_manager.h", |
| 48 "blob_handle.h", |
| 49 "bluetooth_chooser.cc", |
| 50 "bluetooth_chooser.h", |
| 51 "browser_accessibility_state.h", |
| 52 "browser_associated_interface.h", |
| 53 "browser_child_process_host.h", |
| 54 "browser_child_process_host_delegate.cc", |
| 55 "browser_child_process_host_delegate.h", |
| 56 "browser_child_process_host_iterator.cc", |
| 57 "browser_child_process_host_iterator.h", |
| 58 "browser_child_process_observer.cc", |
| 59 "browser_child_process_observer.h", |
| 60 "browser_context.h", |
| 61 "browser_ipc_logging.h", |
| 62 "browser_main_parts.cc", |
| 63 "browser_main_parts.h", |
| 64 "browser_main_runner.h", |
| 65 "browser_message_filter.cc", |
| 66 "browser_message_filter.h", |
| 67 "browser_plugin_guest_delegate.cc", |
| 68 "browser_plugin_guest_delegate.h", |
| 69 "browser_plugin_guest_manager.cc", |
| 70 "browser_plugin_guest_manager.h", |
| 71 "browser_ppapi_host.h", |
| 72 "browser_thread.h", |
| 73 "browser_thread_delegate.h", |
| 74 "browser_url_handler.h", |
| 75 "cache_storage_context.h", |
| 76 "cache_storage_usage_info.h", |
| 77 "cert_store.h", |
| 78 "certificate_request_result_type.h", |
| 79 "child_process_data.h", |
| 80 "child_process_security_policy.h", |
| 81 "client_certificate_delegate.h", |
| 82 "color_chooser.h", |
| 83 "content_browser_client.cc", |
| 84 "content_browser_client.h", |
| 85 "context_factory.h", |
| 86 "cookie_store_factory.h", |
| 87 "desktop_media_id.cc", |
| 88 "desktop_media_id.h", |
| 89 "desktop_notification_delegate.h", |
| 90 "devtools_agent_host.h", |
| 91 "devtools_agent_host_client.h", |
| 92 "devtools_external_agent_proxy.h", |
| 93 "devtools_external_agent_proxy_delegate.h", |
| 94 "devtools_frontend_host.h", |
| 95 "devtools_manager_delegate.h", |
| 96 "devtools_socket_factory.h", |
| 97 "dom_storage_context.h", |
| 98 "download_danger_type.h", |
| 99 "download_interrupt_reason_values.h", |
| 100 "download_interrupt_reasons.h", |
| 101 "download_item.h", |
| 102 "download_manager.h", |
| 103 "download_manager_delegate.cc", |
| 104 "download_manager_delegate.h", |
| 105 "download_save_info.cc", |
| 106 "download_save_info.h", |
| 107 "download_url_parameters.cc", |
| 108 "download_url_parameters.h", |
| 109 "favicon_status.cc", |
| 110 "favicon_status.h", |
| 111 "file_descriptor_info.h", |
| 112 "focused_node_details.h", |
| 113 "font_list_async.h", |
| 114 "global_request_id.h", |
| 115 "gpu_data_manager.h", |
| 116 "gpu_data_manager_observer.h", |
| 117 "gpu_service_registry.cc", |
| 118 "gpu_service_registry.h", |
| 119 "gpu_utils.cc", |
| 120 "gpu_utils.h", |
| 121 "histogram_fetcher.h", |
| 122 "host_zoom_map.h", |
| 123 "indexed_db_context.h", |
| 124 "indexed_db_info.h", |
| 125 "interstitial_page.h", |
| 126 "interstitial_page_delegate.cc", |
| 127 "interstitial_page_delegate.h", |
| 128 "invalidate_type.h", |
| 129 "javascript_dialog_manager.cc", |
| 130 "javascript_dialog_manager.h", |
| 131 "load_notification_details.h", |
| 132 "local_storage_usage_info.h", |
| 133 "media_capture_devices.h", |
| 134 "media_device_id.cc", |
| 135 "media_device_id.h", |
| 136 "memory_pressure_controller.cc", |
| 137 "memory_pressure_controller.h", |
| 138 "message_port_delegate.h", |
| 139 "message_port_provider.h", |
| 140 "native_web_keyboard_event.h", |
| 141 "navigation_controller.cc", |
| 142 "navigation_controller.h", |
| 143 "navigation_data.h", |
| 144 "navigation_details.cc", |
| 145 "navigation_details.h", |
| 146 "navigation_entry.h", |
| 147 "navigation_handle.cc", |
| 148 "navigation_handle.h", |
| 149 "navigation_throttle.cc", |
| 150 "navigation_throttle.h", |
| 151 "navigation_type.h", |
| 152 "notification_database_data.h", |
| 153 "notification_details.h", |
| 154 "notification_event_dispatcher.h", |
| 155 "notification_observer.h", |
| 156 "notification_registrar.cc", |
| 157 "notification_registrar.h", |
| 158 "notification_service.h", |
| 159 "notification_source.h", |
| 160 "notification_types.h", |
| 161 "overscroll_configuration.h", |
| 162 "page_navigator.cc", |
| 163 "page_navigator.h", |
| 164 "pepper_flash_settings_helper.h", |
| 165 "pepper_vpn_provider_resource_host_proxy.h", |
| 166 "permission_manager.h", |
| 167 "permission_type.h", |
| 168 "platform_notification_context.h", |
| 169 "platform_notification_service.h", |
| 170 "plugin_data_remover.h", |
| 171 "plugin_service.h", |
| 172 "plugin_service_filter.h", |
| 173 "presentation_screen_availability_listener.h", |
| 174 "presentation_service_delegate.h", |
| 175 "presentation_session.cc", |
| 176 "presentation_session.h", |
| 177 "presentation_session_message.cc", |
| 178 "presentation_session_message.h", |
| 179 "profiler_controller.h", |
| 180 "profiler_subscriber.h", |
| 181 "push_messaging_service.cc", |
| 182 "push_messaging_service.h", |
| 183 "quota_permission_context.h", |
| 184 "readback_types.h", |
| 185 "render_frame_host.h", |
| 186 "render_process_host.h", |
| 187 "render_process_host_factory.h", |
| 188 "render_process_host_observer.h", |
| 189 "render_view_host.h", |
| 190 "render_widget_host.h", |
| 191 "render_widget_host_view.h", |
| 192 "render_widget_host_view_frame_subscriber.h", |
| 193 "render_widget_host_view_mac_delegate.h", |
| 194 "resource_context.h", |
| 195 "resource_controller.h", |
| 196 "resource_dispatcher_host.cc", |
| 197 "resource_dispatcher_host.h", |
| 198 "resource_dispatcher_host_delegate.cc", |
| 199 "resource_dispatcher_host_delegate.h", |
| 200 "resource_dispatcher_host_login_delegate.h", |
| 201 "resource_hints.h", |
| 202 "resource_request_details.cc", |
| 203 "resource_request_details.h", |
| 204 "resource_request_info.h", |
| 205 "resource_throttle.cc", |
| 206 "resource_throttle.h", |
| 207 "save_page_type.h", |
| 208 "screen_orientation_delegate.h", |
| 209 "screen_orientation_dispatcher_host.h", |
| 210 "screen_orientation_provider.cc", |
| 211 "screen_orientation_provider.h", |
| 212 "security_style_explanation.h", |
| 213 "security_style_explanations.cc", |
| 214 "security_style_explanations.h", |
| 215 "service_worker_context.h", |
| 216 "service_worker_usage_info.cc", |
| 217 "service_worker_usage_info.h", |
| 218 "session_storage_namespace.h", |
| 219 "session_storage_usage_info.h", |
| 220 "site_instance.h", |
| 221 "speech_recognition_event_listener.h", |
| 222 "speech_recognition_manager.h", |
| 223 "speech_recognition_manager_delegate.h", |
| 224 "speech_recognition_session_config.cc", |
| 225 "speech_recognition_session_config.h", |
| 226 "speech_recognition_session_context.cc", |
| 227 "speech_recognition_session_context.h", |
| 228 "speech_recognition_session_preamble.cc", |
| 229 "speech_recognition_session_preamble.h", |
| 230 "ssl_host_state_delegate.h", |
| 231 "storage_partition.h", |
| 232 "stream_handle.h", |
| 233 "stream_info.cc", |
| 234 "stream_info.h", |
| 235 "trace_uploader.h", |
| 236 "tracing_controller.h", |
| 237 "tracing_delegate.cc", |
| 238 "tracing_delegate.h", |
| 239 "url_data_source.cc", |
| 240 "url_data_source.h", |
| 241 "user_metrics.h", |
| 242 "utility_process_host.h", |
| 243 "utility_process_mojo_client.h", |
| 244 "vpn_service_proxy.h", |
| 245 "web_contents.cc", |
| 246 "web_contents.h", |
| 247 "web_contents_delegate.cc", |
| 248 "web_contents_delegate.h", |
| 249 "web_contents_media_capture_id.cc", |
| 250 "web_contents_media_capture_id.h", |
| 251 "web_contents_observer.cc", |
| 252 "web_contents_observer.h", |
| 253 "web_contents_user_data.h", |
| 254 "web_contents_view_delegate.cc", |
| 255 "web_contents_view_delegate.h", |
| 256 "web_drag_dest_delegate.h", |
| 257 "web_ui.h", |
| 258 "web_ui_controller.cc", |
| 259 "web_ui_controller.h", |
| 260 "web_ui_controller_factory.h", |
| 261 "web_ui_data_source.h", |
| 262 "web_ui_message_handler.h", |
| 263 "worker_service.h", |
| 264 "worker_service_observer.h", |
| 265 "zoom_level_delegate.h", |
| 266 "zygote_handle_linux.h", |
| 267 "zygote_host_linux.h", |
| 268 ] |
29 configs += [ | 269 configs += [ |
30 "//build/config:precompiled_headers", | 270 "//build/config:precompiled_headers", |
31 "//build/config/compiler:wexit_time_destructors", | 271 "//build/config/compiler:wexit_time_destructors", |
32 "//content:content_implementation", | 272 "//content:content_implementation", |
33 ] | 273 ] |
34 | 274 |
35 public_deps = [ | 275 public_deps = [ |
36 "//mojo/public/cpp/bindings", | 276 "//mojo/public/cpp/bindings", |
37 "//mojo/public/cpp/system", | 277 "//mojo/public/cpp/system", |
38 "//services/shell/public/cpp", | 278 "//services/shell/public/cpp", |
(...skipping 28 matching lines...) Expand all Loading... |
67 | 307 |
68 if (is_android) { | 308 if (is_android) { |
69 deps += [ "//ui/android" ] | 309 deps += [ "//ui/android" ] |
70 } | 310 } |
71 | 311 |
72 if (use_aura) { | 312 if (use_aura) { |
73 sources -= [ "context_factory.h" ] | 313 sources -= [ "context_factory.h" ] |
74 deps += [ "//ui/aura" ] | 314 deps += [ "//ui/aura" ] |
75 } | 315 } |
76 } | 316 } |
OLD | NEW |