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