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

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: Upstream changes, rebase 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 | « no previous file | 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 "animation/slide_animation.h", 48 "animation/slide_animation.h",
49 "animation/throb_animation.cc", 49 "animation/throb_animation.cc",
50 "animation/throb_animation.h", 50 "animation/throb_animation.h",
51 "animation/tween.cc", 51 "animation/tween.cc",
52 "animation/tween.h", 52 "animation/tween.h",
53 "blit.cc", 53 "blit.cc",
54 "blit.h", 54 "blit.h",
55 "break_list.h", 55 "break_list.h",
56 "canvas.cc", 56 "canvas.cc",
57 "canvas.h", 57 "canvas.h",
58 "canvas_android.cc", 58 "canvas_notimplemented.cc",
59 "canvas_paint_mac.h", 59 "canvas_paint_mac.h",
60 "canvas_paint_mac.mm", 60 "canvas_paint_mac.mm",
61 "canvas_paint_win.cc", 61 "canvas_paint_win.cc",
62 "canvas_paint_win.h", 62 "canvas_paint_win.h",
63 "canvas_skia.cc", 63 "canvas_skia.cc",
64 "canvas_skia_paint.h", 64 "canvas_skia_paint.h",
65 "codec/jpeg_codec.cc", 65 "codec/jpeg_codec.cc",
66 "codec/jpeg_codec.h", 66 "codec/jpeg_codec.h",
67 "codec/png_codec.cc", 67 "codec/png_codec.cc",
68 "codec/png_codec.h", 68 "codec/png_codec.h",
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 # TODO(GYP) re-enable when base_java exists. 284 # TODO(GYP) re-enable when base_java exists.
285 #if (!is_android_webview_build) { 285 #if (!is_android_webview_build) {
286 # deps += [ "//base:base_java" ] 286 # deps += [ "//base:base_java" ]
287 #} 287 #}
288 288
289 deps += [ ":gfx_jni_headers" ] 289 deps += [ ":gfx_jni_headers" ]
290 libs = [ 290 libs = [
291 "android", 291 "android",
292 "jnigraphics", 292 "jnigraphics",
293 ] 293 ]
294 } else {
295 sources -= [ "canvas_notimplemented.cc" ]
294 } 296 }
295 297
296 # Windows. 298 # Windows.
297 if (is_win) { 299 if (is_win) {
298 cflags = [ 300 cflags = [
299 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. 301 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int.
300 "/wd4324", # Structure was padded due to __declspec(align()), which is 302 "/wd4324", # Structure was padded due to __declspec(align()), which is
301 # uninteresting. 303 # uninteresting.
302 ] 304 ]
303 } else { 305 } else {
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 if (is_android) { 433 if (is_android) {
432 generate_jni("gfx_jni_headers") { 434 generate_jni("gfx_jni_headers") {
433 sources = [ 435 sources = [
434 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", 436 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java",
435 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", 437 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java",
436 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", 438 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java",
437 ] 439 ]
438 jni_package = "gfx" 440 jni_package = "gfx"
439 } 441 }
440 } 442 }
OLDNEW
« no previous file with comments | « no previous file | ui/gfx/canvas_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698