| 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/crypto.gni") | 5 import("//build/config/crypto.gni") |
| 6 import("//build/config/features.gni") | 6 import("//build/config/features.gni") |
| 7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
| 8 import("//content/browser/browser.gni") | 8 import("//content/browser/browser.gni") |
| 9 import("//media/media_options.gni") | 9 import("//media/media_options.gni") |
| 10 | 10 |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 } | 302 } |
| 303 | 303 |
| 304 if (use_x11) { | 304 if (use_x11) { |
| 305 configs += [ "//build/config/linux:x11" ] | 305 configs += [ "//build/config/linux:x11" ] |
| 306 deps += [ "//ui/gfx/x" ] | 306 deps += [ "//ui/gfx/x" ] |
| 307 } | 307 } |
| 308 | 308 |
| 309 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated | 309 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated |
| 310 # given the interaction between os_chromeos and the feature flags for X11 and | 310 # given the interaction between os_chromeos and the feature flags for X11 and |
| 311 # ozone, so do it all in one spot. | 311 # ozone, so do it all in one spot. |
| 312 if (is_chromeos || !use_ozone) { | 312 if (use_cros_fe || !use_ozone) { |
| 313 sources -= [ "power_save_blocker_ozone.cc" ] | 313 sources -= [ "power_save_blocker_ozone.cc" ] |
| 314 } | 314 } |
| 315 if (is_chromeos || !use_x11) { | 315 if (use_cros_fe || !use_x11) { |
| 316 sources -= [ "power_save_blocker_x11.cc" ] | 316 sources -= [ "power_save_blocker_x11.cc" ] |
| 317 } | 317 } |
| 318 | 318 |
| 319 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given | 319 # Dealing with *wifi_data_provider_*.cc is also a bit complicated given |
| 320 # android, chromeos, linux and use_dbus. | 320 # android, chromeos, linux and use_dbus. |
| 321 if (is_android) { | 321 if (is_android) { |
| 322 sources -= [ "geolocation/wifi_data_provider_common.cc" ] | 322 sources -= [ "geolocation/wifi_data_provider_common.cc" ] |
| 323 } | 323 } |
| 324 if (is_chromeos || (is_linux && !use_dbus)) { | 324 if (use_cros_fe || (is_linux && !use_dbus)) { |
| 325 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] | 325 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] |
| 326 } | 326 } |
| 327 if (is_linux && use_dbus) { | 327 if (is_linux && use_dbus) { |
| 328 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] | 328 sources -= [ "geolocation/empty_wifi_data_provider.cc" ] |
| 329 } | 329 } |
| 330 | 330 |
| 331 if (use_pango) { | 331 if (use_pango) { |
| 332 configs += [ "//build/config/linux:pangocairo" ] | 332 configs += [ "//build/config/linux:pangocairo" ] |
| 333 } | 333 } |
| 334 | 334 |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 389 "//third_party/mozilla", | 389 "//third_party/mozilla", |
| 390 "//third_party/sudden_motion_sensor", | 390 "//third_party/sudden_motion_sensor", |
| 391 "//ui/accelerated_widget_mac", | 391 "//ui/accelerated_widget_mac", |
| 392 ] | 392 ] |
| 393 libs += [ | 393 libs += [ |
| 394 "bsm", | 394 "bsm", |
| 395 "QTKit.framework", | 395 "QTKit.framework", |
| 396 ] | 396 ] |
| 397 } | 397 } |
| 398 | 398 |
| 399 if (is_chromeos) { | 399 if (use_cros_fe) { |
| 400 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] | 400 sources -= [ "device_sensors/data_fetcher_shared_memory_default.cc" ] |
| 401 deps += [ | 401 deps += [ |
| 402 "//chromeos", | 402 "//chromeos", |
| 403 "//chromeos:power_manager_proto", | 403 "//chromeos:power_manager_proto", |
| 404 ] | 404 ] |
| 405 } | 405 } |
| 406 | 406 |
| 407 if (use_aura) { | 407 if (use_aura) { |
| 408 deps += [ | 408 deps += [ |
| 409 "//ui/aura", | 409 "//ui/aura", |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 499 if (enable_webvr) { | 499 if (enable_webvr) { |
| 500 sources += [ | 500 sources += [ |
| 501 "vr/vr_device.cc", | 501 "vr/vr_device.cc", |
| 502 "vr/vr_device.h", | 502 "vr/vr_device.h", |
| 503 "vr/vr_device_manager.cc", | 503 "vr/vr_device_manager.cc", |
| 504 "vr/vr_device_manager.h", | 504 "vr/vr_device_manager.h", |
| 505 "vr/vr_device_provider.h", | 505 "vr/vr_device_provider.h", |
| 506 ] | 506 ] |
| 507 } | 507 } |
| 508 } | 508 } |
| OLD | NEW |