| 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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  203     "text_utils.h", |  203     "text_utils.h", | 
|  204     "text_utils_android.cc", |  204     "text_utils_android.cc", | 
|  205     "text_utils_ios.mm", |  205     "text_utils_ios.mm", | 
|  206     "transform.cc", |  206     "transform.cc", | 
|  207     "transform.h", |  207     "transform.h", | 
|  208     "transform_util.cc", |  208     "transform_util.cc", | 
|  209     "transform_util.h", |  209     "transform_util.h", | 
|  210     "ui_gfx_exports.cc", |  210     "ui_gfx_exports.cc", | 
|  211     "utf16_indexing.cc", |  211     "utf16_indexing.cc", | 
|  212     "utf16_indexing.h", |  212     "utf16_indexing.h", | 
 |  213     "vector_icons.cc", | 
 |  214     "vector_icons.h", | 
|  213     "vsync_provider.h", |  215     "vsync_provider.h", | 
|  214     "win/direct_write.cc", |  216     "win/direct_write.cc", | 
|  215     "win/direct_write.h", |  217     "win/direct_write.h", | 
|  216     "win/dpi.cc", |  218     "win/dpi.cc", | 
|  217     "win/dpi.h", |  219     "win/dpi.h", | 
|  218     "win/hwnd_util.cc", |  220     "win/hwnd_util.cc", | 
|  219     "win/hwnd_util.h", |  221     "win/hwnd_util.h", | 
|  220     "win/scoped_set_map_mode.h", |  222     "win/scoped_set_map_mode.h", | 
|  221     "win/singleton_hwnd.cc", |  223     "win/singleton_hwnd.cc", | 
|  222     "win/singleton_hwnd.h", |  224     "win/singleton_hwnd.h", | 
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  314       "//base:base_java", |  316       "//base:base_java", | 
|  315     ] |  317     ] | 
|  316     libs = [ |  318     libs = [ | 
|  317       "android", |  319       "android", | 
|  318       "jnigraphics", |  320       "jnigraphics", | 
|  319     ] |  321     ] | 
|  320   } else { |  322   } else { | 
|  321     sources -= [ "canvas_notimplemented.cc" ] |  323     sources -= [ "canvas_notimplemented.cc" ] | 
|  322   } |  324   } | 
|  323  |  325  | 
 |  326   # Non desktop. | 
 |  327   if (is_ios || is_android) { | 
 |  328     sources -= [ | 
 |  329       "vector_icons.cc", | 
 |  330       "vector_icons.h", | 
 |  331     ] | 
 |  332   } | 
 |  333  | 
|  324   # Windows. |  334   # Windows. | 
|  325   if (is_win) { |  335   if (is_win) { | 
|  326     cflags = [ "/wd4324" ]  # Structure was padded due to __declspec(align()), w
     hich is |  336     cflags = [ "/wd4324" ]  # Structure was padded due to __declspec(align()), w
     hich is | 
|  327                             # uninteresting. |  337                             # uninteresting. | 
|  328   } else { |  338   } else { | 
|  329     sources -= [ |  339     sources -= [ | 
|  330       "gdi_util.cc", |  340       "gdi_util.cc", | 
|  331       "gdi_util.h", |  341       "gdi_util.h", | 
|  332       "icon_util.cc", |  342       "icon_util.cc", | 
|  333       "icon_util.h", |  343       "icon_util.h", | 
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  550 if (is_android) { |  560 if (is_android) { | 
|  551   generate_jni("gfx_jni_headers") { |  561   generate_jni("gfx_jni_headers") { | 
|  552     sources = [ |  562     sources = [ | 
|  553       "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |  563       "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 
|  554       "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |  564       "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 
|  555       "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |  565       "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 
|  556     ] |  566     ] | 
|  557     jni_package = "gfx" |  567     jni_package = "gfx" | 
|  558   } |  568   } | 
|  559 } |  569 } | 
| OLD | NEW |