| 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 81 "win/singleton_hwnd.cc", | 81 "win/singleton_hwnd.cc", |
| 82 "win/singleton_hwnd.h", | 82 "win/singleton_hwnd.h", |
| 83 "win/window_impl.cc", | 83 "win/window_impl.cc", |
| 84 "win/window_impl.h", | 84 "win/window_impl.h", |
| 85 ] | 85 ] |
| 86 | 86 |
| 87 defines = [ "GFX_IMPLEMENTATION" ] | 87 defines = [ "GFX_IMPLEMENTATION" ] |
| 88 | 88 |
| 89 deps = [ | 89 deps = [ |
| 90 ":gfx_export", | 90 ":gfx_export", |
| 91 "//base/third_party/dynamic_annotations", |
| 92 "//base:base_static", |
| 91 "//base:i18n", | 93 "//base:i18n", |
| 92 "//base:base_static", | |
| 93 "//base/third_party/dynamic_annotations", | |
| 94 "//skia", | 94 "//skia", |
| 95 "//third_party/harfbuzz-ng", | 95 "//third_party/harfbuzz-ng", |
| 96 "//third_party/libpng", | 96 "//third_party/libpng", |
| 97 "//third_party/zlib", | 97 "//third_party/zlib", |
| 98 "//ui/gfx/geometry", | 98 "//ui/gfx/geometry", |
| 99 ] | 99 ] |
| 100 public_deps = [ | 100 public_deps = [ |
| 101 "//base", | 101 "//base", |
| 102 "//skia", | 102 "//skia", |
| 103 "//third_party/icu", | 103 "//third_party/icu", |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. | 144 "/wd4267", # TODO(jschuh): C4267: http://crbug.com/167187 size_t -> int. |
| 145 "/wd4324", # Structure was padded due to __declspec(align()), which is | 145 "/wd4324", # Structure was padded due to __declspec(align()), which is |
| 146 # uninteresting. | 146 # uninteresting. |
| 147 ] | 147 ] |
| 148 } | 148 } |
| 149 | 149 |
| 150 # Linux. | 150 # Linux. |
| 151 if (is_linux) { | 151 if (is_linux) { |
| 152 configs += [ "//build/config/linux:fontconfig" ] | 152 configs += [ "//build/config/linux:fontconfig" ] |
| 153 } | 153 } |
| 154 |
| 155 if (use_x11) { |
| 156 deps += [ "//ui/gfx/x" ] |
| 157 } |
| 154 } | 158 } |
| 155 | 159 |
| 156 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry | 160 # Looking for gfx_geometry? It's //ui/gfx/geometry:geometry |
| 157 | 161 |
| 158 source_set("test_support") { | 162 source_set("test_support") { |
| 159 testonly = true | 163 testonly = true |
| 160 sources = [ | 164 sources = [ |
| 161 "test/fontconfig_util_linux.cc", | 165 "test/fontconfig_util_linux.cc", |
| 162 "test/fontconfig_util_linux.h", | 166 "test/fontconfig_util_linux.h", |
| 163 "test/gfx_util.cc", | 167 "test/gfx_util.cc", |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 "animation/slide_animation_unittest.cc", | 207 "animation/slide_animation_unittest.cc", |
| 204 "animation/tween_unittest.cc", | 208 "animation/tween_unittest.cc", |
| 205 "codec/jpeg_codec_unittest.cc", | 209 "codec/jpeg_codec_unittest.cc", |
| 206 "codec/png_codec_unittest.cc", | 210 "codec/png_codec_unittest.cc", |
| 207 "display_change_notifier_unittest.cc", | 211 "display_change_notifier_unittest.cc", |
| 208 "display_unittest.cc", | 212 "display_unittest.cc", |
| 209 "geometry/box_unittest.cc", | 213 "geometry/box_unittest.cc", |
| 210 "geometry/cubic_bezier_unittest.cc", | 214 "geometry/cubic_bezier_unittest.cc", |
| 211 "geometry/insets_unittest.cc", | 215 "geometry/insets_unittest.cc", |
| 212 "geometry/matrix3_unittest.cc", | 216 "geometry/matrix3_unittest.cc", |
| 217 "geometry/point3_unittest.cc", |
| 213 "geometry/point_unittest.cc", | 218 "geometry/point_unittest.cc", |
| 214 "geometry/point3_unittest.cc", | |
| 215 "geometry/quad_unittest.cc", | 219 "geometry/quad_unittest.cc", |
| 216 "geometry/r_tree_unittest.cc", | 220 "geometry/r_tree_unittest.cc", |
| 217 "geometry/rect_unittest.cc", | 221 "geometry/rect_unittest.cc", |
| 218 "geometry/safe_integer_conversions_unittest.cc", | 222 "geometry/safe_integer_conversions_unittest.cc", |
| 219 "geometry/scroll_offset_unittest.cc", | 223 "geometry/scroll_offset_unittest.cc", |
| 220 "geometry/size_unittest.cc", | 224 "geometry/size_unittest.cc", |
| 221 "geometry/vector2d_unittest.cc", | 225 "geometry/vector2d_unittest.cc", |
| 222 "geometry/vector3d_unittest.cc", | 226 "geometry/vector3d_unittest.cc", |
| 223 "sequential_id_generator_unittest.cc", | 227 "sequential_id_generator_unittest.cc", |
| 224 "skrect_conversion_unittest.cc", | 228 "skrect_conversion_unittest.cc", |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 if (is_android) { | 283 if (is_android) { |
| 280 generate_jni("gfx_jni_headers") { | 284 generate_jni("gfx_jni_headers") { |
| 281 sources = [ | 285 sources = [ |
| 282 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 286 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 283 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 287 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 284 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 288 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 285 ] | 289 ] |
| 286 jni_package = "gfx" | 290 jni_package = "gfx" |
| 287 } | 291 } |
| 288 } | 292 } |
| OLD | NEW |