| 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 } |
| 11 if (use_ozone) { |
| 12 import("//ui/ozone/ozone.gni") |
| 13 } |
| 11 | 14 |
| 12 # Several targets want to include this header file, and some of them are | 15 # Several targets want to include this header file, and some of them are |
| 13 # child dependencies of "gfx". Therefore, we separate it out here so multiple | 16 # child dependencies of "gfx". Therefore, we separate it out here so multiple |
| 14 # targets can all have a dependency for header checking purposes without | 17 # targets can all have a dependency for header checking purposes without |
| 15 # creating circular dependencies. | 18 # creating circular dependencies. |
| 16 source_set("gfx_export") { | 19 source_set("gfx_export") { |
| 17 sources = [ | 20 sources = [ |
| 18 "gfx_export.h", | 21 "gfx_export.h", |
| 19 ] | 22 ] |
| 20 } | 23 } |
| (...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 sources -= [ | 332 sources -= [ |
| 330 "ozone/impl/file_surface_factory.cc", | 333 "ozone/impl/file_surface_factory.cc", |
| 331 "ozone/impl/file_surface_factory.h", | 334 "ozone/impl/file_surface_factory.h", |
| 332 "ozone/surface_factory_ozone.cc", | 335 "ozone/surface_factory_ozone.cc", |
| 333 "ozone/surface_factory_ozone.h", | 336 "ozone/surface_factory_ozone.h", |
| 334 "ozone/surface_ozone.h", | 337 "ozone/surface_ozone.h", |
| 335 "ozone/overlay_candidates_ozone.cc", | 338 "ozone/overlay_candidates_ozone.cc", |
| 336 "ozone/overlay_candidates_ozone.h", | 339 "ozone/overlay_candidates_ozone.h", |
| 337 ] | 340 ] |
| 338 } | 341 } |
| 339 if (ozone_platform_dri) { | 342 if (use_ozone && ozone_platform_dri) { |
| 340 configs += [ "//build/config/linux:dridrm" ] | 343 configs += [ "//build/config/linux:dridrm" ] |
| 341 } else { | 344 } else { |
| 342 sources -= [ | 345 sources -= [ |
| 343 "ozone/dri/dri_skbitmap.cc", | 346 "ozone/dri/dri_skbitmap.cc", |
| 344 "ozone/dri/dri_skbitmap.h", | 347 "ozone/dri/dri_skbitmap.h", |
| 345 "ozone/dri/dri_surface.cc", | 348 "ozone/dri/dri_surface.cc", |
| 346 "ozone/dri/dri_surface.h", | 349 "ozone/dri/dri_surface.h", |
| 347 "ozone/dri/dri_surface_factory.cc", | 350 "ozone/dri/dri_surface_factory.cc", |
| 348 "ozone/dri/dri_surface_factory.h", | 351 "ozone/dri/dri_surface_factory.h", |
| 349 "ozone/dri/dri_vsync_provider.cc", | 352 "ozone/dri/dri_vsync_provider.cc", |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 ] | 523 ] |
| 521 | 524 |
| 522 configs += [ "//build/config/linux:x11" ] | 525 configs += [ "//build/config/linux:x11" ] |
| 523 | 526 |
| 524 deps = [ | 527 deps = [ |
| 525 ":gfx_export", | 528 ":gfx_export", |
| 526 "//base" | 529 "//base" |
| 527 ] | 530 ] |
| 528 } | 531 } |
| 529 } | 532 } |
| OLD | NEW |