Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1023)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 285103002: Add GN build for parts of gpu and ozone. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 if (use_ozone) {
10 import("//ui/ozone/ozone.gni")
11 }
9 12
10 # Several targets want to include this header file, and some of them are 13 # Several targets want to include this header file, and some of them are
11 # child dependencies of "gfx". Therefore, we separate it out here so multiple 14 # child dependencies of "gfx". Therefore, we separate it out here so multiple
12 # targets can all have a dependency for header checking purposes without 15 # targets can all have a dependency for header checking purposes without
13 # creating circular dependencies. 16 # creating circular dependencies.
14 source_set("gfx_export") { 17 source_set("gfx_export") {
15 sources = [ 18 sources = [
16 "gfx_export.h", 19 "gfx_export.h",
17 ] 20 ]
18 } 21 }
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 sources -= [ 330 sources -= [
328 "ozone/impl/file_surface_factory.cc", 331 "ozone/impl/file_surface_factory.cc",
329 "ozone/impl/file_surface_factory.h", 332 "ozone/impl/file_surface_factory.h",
330 "ozone/surface_factory_ozone.cc", 333 "ozone/surface_factory_ozone.cc",
331 "ozone/surface_factory_ozone.h", 334 "ozone/surface_factory_ozone.h",
332 "ozone/surface_ozone.h", 335 "ozone/surface_ozone.h",
333 "ozone/overlay_candidates_ozone.cc", 336 "ozone/overlay_candidates_ozone.cc",
334 "ozone/overlay_candidates_ozone.h", 337 "ozone/overlay_candidates_ozone.h",
335 ] 338 ]
336 } 339 }
337 if (ozone_platform_dri) { 340 if (use_ozone && ozone_platform_dri) {
338 configs += [ "//build/config/linux:dridrm" ] 341 configs += [ "//build/config/linux:dridrm" ]
spang 2014/05/14 19:03:06 We've moved the DRI code to ui/ozone. This dep wil
339 } else { 342 } else {
340 sources -= [ 343 sources -= [
341 "ozone/dri/dri_skbitmap.cc", 344 "ozone/dri/dri_skbitmap.cc",
342 "ozone/dri/dri_skbitmap.h", 345 "ozone/dri/dri_skbitmap.h",
343 "ozone/dri/dri_surface.cc", 346 "ozone/dri/dri_surface.cc",
344 "ozone/dri/dri_surface.h", 347 "ozone/dri/dri_surface.h",
345 "ozone/dri/dri_surface_factory.cc", 348 "ozone/dri/dri_surface_factory.cc",
346 "ozone/dri/dri_surface_factory.h", 349 "ozone/dri/dri_surface_factory.h",
347 "ozone/dri/dri_vsync_provider.cc", 350 "ozone/dri/dri_vsync_provider.cc",
348 "ozone/dri/dri_vsync_provider.h", 351 "ozone/dri/dri_vsync_provider.h",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 ] 514 ]
512 515
513 configs += [ "//build/config/linux:x11" ] 516 configs += [ "//build/config/linux:x11" ]
514 517
515 deps = [ 518 deps = [
516 ":gfx_export", 519 ":gfx_export",
517 "//base" 520 "//base"
518 ] 521 ]
519 } 522 }
520 } 523 }
OLDNEW
« no previous file with comments | « tools/gn/builder.cc ('k') | ui/gfx/ozone/BUILD.gn » ('j') | ui/ozone/ozone.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698