| 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 if (is_android) { | 6 if (is_android) { |
| 7 import("//build/config/android/config.gni") | 7 import("//build/config/android/config.gni") |
| 8 } | 8 } |
| 9 | 9 |
| 10 component("gfx") { | 10 component("gfx") { |
| (...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 "ozone/dri/dri_wrapper.h", | 340 "ozone/dri/dri_wrapper.h", |
| 341 "ozone/dri/hardware_display_controller.cc", | 341 "ozone/dri/hardware_display_controller.cc", |
| 342 "ozone/dri/hardware_display_controller.h", | 342 "ozone/dri/hardware_display_controller.h", |
| 343 ] | 343 ] |
| 344 } | 344 } |
| 345 | 345 |
| 346 if (!use_aura) { | 346 if (!use_aura) { |
| 347 sources -= [ | 347 sources -= [ |
| 348 "nine_image_painter.cc", | 348 "nine_image_painter.cc", |
| 349 "nine_image_painter.h", | 349 "nine_image_painter.h", |
| 350 "path_aura.cc", |
| 350 ] | 351 ] |
| 351 } | 352 } |
| 353 |
| 352 if (use_x11) { | 354 if (use_x11) { |
| 353 deps += [ | 355 deps += [ |
| 354 ":gfx_x11", | 356 ":gfx_x11", |
| 355 ] | 357 ] |
| 358 } else { |
| 359 sources -= [ |
| 360 "path_x11.cc", |
| 361 ] |
| 356 } | 362 } |
| 363 |
| 357 if (use_pango) { | 364 if (use_pango) { |
| 358 sources -= [ | 365 sources -= [ |
| 359 "platform_font_ozone.cc", | 366 "platform_font_ozone.cc", |
| 360 "render_text_ozone.cc", | 367 "render_text_ozone.cc", |
| 361 ] | 368 ] |
| 362 configs += [ "//build/config/linux:pangocairo" ] | 369 configs += [ "//build/config/linux:pangocairo" ] |
| 363 } else { | 370 } else { |
| 364 sources -= [ | 371 sources -= [ |
| 365 "pango_util.cc", | 372 "pango_util.cc", |
| 366 "pango_util.h", | 373 "pango_util.h", |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 "x/x11_atom_cache.h", | 440 "x/x11_atom_cache.h", |
| 434 "x/x11_error_tracker.cc", | 441 "x/x11_error_tracker.cc", |
| 435 "x/x11_error_tracker.h", | 442 "x/x11_error_tracker.h", |
| 436 "x/x11_types.cc", | 443 "x/x11_types.cc", |
| 437 "x/x11_types.h", | 444 "x/x11_types.h", |
| 438 ] | 445 ] |
| 439 | 446 |
| 440 configs += [ "//build/config/linux:x11" ] | 447 configs += [ "//build/config/linux:x11" ] |
| 441 } | 448 } |
| 442 } | 449 } |
| OLD | NEW |