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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 configs += [ | 252 configs += [ |
253 "//build/config:precompiled_headers", | 253 "//build/config:precompiled_headers", |
254 | 254 |
255 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 255 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
256 "//build/config/compiler:no_size_t_to_int_warning", | 256 "//build/config/compiler:no_size_t_to_int_warning", |
257 ] | 257 ] |
258 | 258 |
259 # This is part of the gfx component in the component build. | 259 # This is part of the gfx component in the component build. |
260 defines = [ "GFX_IMPLEMENTATION" ] | 260 defines = [ "GFX_IMPLEMENTATION" ] |
261 | 261 |
| 262 public_deps = [ |
| 263 ":memory_buffer_sources", |
| 264 ":native_widget_types", |
| 265 "//base", |
| 266 "//skia", |
| 267 "//third_party/icu", |
| 268 "//ui/gfx/geometry", |
| 269 ] |
262 deps = [ | 270 deps = [ |
263 ":gfx_export", | 271 ":gfx_export", |
264 "//base", | 272 "//base", |
265 "//base:base_static", | 273 "//base:base_static", |
266 "//base:i18n", | 274 "//base:i18n", |
267 "//base/third_party/dynamic_annotations", | 275 "//base/third_party/dynamic_annotations", |
268 "//skia", | 276 "//skia", |
269 "//third_party/harfbuzz-ng", | 277 "//third_party/harfbuzz-ng", |
270 "//third_party/libpng", | 278 "//third_party/libpng", |
271 "//third_party/zlib", | 279 "//third_party/zlib", |
272 "//ui/gfx/geometry", | |
273 ] | |
274 public_deps = [ | |
275 ":memory_buffer_sources", | |
276 ":native_widget_types", | |
277 "//base", | |
278 "//skia", | |
279 "//third_party/icu", | |
280 ] | 280 ] |
281 | 281 |
282 # Text rendering conditions (complicated so separated out). | 282 # Text rendering conditions (complicated so separated out). |
283 if (use_aura || is_mac) { | 283 if (use_aura || is_mac) { |
284 # Mac doesn't use RenderTextHarfBuzz by default yet. | 284 # Mac doesn't use RenderTextHarfBuzz by default yet. |
285 sources += [ | 285 sources += [ |
286 "harfbuzz_font_skia.cc", | 286 "harfbuzz_font_skia.cc", |
287 "harfbuzz_font_skia.h", | 287 "harfbuzz_font_skia.h", |
288 "render_text_harfbuzz.cc", | 288 "render_text_harfbuzz.cc", |
289 "render_text_harfbuzz.h", | 289 "render_text_harfbuzz.h", |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
855 if (is_android) { | 855 if (is_android) { |
856 generate_jni("gfx_jni_headers") { | 856 generate_jni("gfx_jni_headers") { |
857 sources = [ | 857 sources = [ |
858 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 858 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
859 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 859 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
860 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 860 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
861 ] | 861 ] |
862 jni_package = "gfx" | 862 jni_package = "gfx" |
863 } | 863 } |
864 } | 864 } |
OLD | NEW |