| 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 | 8 |
| 9 config("storage_config") { | 9 config("storage_config") { |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 if (use_aura || is_mac) { | 372 if (use_aura || is_mac) { |
| 373 sources += rebase_path( | 373 sources += rebase_path( |
| 374 content_browser_gypi_values.compositor_browser_sources, | 374 content_browser_gypi_values.compositor_browser_sources, |
| 375 ".", "//content") | 375 ".", "//content") |
| 376 if (!use_x11) { | 376 if (!use_x11) { |
| 377 sources -= [ | 377 sources -= [ |
| 378 "compositor/software_output_device_x11.cc", | 378 "compositor/software_output_device_x11.cc", |
| 379 "compositor/software_output_device_x11.h", | 379 "compositor/software_output_device_x11.h", |
| 380 ] | 380 ] |
| 381 } | 381 } |
| 382 |
| 383 if (!use_ozone) { |
| 384 sources -= [ |
| 385 "compositor/overlay_candidate_validator_ozone.cc", |
| 386 "compositor/overlay_candidate_validator_ozone.h", |
| 387 "compositor/software_output_device_ozone.cc", |
| 388 "compositor/software_output_device_ozone.h", |
| 389 ] |
| 390 } |
| 382 deps += [ "//ui/compositor" ] | 391 deps += [ "//ui/compositor" ] |
| 383 } | 392 } |
| 384 | 393 |
| 385 if (!use_ozone) { | |
| 386 sources -= [ | |
| 387 "compositor/overlay_candidate_validator_ozone.cc", | |
| 388 "compositor/overlay_candidate_validator_ozone.h", | |
| 389 "compositor/software_output_device_ozone.cc", | |
| 390 "compositor/software_output_device_ozone.h", | |
| 391 ] | |
| 392 } | |
| 393 | |
| 394 if (enable_web_speech) { | 394 if (enable_web_speech) { |
| 395 deps += [ | 395 deps += [ |
| 396 "//third_party/flac", | 396 "//third_party/flac", |
| 397 "//third_party/speex", | 397 "//third_party/speex", |
| 398 ] | 398 ] |
| 399 } | 399 } |
| 400 | 400 |
| 401 if (is_linux) { | 401 if (is_linux) { |
| 402 if (use_dbus) { | 402 if (use_dbus) { |
| 403 sources -= [ | 403 sources -= [ |
| 404 "geolocation/empty_wifi_data_provider.cc", | 404 "geolocation/empty_wifi_data_provider.cc", |
| 405 ] | 405 ] |
| 406 deps += [ "//dbus" ] | 406 deps += [ "//dbus" ] |
| 407 } else { | 407 } else { |
| 408 # This will already have gotten removed for all non-Linux cases. | 408 # This will already have gotten removed for all non-Linux cases. |
| 409 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] | 409 sources -= [ "geolocation/wifi_data_provider_linux.cc" ] |
| 410 } | 410 } |
| 411 } | 411 } |
| 412 } | 412 } |
| OLD | NEW |