| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 if (is_android) { | 8 if (is_android) { |
| 9 import("//build/config/android/config.gni") | 9 import("//build/config/android/config.gni") |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 "font_render_params_linux.cc", | 98 "font_render_params_linux.cc", |
| 99 "font_render_params_mac.cc", | 99 "font_render_params_mac.cc", |
| 100 "font_render_params_win.cc", | 100 "font_render_params_win.cc", |
| 101 "frame_time.h", | 101 "frame_time.h", |
| 102 "gdi_util.cc", | 102 "gdi_util.cc", |
| 103 "gdi_util.h", | 103 "gdi_util.h", |
| 104 "gfx_paths.cc", | 104 "gfx_paths.cc", |
| 105 "gfx_paths.h", | 105 "gfx_paths.h", |
| 106 "gpu_memory_buffer.cc", | 106 "gpu_memory_buffer.cc", |
| 107 "gpu_memory_buffer.h", | 107 "gpu_memory_buffer.h", |
| 108 "hud_font.cc", | |
| 109 "hud_font.h", | |
| 110 "icon_util.cc", | 108 "icon_util.cc", |
| 111 "icon_util.h", | 109 "icon_util.h", |
| 112 "image/canvas_image_source.cc", | 110 "image/canvas_image_source.cc", |
| 113 "image/canvas_image_source.h", | 111 "image/canvas_image_source.h", |
| 114 "image/image.cc", | 112 "image/image.cc", |
| 115 "image/image.h", | 113 "image/image.h", |
| 116 "image/image_family.cc", | 114 "image/image_family.cc", |
| 117 "image/image_family.h", | 115 "image/image_family.h", |
| 118 "image/image_ios.mm", | 116 "image/image_ios.mm", |
| 119 "image/image_mac.mm", | 117 "image/image_mac.mm", |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 libs = [ | 300 libs = [ |
| 303 "android", | 301 "android", |
| 304 "jnigraphics", | 302 "jnigraphics", |
| 305 ] | 303 ] |
| 306 } else { | 304 } else { |
| 307 sources -= [ "canvas_notimplemented.cc" ] | 305 sources -= [ "canvas_notimplemented.cc" ] |
| 308 } | 306 } |
| 309 | 307 |
| 310 # Windows. | 308 # Windows. |
| 311 if (is_win) { | 309 if (is_win) { |
| 312 cflags = [ | 310 cflags = [ "/wd4324" ] # Structure was padded due to __declspec(align()), w
hich is |
| 313 "/wd4324", # Structure was padded due to __declspec(align()), which is | 311 # uninteresting. |
| 314 # uninteresting. | |
| 315 ] | |
| 316 } else { | 312 } else { |
| 317 sources -= [ | 313 sources -= [ |
| 318 "gdi_util.cc", | 314 "gdi_util.cc", |
| 319 "gdi_util.h", | 315 "gdi_util.h", |
| 320 "icon_util.cc", | 316 "icon_util.cc", |
| 321 "icon_util.h", | 317 "icon_util.h", |
| 322 ] | 318 ] |
| 323 } | 319 } |
| 324 | 320 |
| 325 # Linux. | 321 # Linux. |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 522 if (is_android) { | 518 if (is_android) { |
| 523 generate_jni("gfx_jni_headers") { | 519 generate_jni("gfx_jni_headers") { |
| 524 sources = [ | 520 sources = [ |
| 525 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 521 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 526 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 522 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 527 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 523 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 528 ] | 524 ] |
| 529 jni_package = "gfx" | 525 jni_package = "gfx" |
| 530 } | 526 } |
| 531 } | 527 } |
| OLD | NEW |