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 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |