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

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

Issue 409163004: ozone: Fix GN build for ozone_egl_demo, ozone_unittests (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove media/BUILD.gn diffs Created 6 years, 5 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
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 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 }
14 11
15 # Several targets want to include this header file, and some of them are 12 # Several targets want to include this header file, and some of them are
16 # child dependencies of "gfx". Therefore, we separate it out here so multiple 13 # child dependencies of "gfx". Therefore, we separate it out here so multiple
17 # targets can all have a dependency for header checking purposes without 14 # targets can all have a dependency for header checking purposes without
18 # creating circular dependencies. 15 # creating circular dependencies.
19 source_set("gfx_export") { 16 source_set("gfx_export") {
20 sources = [ 17 sources = [
21 "gfx_export.h", 18 "gfx_export.h",
22 ] 19 ]
23 } 20 }
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 311
315 # Linux. 312 # Linux.
316 if (is_linux) { 313 if (is_linux) {
317 configs += [ "//build/config/linux:fontconfig" ] 314 configs += [ "//build/config/linux:fontconfig" ]
318 } 315 }
319 316
320 # Ozone stuff. 317 # Ozone stuff.
321 if (use_ozone) { 318 if (use_ozone) {
322 sources += [ 319 sources += [
323 "platform_font_ozone.cc", 320 "platform_font_ozone.cc",
324 "ozone/impl/file_surface_factory.cc",
325 "ozone/impl/file_surface_factory.h",
326 "ozone/surface_factory_ozone.cc",
327 "ozone/surface_factory_ozone.h",
328 "ozone/surface_ozone.h",
329 "ozone/overlay_candidates_ozone.cc",
330 "ozone/overlay_candidates_ozone.h",
331 ] 321 ]
332 } 322 }
333 323
334 if (!use_aura) { 324 if (!use_aura) {
335 sources -= [ 325 sources -= [
336 "nine_image_painter.cc", 326 "nine_image_painter.cc",
337 "nine_image_painter.h", 327 "nine_image_painter.h",
338 "path_aura.cc", 328 "path_aura.cc",
339 "screen_aura.cc", 329 "screen_aura.cc",
340 ] 330 ]
(...skipping 11 matching lines...) Expand all
352 342
353 if (use_pango) { 343 if (use_pango) {
354 sources += [ 344 sources += [
355 "pango_util.cc", 345 "pango_util.cc",
356 "pango_util.h", 346 "pango_util.h",
357 "platform_font_pango.cc", 347 "platform_font_pango.cc",
358 "platform_font_pango.h", 348 "platform_font_pango.h",
359 ] 349 ]
360 configs += [ "//build/config/linux:pangocairo" ] 350 configs += [ "//build/config/linux:pangocairo" ]
361 } 351 }
352 if (use_pango && use_ozone) {
353 sources -= [
354 "platform_font_ozone.cc",
355 ]
356 }
362 } 357 }
363 358
364 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry 359 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry
365 360
366 source_set("test_support") { 361 source_set("test_support") {
367 sources = [ 362 sources = [
368 "test/fontconfig_util_linux.cc", 363 "test/fontconfig_util_linux.cc",
369 "test/fontconfig_util_linux.h", 364 "test/fontconfig_util_linux.h",
370 "test/gfx_util.cc", 365 "test/gfx_util.cc",
371 "test/gfx_util.h", 366 "test/gfx_util.h",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 if (is_android) { 431 if (is_android) {
437 generate_jni("gfx_jni_headers") { 432 generate_jni("gfx_jni_headers") {
438 sources = [ 433 sources = [
439 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 434 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
440 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 435 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
441 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 436 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
442 ] 437 ]
443 jni_package = "gfx" 438 jni_package = "gfx"
444 } 439 }
445 } 440 }
OLDNEW
« no previous file with comments | « ui/events/ozone/BUILD.gn ('k') | ui/gl/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698