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 | 6 |
7 if (is_android) { | 7 if (is_android) { |
8 import("//build/config/android/config.gni") | 8 import("//build/config/android/config.gni") |
9 import("//build/config/android/rules.gni") | 9 import("//build/config/android/rules.gni") |
10 } | 10 } |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 "win/singleton_hwnd.cc", | 214 "win/singleton_hwnd.cc", |
215 "win/singleton_hwnd.h", | 215 "win/singleton_hwnd.h", |
216 "win/window_impl.cc", | 216 "win/window_impl.cc", |
217 "win/window_impl.h", | 217 "win/window_impl.h", |
218 ] | 218 ] |
219 | 219 |
220 defines = [ "GFX_IMPLEMENTATION" ] | 220 defines = [ "GFX_IMPLEMENTATION" ] |
221 | 221 |
222 deps = [ | 222 deps = [ |
223 ":gfx_export", | 223 ":gfx_export", |
224 "//base", | |
225 "//base:i18n", | 224 "//base:i18n", |
226 "//base:base_static", | 225 "//base:base_static", |
227 "//base/third_party/dynamic_annotations", | 226 "//base/third_party/dynamic_annotations", |
228 "//skia", | 227 "//skia", |
229 "//third_party/harfbuzz-ng", | 228 "//third_party/harfbuzz-ng", |
230 "//third_party/icu:icui18n", | |
231 "//third_party/icu:icuuc", | |
232 "//third_party/libpng", | 229 "//third_party/libpng", |
233 "//third_party/zlib", | 230 "//third_party/zlib", |
234 "//ui/gfx/geometry", | 231 "//ui/gfx/geometry", |
235 ] | 232 ] |
236 forward_dependent_configs_from = [ "//skia" ] | 233 public_deps = [ |
| 234 "//base", |
| 235 "//skia", |
| 236 "//third_party/icu", |
| 237 ] |
237 | 238 |
238 # Text rendering conditions (complicated so separated out). | 239 # Text rendering conditions (complicated so separated out). |
239 if (is_android || is_ios) { | 240 if (is_android || is_ios) { |
240 # We don't support RenderText on these platforms. | 241 # We don't support RenderText on these platforms. |
241 } else { | 242 } else { |
242 # These text rendering files are supported everywhere text rendering is. | 243 # These text rendering files are supported everywhere text rendering is. |
243 sources += [ | 244 sources += [ |
244 "render_text.cc", | 245 "render_text.cc", |
245 "render_text.h", | 246 "render_text.h", |
246 "render_text_harfbuzz.cc", | 247 "render_text_harfbuzz.cc", |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
371 "image/image_unittest_util_ios.mm", | 372 "image/image_unittest_util_ios.mm", |
372 "image/image_unittest_util_mac.mm", | 373 "image/image_unittest_util_mac.mm", |
373 "test/fontconfig_util_linux.cc", | 374 "test/fontconfig_util_linux.cc", |
374 "test/fontconfig_util_linux.h", | 375 "test/fontconfig_util_linux.h", |
375 "test/gfx_util.cc", | 376 "test/gfx_util.cc", |
376 "test/gfx_util.h", | 377 "test/gfx_util.h", |
377 "test/ui_cocoa_test_helper.h", | 378 "test/ui_cocoa_test_helper.h", |
378 "test/ui_cocoa_test_helper.mm", | 379 "test/ui_cocoa_test_helper.mm", |
379 ] | 380 ] |
380 | 381 |
| 382 public_deps = [ |
| 383 ":gfx", |
| 384 ] |
| 385 |
381 deps = [ | 386 deps = [ |
382 ":gfx", | |
383 "//base", | 387 "//base", |
384 "//base/test:test_support", | 388 "//base/test:test_support", |
385 "//skia", | 389 "//skia", |
386 "//testing/gtest", | 390 "//testing/gtest", |
387 "//ui/gfx/geometry", | 391 "//ui/gfx/geometry", |
388 ] | 392 ] |
389 | 393 |
390 if (is_ios) { | 394 if (is_ios) { |
391 # The cocoa files don't apply to iOS. | 395 # The cocoa files don't apply to iOS. |
392 sources -= [ | 396 sources -= [ |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 } | 461 } |
458 | 462 |
459 deps = [ | 463 deps = [ |
460 ":gfx", | 464 ":gfx", |
461 ":test_support", | 465 ":test_support", |
462 "//base", | 466 "//base", |
463 "//base/test:test_support", | 467 "//base/test:test_support", |
464 "//skia", | 468 "//skia", |
465 "//third_party/icu:icuuc", | 469 "//third_party/icu:icuuc", |
466 "//third_party/libpng", | 470 "//third_party/libpng", |
| 471 "//third_party/zlib", |
467 "//testing/gtest", | 472 "//testing/gtest", |
468 "//ui/base", | 473 "//ui/base", |
469 "//ui/gfx/geometry", | 474 "//ui/gfx/geometry", |
470 "//ui/resources:ui_test_pak", | 475 "//ui/resources:ui_test_pak", |
471 ] | 476 ] |
472 | 477 |
473 if (use_pango) { | 478 if (use_pango) { |
474 sources += [ | 479 sources += [ |
475 "font_render_params_linux_unittest.cc", | 480 "font_render_params_linux_unittest.cc", |
476 "platform_font_pango_unittest.cc", | 481 "platform_font_pango_unittest.cc", |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
551 if (is_android) { | 556 if (is_android) { |
552 generate_jni("gfx_jni_headers") { | 557 generate_jni("gfx_jni_headers") { |
553 sources = [ | 558 sources = [ |
554 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", | 559 "../android/java/src/org/chromium/ui/gfx/BitmapHelper.java", |
555 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", | 560 "../android/java/src/org/chromium/ui/gfx/DeviceDisplayInfo.java", |
556 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", | 561 "../android/java/src/org/chromium/ui/gfx/ViewConfigurationHelper.java", |
557 ] | 562 ] |
558 jni_package = "gfx" | 563 jni_package = "gfx" |
559 } | 564 } |
560 } | 565 } |
OLD | NEW |