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