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("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//build/config/ui.gni") | 6 import("//build/config/ui.gni") |
7 import("//content/browser/browser.gni") | 7 import("//content/browser/browser.gni") |
8 import("//media/media_options.gni") | 8 import("//media/media_options.gni") |
9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") | 9 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") |
10 | 10 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 "//content/browser/devtools:resources", | 56 "//content/browser/devtools:resources", |
57 "//content/browser/notifications:notification_proto", | 57 "//content/browser/notifications:notification_proto", |
58 "//content/browser/service_worker:service_worker_proto", | 58 "//content/browser/service_worker:service_worker_proto", |
59 "//content/browser/speech/proto", | 59 "//content/browser/speech/proto", |
60 "//content/common", | 60 "//content/common", |
61 "//content/public/common:common_sources", | 61 "//content/public/common:common_sources", |
62 "//crypto", | 62 "//crypto", |
63 "//device/battery", | 63 "//device/battery", |
64 "//device/bluetooth", | 64 "//device/bluetooth", |
65 "//device/gamepad", | 65 "//device/gamepad", |
| 66 "//device/geolocation:device_geolocation", |
66 "//device/power_save_blocker", | 67 "//device/power_save_blocker", |
67 "//device/vibration", | 68 "//device/vibration", |
68 "//gin", | 69 "//gin", |
69 "//google_apis", | 70 "//google_apis", |
70 "//gpu", | 71 "//gpu", |
71 "//gpu/command_buffer/client:gles2_implementation", | 72 "//gpu/command_buffer/client:gles2_implementation", |
72 "//gpu/command_buffer/client:gles2_interface", | 73 "//gpu/command_buffer/client:gles2_interface", |
73 "//media", | 74 "//media", |
74 "//media/capture", | 75 "//media/capture", |
75 "//media/gpu/ipc/client", | 76 "//media/gpu/ipc/client", |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 "media/capture/desktop_capture_device_aura.cc", | 205 "media/capture/desktop_capture_device_aura.cc", |
205 "media/capture/desktop_capture_device_aura.h", | 206 "media/capture/desktop_capture_device_aura.h", |
206 ] | 207 ] |
207 } | 208 } |
208 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] | 209 defines += [ "ENABLE_SCREEN_CAPTURE=1" ] |
209 deps += [ "//third_party/webrtc/modules/desktop_capture" ] | 210 deps += [ "//third_party/webrtc/modules/desktop_capture" ] |
210 } | 211 } |
211 } | 212 } |
212 | 213 |
213 if (is_win) { | 214 if (is_win) { |
214 sources -= [ | 215 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
215 "device_sensors/data_fetcher_shared_memory_default.cc", | |
216 "geolocation/empty_wifi_data_provider.cc", | |
217 ] | |
218 defines += [ | 216 defines += [ |
219 # This prevents the inclusion of atlhost.h which paired | 217 # This prevents the inclusion of atlhost.h which paired |
220 # with the windows 8 sdk it does the wrong thing. | 218 # with the windows 8 sdk it does the wrong thing. |
221 "__ATLHOST_H__", | 219 "__ATLHOST_H__", |
222 ] | 220 ] |
223 deps += [ | 221 deps += [ |
224 "//third_party/iaccessible2", | 222 "//third_party/iaccessible2", |
225 "//third_party/isimpledom", | 223 "//third_party/isimpledom", |
226 ] | 224 ] |
227 libs += [ | 225 libs += [ |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 | 284 |
287 if (is_linux && use_aura) { | 285 if (is_linux && use_aura) { |
288 deps += [ "//build/linux:fontconfig" ] | 286 deps += [ "//build/linux:fontconfig" ] |
289 } | 287 } |
290 | 288 |
291 if (use_x11) { | 289 if (use_x11) { |
292 configs += [ "//build/config/linux:x11" ] | 290 configs += [ "//build/config/linux:x11" ] |
293 deps += [ "//ui/gfx/x" ] | 291 deps += [ "//ui/gfx/x" ] |
294 } | 292 } |
295 | 293 |
296 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given | |
297 # android, chromeos, linux and use_dbus. | |
298 if (is_android) { | |
299 sources -= [ "geolocation/wifi_data_provider_common.cc" ] | |
300 } | |
301 if (is_chromeos || (is_linux && !use_dbus)) { | |
302 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] | |
303 } | |
304 if (is_linux && use_dbus) { | |
305 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] | |
306 } | |
307 | |
308 if (use_pango) { | 294 if (use_pango) { |
309 configs += [ "//build/config/linux/pangocairo" ] | 295 configs += [ "//build/config/linux/pangocairo" ] |
310 } | 296 } |
311 | 297 |
312 if (is_android) { | 298 if (is_android) { |
313 sources += rebase_path(content_browser_gypi_values.android_browser_sources, | 299 sources += rebase_path(content_browser_gypi_values.android_browser_sources, |
314 ".", | 300 ".", |
315 "//content") | 301 "//content") |
316 sources -= [ | 302 sources -= [ |
317 "browser_ipc_logging.cc", | 303 "browser_ipc_logging.cc", |
318 "device_sensors/data_fetcher_shared_memory_default.cc", | 304 "device_sensors/data_fetcher_shared_memory_default.cc", |
319 "geolocation/network_location_provider.cc", | |
320 "geolocation/network_location_provider.h", | |
321 "geolocation/network_location_request.cc", | |
322 "geolocation/network_location_request.h", | |
323 "media/session/media_session_delegate_default.cc", | 305 "media/session/media_session_delegate_default.cc", |
324 "power_usage_monitor_impl.cc", | 306 "power_usage_monitor_impl.cc", |
325 "power_usage_monitor_impl.h", | 307 "power_usage_monitor_impl.h", |
326 "tracing/tracing_ui.cc", | 308 "tracing/tracing_ui.cc", |
327 "tracing/tracing_ui.h", | 309 "tracing/tracing_ui.h", |
328 | 310 |
329 # Android skips most, but not all, of the speech code. | 311 # Android skips most, but not all, of the speech code. |
330 "speech/audio_buffer.cc", | 312 "speech/audio_buffer.cc", |
331 "speech/audio_buffer.h", | 313 "speech/audio_buffer.h", |
332 "speech/audio_encoder.cc", | 314 "speech/audio_encoder.cc", |
(...skipping 19 matching lines...) Expand all Loading... |
352 "//media/capture/video/android", | 334 "//media/capture/video/android", |
353 "//media/mojo/interfaces", | 335 "//media/mojo/interfaces", |
354 "//mojo/android:libsystem_java", | 336 "//mojo/android:libsystem_java", |
355 "//ui/android", | 337 "//ui/android", |
356 ] | 338 ] |
357 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] | 339 defines += [ "APPCACHE_USE_SIMPLE_CACHE" ] |
358 libs += [ "jnigraphics" ] | 340 libs += [ "jnigraphics" ] |
359 } | 341 } |
360 | 342 |
361 if (is_mac) { | 343 if (is_mac) { |
362 sources -= [ | 344 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
363 "device_sensors/data_fetcher_shared_memory_default.cc", | |
364 "geolocation/empty_wifi_data_provider.cc", | |
365 "geolocation/empty_wifi_data_provider.h", | |
366 ] | |
367 deps += [ | 345 deps += [ |
368 "//media", | 346 "//media", |
369 "//sandbox/mac:sandbox", | 347 "//sandbox/mac:sandbox", |
370 "//third_party/mozilla", | 348 "//third_party/mozilla", |
371 "//third_party/sudden_motion_sensor", | 349 "//third_party/sudden_motion_sensor", |
372 "//ui/accelerated_widget_mac", | 350 "//ui/accelerated_widget_mac", |
373 ] | 351 ] |
374 libs += [ | 352 libs += [ |
375 "Carbon.framework", | 353 "Carbon.framework", |
376 "QuartzCore.framework", | 354 "QuartzCore.framework", |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
528 if (!is_component_build) { | 506 if (!is_component_build) { |
529 public_deps = [ | 507 public_deps = [ |
530 ":browser", | 508 ":browser", |
531 ] | 509 ] |
532 } else { | 510 } else { |
533 public_deps = [ | 511 public_deps = [ |
534 "//third_party/leveldatabase", | 512 "//third_party/leveldatabase", |
535 ] | 513 ] |
536 } | 514 } |
537 } | 515 } |
OLD | NEW |