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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 sources -= [ "renderer_host/pepper/pepper_truetype_font_list_pango.cc" ] | 256 sources -= [ "renderer_host/pepper/pepper_truetype_font_list_pango.cc" ] |
257 } | 257 } |
258 } | 258 } |
259 | 259 |
260 if (is_linux && use_aura) { | 260 if (is_linux && use_aura) { |
261 configs += [ "//build/config/linux:fontconfig" ] | 261 configs += [ "//build/config/linux:fontconfig" ] |
262 } | 262 } |
263 | 263 |
264 if (use_x11) { | 264 if (use_x11) { |
265 configs += [ "//build/config/linux:x11" ] | 265 configs += [ "//build/config/linux:x11" ] |
| 266 deps += [ "//ui/gfx/x" ] |
266 } | 267 } |
267 | 268 |
268 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated | 269 # Dealing with power_save_blocker_{x11,ozone}.cc is a little complicated |
269 # given the interaction between os_chromeos and the feature flags for X11 and | 270 # given the interaction between os_chromeos and the feature flags for X11 and |
270 # ozone, so do it all in one spot. | 271 # ozone, so do it all in one spot. |
271 if (is_chromeos || !use_ozone) { | 272 if (is_chromeos || !use_ozone) { |
272 sources -= [ "power_save_blocker_ozone.cc" ] | 273 sources -= [ "power_save_blocker_ozone.cc" ] |
273 } | 274 } |
274 if (is_chromeos || !use_x11) { | 275 if (is_chromeos || !use_x11) { |
275 sources -= [ "power_save_blocker_x11.cc" ] | 276 sources -= [ "power_save_blocker_x11.cc" ] |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 "media/cdm/browser_cdm_manager.h", | 435 "media/cdm/browser_cdm_manager.h", |
435 "media/media_web_contents_observer.cc", | 436 "media/media_web_contents_observer.cc", |
436 "media/media_web_contents_observer.h", | 437 "media/media_web_contents_observer.h", |
437 ] | 438 ] |
438 } | 439 } |
439 | 440 |
440 if (is_linux && use_openssl) { | 441 if (is_linux && use_openssl) { |
441 deps += [ "//third_party/boringssl" ] | 442 deps += [ "//third_party/boringssl" ] |
442 } | 443 } |
443 } | 444 } |
OLD | NEW |