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

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

Issue 382633002: Fix use_canvas_skia = 0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Temp fix for gn build 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
« no previous file with comments | « build/config/ui.gni ('k') | ui/gfx/canvas_android.cc » ('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 }
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 "animation/slide_animation.h", 51 "animation/slide_animation.h",
52 "animation/throb_animation.cc", 52 "animation/throb_animation.cc",
53 "animation/throb_animation.h", 53 "animation/throb_animation.h",
54 "animation/tween.cc", 54 "animation/tween.cc",
55 "animation/tween.h", 55 "animation/tween.h",
56 "blit.cc", 56 "blit.cc",
57 "blit.h", 57 "blit.h",
58 "break_list.h", 58 "break_list.h",
59 "canvas.cc", 59 "canvas.cc",
60 "canvas.h", 60 "canvas.h",
61 "canvas_android.cc", 61 "canvas_notimplemented.cc",
62 "canvas_paint_mac.h", 62 "canvas_paint_mac.h",
63 "canvas_paint_mac.mm", 63 "canvas_paint_mac.mm",
64 "canvas_paint_win.cc", 64 "canvas_paint_win.cc",
65 "canvas_paint_win.h", 65 "canvas_paint_win.h",
66 "canvas_skia.cc", 66 "canvas_skia.cc",
67 "canvas_skia_paint.h", 67 "canvas_skia_paint.h",
68 "codec/jpeg_codec.cc", 68 "codec/jpeg_codec.cc",
69 "codec/jpeg_codec.h", 69 "codec/jpeg_codec.h",
70 "codec/png_codec.cc", 70 "codec/png_codec.cc",
71 "codec/png_codec.h", 71 "codec/png_codec.h",
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 if (is_win) { 246 if (is_win) {
247 sources += [ "render_text_win.cc" ] 247 sources += [ "render_text_win.cc" ]
248 } else if (is_mac) { 248 } else if (is_mac) {
249 sources += [ "render_text_mac.cc" ] 249 sources += [ "render_text_mac.cc" ]
250 } else if (use_pango) { 250 } else if (use_pango) {
251 sources += [ "render_text_pango.cc" ] 251 sources += [ "render_text_pango.cc" ]
252 } else if (use_ozone) { 252 } else if (use_ozone) {
253 sources += [ "render_text_ozone.cc" ] 253 sources += [ "render_text_ozone.cc" ]
254 } 254 }
255 } 255 }
256 256
257 # iOS. 257 # iOS.
258 if (is_ios) { 258 if (is_ios) {
259 sources -= [ 259 sources -= [
260 "codec/jpeg_codec.cc", 260 "codec/jpeg_codec.cc",
261 "codec/jpeg_codec.h", 261 "codec/jpeg_codec.h",
262 ] 262 ]
263 } else { 263 } else {
264 deps += [ "//third_party:jpeg" ] 264 deps += [ "//third_party:jpeg" ]
265 } 265 }
266 266
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 "icon_util.cc", 305 "icon_util.cc",
306 "icon_util.h", 306 "icon_util.h",
307 ] 307 ]
308 } 308 }
309 309
310 # Linux. 310 # Linux.
311 if (is_linux) { 311 if (is_linux) {
312 configs += [ "//build/config/linux:fontconfig" ] 312 configs += [ "//build/config/linux:fontconfig" ]
313 } 313 }
314 314
315 # Canvas_Skia stuff.
316 if(use_canvas_skia){
Alexei Svitkine (slow) 2014/07/18 20:19:10 Nit: add spaces after if and before {
Nico 2014/07/18 20:19:57 nit: add a space between if and (
317 sources -= ["canvas_notimplemented.cc",]
Nico 2014/07/18 20:19:57 nit: I think one-line lists usually don't have a t
318 }
319
315 # Ozone stuff. 320 # Ozone stuff.
316 if (use_ozone) { 321 if (use_ozone) {
317 sources += [ 322 sources += [
318 "platform_font_ozone.cc", 323 "platform_font_ozone.cc",
319 "ozone/impl/file_surface_factory.cc", 324 "ozone/impl/file_surface_factory.cc",
320 "ozone/impl/file_surface_factory.h", 325 "ozone/impl/file_surface_factory.h",
321 "ozone/surface_factory_ozone.cc", 326 "ozone/surface_factory_ozone.cc",
322 "ozone/surface_factory_ozone.h", 327 "ozone/surface_factory_ozone.h",
323 "ozone/surface_ozone.h", 328 "ozone/surface_ozone.h",
324 "ozone/overlay_candidates_ozone.cc", 329 "ozone/overlay_candidates_ozone.cc",
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 if (is_android) { 417 if (is_android) {
413 generate_jni("gfx_jni_headers") { 418 generate_jni("gfx_jni_headers") {
414 sources = [ 419 sources = [
415 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 420 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
416 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 421 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
417 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 422 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
418 ] 423 ]
419 jni_package = "gfx" 424 jni_package = "gfx"
420 } 425 }
421 } 426 }
OLDNEW
« no previous file with comments | « build/config/ui.gni ('k') | ui/gfx/canvas_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698