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/ui.gni") | 5 import("//build/config/ui.gni") |
6 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 "nine_image_painter.h", | 338 "nine_image_painter.h", |
339 "path_aura.cc", | 339 "path_aura.cc", |
340 "screen_aura.cc", | 340 "screen_aura.cc", |
341 ] | 341 ] |
342 } | 342 } |
343 | 343 |
344 if (use_x11) { | 344 if (use_x11) { |
345 deps += [ | 345 deps += [ |
346 "//ui/gfx/x", | 346 "//ui/gfx/x", |
347 ] | 347 ] |
| 348 configs += [ |
| 349 "//build/config/linux:x11", |
| 350 ] |
348 } else { | 351 } else { |
349 sources -= [ | 352 sources -= [ |
350 "path_x11.cc", | 353 "path_x11.cc", |
351 ] | 354 ] |
352 } | 355 } |
353 | 356 |
354 if (use_pango) { | 357 if (use_pango) { |
355 sources += [ | 358 sources += [ |
356 "pango_util.cc", | 359 "pango_util.cc", |
357 "pango_util.h", | 360 "pango_util.h", |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 if (is_android) { | 566 if (is_android) { |
564 generate_jni("gfx_jni_headers") { | 567 generate_jni("gfx_jni_headers") { |
565 sources = [ | 568 sources = [ |
566 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 569 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
567 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 570 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
568 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 571 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
569 ] | 572 ] |
570 jni_package = "gfx" | 573 jni_package = "gfx" |
571 } | 574 } |
572 } | 575 } |
OLD | NEW |