| 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 source_set("browser") { | 9 source_set("browser") { |
| 10 # Only the public target should depend on this. All other targets (even | 10 # Only the public target should depend on this. All other targets (even |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 sources -= [ "renderer_host/pepper/pepper_truetype_font_list_pango.cc" ] | 242 sources -= [ "renderer_host/pepper/pepper_truetype_font_list_pango.cc" ] |
| 243 } | 243 } |
| 244 } | 244 } |
| 245 | 245 |
| 246 if (is_linux && use_aura) { | 246 if (is_linux && use_aura) { |
| 247 configs += [ "//build/config/linux:fontconfig" ] | 247 configs += [ "//build/config/linux:fontconfig" ] |
| 248 } | 248 } |
| 249 | 249 |
| 250 if (use_x11) { | 250 if (use_x11) { |
| 251 configs += [ "//build/config/linux:x11" ] | 251 configs += [ "//build/config/linux:x11" ] |
| 252 } else { | |
| 253 sources -= [ "renderer_host/web_input_event_aurax11.cc" ] | |
| 254 } | 252 } |
| 255 | 253 |
| 256 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated | 254 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated |
| 257 # given the interaction between os_chromeos and the feature flags for X11 and | 255 # given the interaction between os_chromeos and the feature flags for X11 and |
| 258 # ozone, so do it all in one spot. | 256 # ozone, so do it all in one spot. |
| 259 if (is_chromeos || !use_ozone) { | 257 if (is_chromeos || !use_ozone) { |
| 260 sources -= [ "power_save_blocker_ozone.cc", ] | 258 sources -= [ "power_save_blocker_ozone.cc", ] |
| 261 } | 259 } |
| 262 if (is_chromeos || !use_x11) { | 260 if (is_chromeos || !use_x11) { |
| 263 sources -= [ "power_save_blocker_x11.cc", ] | 261 sources -= [ "power_save_blocker_x11.cc", ] |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 404 deps += [ | 402 deps += [ |
| 405 "//third_party/flac", | 403 "//third_party/flac", |
| 406 "//third_party/speex", | 404 "//third_party/speex", |
| 407 ] | 405 ] |
| 408 } | 406 } |
| 409 | 407 |
| 410 if (is_linux && use_dbus) { | 408 if (is_linux && use_dbus) { |
| 411 deps += [ "//dbus" ] | 409 deps += [ "//dbus" ] |
| 412 } | 410 } |
| 413 } | 411 } |
| OLD | NEW |