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