| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 | 267 |
| 268 defines = [ "GFX_IMPLEMENTATION" ] | 268 defines = [ "GFX_IMPLEMENTATION" ] |
| 269 | 269 |
| 270 deps = [ | 270 deps = [ |
| 271 ":gfx_export", | 271 ":gfx_export", |
| 272 "//base", | 272 "//base", |
| 273 "//base:base_static", | 273 "//base:base_static", |
| 274 "//base:i18n", | 274 "//base:i18n", |
| 275 "//base/third_party/dynamic_annotations", | 275 "//base/third_party/dynamic_annotations", |
| 276 "//skia", | 276 "//skia", |
| 277 "//third_party/harfbuzz-ng", | |
| 278 "//third_party/libpng", | 277 "//third_party/libpng", |
| 279 "//third_party/zlib", | 278 "//third_party/zlib", |
| 280 "//ui/gfx/geometry", | 279 "//ui/gfx/geometry", |
| 281 ] | 280 ] |
| 282 public_deps = [ | 281 public_deps = [ |
| 283 "//base", | 282 "//base", |
| 284 "//skia", | 283 "//skia", |
| 284 "//third_party/harfbuzz-ng", |
| 285 "//third_party/icu", | 285 "//third_party/icu", |
| 286 ] | 286 ] |
| 287 | 287 |
| 288 # Text rendering conditions (complicated so separated out). | 288 # Text rendering conditions (complicated so separated out). |
| 289 if (use_aura || is_mac) { | 289 if (use_aura || is_mac) { |
| 290 # Mac doesn't use RenderTextHarfBuzz by default yet. | 290 # Mac doesn't use RenderTextHarfBuzz by default yet. |
| 291 sources += [ | 291 sources += [ |
| 292 "harfbuzz_font_skia.cc", | 292 "harfbuzz_font_skia.cc", |
| 293 "harfbuzz_font_skia.h", | 293 "harfbuzz_font_skia.h", |
| 294 "render_text_harfbuzz.cc", | 294 "render_text_harfbuzz.cc", |
| (...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 if (is_android) { | 791 if (is_android) { |
| 792 generate_jni("gfx_jni_headers") { | 792 generate_jni("gfx_jni_headers") { |
| 793 sources = [ | 793 sources = [ |
| 794 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 794 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
| 795 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 795 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
| 796 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 796 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
| 797 ] | 797 ] |
| 798 jni_package = "gfx" | 798 jni_package = "gfx" |
| 799 } | 799 } |
| 800 } | 800 } |
| OLD | NEW |