| 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 "platform_font_ozone.cc", | 317 "platform_font_ozone.cc", |
| 318 "ozone/impl/file_surface_factory.cc", | 318 "ozone/impl/file_surface_factory.cc", |
| 319 "ozone/impl/file_surface_factory.h", | 319 "ozone/impl/file_surface_factory.h", |
| 320 "ozone/surface_factory_ozone.cc", | 320 "ozone/surface_factory_ozone.cc", |
| 321 "ozone/surface_factory_ozone.h", | 321 "ozone/surface_factory_ozone.h", |
| 322 "ozone/surface_ozone.h", | 322 "ozone/surface_ozone.h", |
| 323 "ozone/overlay_candidates_ozone.cc", | 323 "ozone/overlay_candidates_ozone.cc", |
| 324 "ozone/overlay_candidates_ozone.h", | 324 "ozone/overlay_candidates_ozone.h", |
| 325 ] | 325 ] |
| 326 } | 326 } |
| 327 if (use_ozone && ozone_platform_dri) { | |
| 328 sources += [ | |
| 329 "ozone/dri/dri_skbitmap.cc", | |
| 330 "ozone/dri/dri_skbitmap.h", | |
| 331 "ozone/dri/dri_surface.cc", | |
| 332 "ozone/dri/dri_surface.h", | |
| 333 "ozone/dri/dri_surface_factory.cc", | |
| 334 "ozone/dri/dri_surface_factory.h", | |
| 335 "ozone/dri/dri_vsync_provider.cc", | |
| 336 "ozone/dri/dri_vsync_provider.h", | |
| 337 "ozone/dri/dri_wrapper.cc", | |
| 338 "ozone/dri/dri_wrapper.h", | |
| 339 "ozone/dri/hardware_display_controller.cc", | |
| 340 "ozone/dri/hardware_display_controller.h", | |
| 341 ] | |
| 342 configs += [ "//build/config/linux:dridrm" ] | |
| 343 } | |
| 344 | 327 |
| 345 if (!use_aura) { | 328 if (!use_aura) { |
| 346 sources -= [ | 329 sources -= [ |
| 347 "nine_image_painter.cc", | 330 "nine_image_painter.cc", |
| 348 "nine_image_painter.h", | 331 "nine_image_painter.h", |
| 349 "path_aura.cc", | 332 "path_aura.cc", |
| 350 "screen_aura.cc", | 333 "screen_aura.cc", |
| 351 ] | 334 ] |
| 352 } | 335 } |
| 353 | 336 |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 | 436 |
| 454 defines = [ "GFX_IMPLEMENTATION" ] | 437 defines = [ "GFX_IMPLEMENTATION" ] |
| 455 configs += [ "//build/config/linux:x11" ] | 438 configs += [ "//build/config/linux:x11" ] |
| 456 | 439 |
| 457 deps = [ | 440 deps = [ |
| 458 ":gfx_export", | 441 ":gfx_export", |
| 459 "//base" | 442 "//base" |
| 460 ] | 443 ] |
| 461 } | 444 } |
| 462 } | 445 } |
| OLD | NEW |