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 import("//testing/libfuzzer/fuzzer_test.gni") | 7 import("//testing/libfuzzer/fuzzer_test.gni") |
8 | 8 |
9 if (is_android) { | 9 if (is_android) { |
10 import("//build/config/android/config.gni") | 10 import("//build/config/android/config.gni") |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 } | 42 } |
43 | 43 |
44 component("gfx") { | 44 component("gfx") { |
45 sources = [ | 45 sources = [ |
46 "android/gfx_jni_registrar.cc", | 46 "android/gfx_jni_registrar.cc", |
47 "android/gfx_jni_registrar.h", | 47 "android/gfx_jni_registrar.h", |
48 "android/java_bitmap.cc", | 48 "android/java_bitmap.cc", |
49 "android/java_bitmap.h", | 49 "android/java_bitmap.h", |
50 "android/view_configuration.cc", | 50 "android/view_configuration.cc", |
51 "android/view_configuration.h", | 51 "android/view_configuration.h", |
52 "animation/animation.cc", | |
53 "animation/animation.h", | |
54 "animation/animation_container.cc", | |
55 "animation/animation_container.h", | |
56 "animation/animation_container_element.h", | |
57 "animation/animation_container_observer.h", | |
58 "animation/animation_delegate.h", | |
59 "animation/animation_mac.mm", | |
60 "animation/animation_win.cc", | |
61 "animation/linear_animation.cc", | |
62 "animation/linear_animation.h", | |
63 "animation/multi_animation.cc", | |
64 "animation/multi_animation.h", | |
65 "animation/slide_animation.cc", | |
66 "animation/slide_animation.h", | |
67 "animation/throb_animation.cc", | |
68 "animation/throb_animation.h", | |
69 "animation/tween.cc", | |
70 "animation/tween.h", | |
71 "break_list.h", | 52 "break_list.h", |
72 "codec/jpeg_codec.cc", | 53 "codec/jpeg_codec.cc", |
73 "codec/jpeg_codec.h", | 54 "codec/jpeg_codec.h", |
74 "codec/png_codec.cc", | 55 "codec/png_codec.cc", |
75 "codec/png_codec.h", | 56 "codec/png_codec.h", |
76 "codec/skia_image_encoder_adapter.cc", | 57 "codec/skia_image_encoder_adapter.cc", |
77 "codec/skia_image_encoder_adapter.h", | 58 "codec/skia_image_encoder_adapter.h", |
78 "color_analysis.cc", | 59 "color_analysis.cc", |
79 "color_analysis.h", | 60 "color_analysis.h", |
80 "color_palette.h", | 61 "color_palette.h", |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 | 247 |
267 public_deps = [ | 248 public_deps = [ |
268 ":color_space", | 249 ":color_space", |
269 ":geometry_skia", | 250 ":geometry_skia", |
270 ":memory_buffer_sources", | 251 ":memory_buffer_sources", |
271 ":native_widget_types", | 252 ":native_widget_types", |
272 ":selection_bound_sources", | 253 ":selection_bound_sources", |
273 "//base", | 254 "//base", |
274 "//skia", | 255 "//skia", |
275 "//third_party/icu", | 256 "//third_party/icu", |
| 257 "//ui/gfx/animation", |
276 "//ui/gfx/geometry", | 258 "//ui/gfx/geometry", |
277 "//ui/gfx/range", | 259 "//ui/gfx/range", |
278 ] | 260 ] |
279 deps = [ | 261 deps = [ |
280 ":gfx_export", | 262 ":gfx_export", |
281 "//base", | 263 "//base", |
282 "//base:base_static", | 264 "//base:base_static", |
283 "//base:i18n", | 265 "//base:i18n", |
284 "//base/third_party/dynamic_annotations", | 266 "//base/third_party/dynamic_annotations", |
285 "//skia", | 267 "//skia", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 ] | 320 ] |
339 } | 321 } |
340 | 322 |
341 # Android. | 323 # Android. |
342 if (is_android) { | 324 if (is_android) { |
343 if (use_aura) { | 325 if (use_aura) { |
344 sources -= [ "canvas_notimplemented.cc" ] | 326 sources -= [ "canvas_notimplemented.cc" ] |
345 sources += [ "font_fallback_android.cc" ] | 327 sources += [ "font_fallback_android.cc" ] |
346 } else { | 328 } else { |
347 sources -= [ | 329 sources -= [ |
348 "animation/throb_animation.cc", | |
349 "canvas_skia.cc", | 330 "canvas_skia.cc", |
350 "path.cc", | 331 "path.cc", |
351 "selection_model.cc", | 332 "selection_model.cc", |
352 ] | 333 ] |
353 } | 334 } |
354 | 335 |
355 if (!is_debug) { | 336 if (!is_debug) { |
356 configs -= [ "//build/config/compiler:default_optimization" ] | 337 configs -= [ "//build/config/compiler:default_optimization" ] |
357 configs += [ "//build/config/compiler:optimize_max" ] | 338 configs += [ "//build/config/compiler:optimize_max" ] |
358 } | 339 } |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
590 | 571 |
591 public_deps = [ | 572 public_deps = [ |
592 ":gfx", | 573 ":gfx", |
593 ] | 574 ] |
594 | 575 |
595 deps = [ | 576 deps = [ |
596 "//base", | 577 "//base", |
597 "//base/test:test_support", | 578 "//base/test:test_support", |
598 "//skia", | 579 "//skia", |
599 "//testing/gtest", | 580 "//testing/gtest", |
| 581 "//ui/gfx/animation", |
600 "//ui/gfx/geometry", | 582 "//ui/gfx/geometry", |
601 ] | 583 ] |
602 | 584 |
603 if (is_ios) { | 585 if (is_ios) { |
604 # The cocoa files don't apply to iOS. | 586 # The cocoa files don't apply to iOS. |
605 sources -= [ | 587 sources -= [ |
606 "test/ui_cocoa_test_helper.h", | 588 "test/ui_cocoa_test_helper.h", |
607 "test/ui_cocoa_test_helper.mm", | 589 "test/ui_cocoa_test_helper.mm", |
608 ] | 590 ] |
609 } | 591 } |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
703 ":gfx", | 685 ":gfx", |
704 ":test_support", | 686 ":test_support", |
705 "//base", | 687 "//base", |
706 "//base/test:test_support", | 688 "//base/test:test_support", |
707 "//skia", | 689 "//skia", |
708 "//testing/gtest", | 690 "//testing/gtest", |
709 "//third_party/icu:icuuc", | 691 "//third_party/icu:icuuc", |
710 "//third_party/libpng", | 692 "//third_party/libpng", |
711 "//third_party/zlib", | 693 "//third_party/zlib", |
712 "//ui/base", | 694 "//ui/base", |
| 695 "//ui/gfx/animation", |
713 "//ui/gfx/geometry", | 696 "//ui/gfx/geometry", |
714 "//ui/gfx/range", | 697 "//ui/gfx/range", |
715 "//ui/resources:ui_test_pak", | 698 "//ui/resources:ui_test_pak", |
716 ] | 699 ] |
717 | 700 |
718 data_deps = [ | 701 data_deps = [ |
719 "//ui/resources:ui_test_pak", | 702 "//ui/resources:ui_test_pak", |
720 ] | 703 ] |
721 | 704 |
722 if (!is_mac && !is_ios) { | 705 if (!is_mac && !is_ios) { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
786 | 769 |
787 fuzzer_test("color_transform_fuzztest") { | 770 fuzzer_test("color_transform_fuzztest") { |
788 sources = [ | 771 sources = [ |
789 "color_transform_fuzzer.cc", | 772 "color_transform_fuzzer.cc", |
790 ] | 773 ] |
791 deps = [ | 774 deps = [ |
792 ":gfx", | 775 ":gfx", |
793 ] | 776 ] |
794 libfuzzer_options = [ "max_len=1024" ] | 777 libfuzzer_options = [ "max_len=1024" ] |
795 } | 778 } |
OLD | NEW |