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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 if (is_android) { | 8 if (is_android) { |
9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
320 ] | 320 ] |
321 } | 321 } |
322 | 322 |
323 # Linux. | 323 # Linux. |
324 if (is_linux) { | 324 if (is_linux) { |
325 configs += [ "//build/config/linux:fontconfig" ] | 325 configs += [ "//build/config/linux:fontconfig" ] |
326 } | 326 } |
327 | 327 |
328 if (!use_aura) { | 328 if (!use_aura) { |
329 sources -= [ | 329 sources -= [ |
330 "nine_image_painter.cc", | |
331 "nine_image_painter.h", | |
332 "path_aura.cc", | 330 "path_aura.cc", |
333 "screen_aura.cc", | 331 "screen_aura.cc", |
334 ] | 332 ] |
| 333 if (!toolkit_views) { |
| 334 sources -= [ |
| 335 "nine_image_painter.cc", |
| 336 "nine_image_painter.h", |
| 337 ] |
| 338 } |
335 } | 339 } |
336 | 340 |
337 if (use_x11) { | 341 if (use_x11) { |
338 deps += [ "//ui/gfx/x" ] | 342 deps += [ "//ui/gfx/x" ] |
339 configs += [ "//build/config/linux:x11" ] | 343 configs += [ "//build/config/linux:x11" ] |
340 } else { | 344 } else { |
341 sources -= [ "path_x11.cc" ] | 345 sources -= [ "path_x11.cc" ] |
342 } | 346 } |
343 | 347 |
344 if (use_cairo) { | 348 if (use_cairo) { |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
524 if (is_android) { | 528 if (is_android) { |
525 generate_jni("gfx_jni_headers") { | 529 generate_jni("gfx_jni_headers") { |
526 sources = [ | 530 sources = [ |
527 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 531 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
528 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 532 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
529 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 533 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
530 ] | 534 ] |
531 jni_package = "gfx" | 535 jni_package = "gfx" |
532 } | 536 } |
533 } | 537 } |
OLD | NEW |