| 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 "animation/tween.h", | 54 "animation/tween.h", |
| 55 "break_list.h", | 55 "break_list.h", |
| 56 "codec/jpeg_codec.cc", | 56 "codec/jpeg_codec.cc", |
| 57 "codec/jpeg_codec.h", | 57 "codec/jpeg_codec.h", |
| 58 "codec/png_codec.cc", | 58 "codec/png_codec.cc", |
| 59 "codec/png_codec.h", | 59 "codec/png_codec.h", |
| 60 "color_analysis.cc", | 60 "color_analysis.cc", |
| 61 "color_analysis.h", | 61 "color_analysis.h", |
| 62 "color_palette.h", | 62 "color_palette.h", |
| 63 "color_space.cc", | 63 "color_space.cc", |
| 64 "color_space.h", | |
| 65 "color_space_win.cc", | 64 "color_space_win.cc", |
| 66 "color_space_win.h", | 65 "color_space_win.h", |
| 67 "color_transform.cc", | 66 "color_transform.cc", |
| 68 "color_transform.h", | 67 "color_transform.h", |
| 69 "color_utils.cc", | 68 "color_utils.cc", |
| 70 "color_utils.h", | 69 "color_utils.h", |
| 71 "decorated_text.cc", | 70 "decorated_text.cc", |
| 72 "decorated_text.h", | 71 "decorated_text.h", |
| 73 "favicon_size.cc", | 72 "favicon_size.cc", |
| 74 "favicon_size.h", | 73 "favicon_size.h", |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 "//build/config:precompiled_headers", | 237 "//build/config:precompiled_headers", |
| 239 | 238 |
| 240 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 239 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 241 "//build/config/compiler:no_size_t_to_int_warning", | 240 "//build/config/compiler:no_size_t_to_int_warning", |
| 242 ] | 241 ] |
| 243 | 242 |
| 244 # This is part of the gfx component in the component build. | 243 # This is part of the gfx component in the component build. |
| 245 defines = [ "GFX_IMPLEMENTATION" ] | 244 defines = [ "GFX_IMPLEMENTATION" ] |
| 246 | 245 |
| 247 public_deps = [ | 246 public_deps = [ |
| 247 ":color_space", |
| 248 ":memory_buffer_sources", | 248 ":memory_buffer_sources", |
| 249 ":native_widget_types", | 249 ":native_widget_types", |
| 250 ":selection_bound_sources", | 250 ":selection_bound_sources", |
| 251 "//base", | 251 "//base", |
| 252 "//skia", | 252 "//skia", |
| 253 "//third_party/icu", | 253 "//third_party/icu", |
| 254 "//ui/gfx/geometry", | 254 "//ui/gfx/geometry", |
| 255 "//ui/gfx/range", | 255 "//ui/gfx/range", |
| 256 ] | 256 ] |
| 257 deps = [ | 257 deps = [ |
| (...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 "icc_profile_x11.cc", | 416 "icc_profile_x11.cc", |
| 417 "path_x11.cc", | 417 "path_x11.cc", |
| 418 ] | 418 ] |
| 419 } | 419 } |
| 420 | 420 |
| 421 if (use_cairo) { | 421 if (use_cairo) { |
| 422 configs += [ "//build/config/linux/pangocairo" ] | 422 configs += [ "//build/config/linux/pangocairo" ] |
| 423 } | 423 } |
| 424 } | 424 } |
| 425 | 425 |
| 426 # Depend on this to use color_space.h without pulling in all of gfx. |
| 427 source_set("color_space") { |
| 428 sources = [ |
| 429 "color_space.h", |
| 430 ] |
| 431 |
| 432 defines = [ "GFX_IMPLEMENTATION" ] |
| 433 |
| 434 public_deps = [ |
| 435 ":gfx_export", |
| 436 "//base", |
| 437 "//skia", |
| 438 ] |
| 439 } |
| 440 |
| 426 # Depend on this to use native_widget_types.h without pulling in all of gfx. | 441 # Depend on this to use native_widget_types.h without pulling in all of gfx. |
| 427 source_set("native_widget_types") { | 442 source_set("native_widget_types") { |
| 428 public = [ | 443 public = [ |
| 429 "native_widget_types.h", | 444 "native_widget_types.h", |
| 430 ] | 445 ] |
| 431 | 446 |
| 432 public_deps = [ | 447 public_deps = [ |
| 433 "//base", | 448 "//base", |
| 434 ] | 449 ] |
| 435 } | 450 } |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 "geometry/matrix3_unittest.cc", | 620 "geometry/matrix3_unittest.cc", |
| 606 "geometry/point3_unittest.cc", | 621 "geometry/point3_unittest.cc", |
| 607 "geometry/point_unittest.cc", | 622 "geometry/point_unittest.cc", |
| 608 "geometry/quad_unittest.cc", | 623 "geometry/quad_unittest.cc", |
| 609 "geometry/rect_unittest.cc", | 624 "geometry/rect_unittest.cc", |
| 610 "geometry/safe_integer_conversions_unittest.cc", | 625 "geometry/safe_integer_conversions_unittest.cc", |
| 611 "geometry/scroll_offset_unittest.cc", | 626 "geometry/scroll_offset_unittest.cc", |
| 612 "geometry/size_unittest.cc", | 627 "geometry/size_unittest.cc", |
| 613 "geometry/vector2d_unittest.cc", | 628 "geometry/vector2d_unittest.cc", |
| 614 "geometry/vector3d_unittest.cc", | 629 "geometry/vector3d_unittest.cc", |
| 630 "icc_profile_unittest.cc", |
| 631 "icc_profile_unittest.h", |
| 615 "image/image_mac_unittest.mm", | 632 "image/image_mac_unittest.mm", |
| 616 "image/image_util_unittest.cc", | 633 "image/image_util_unittest.cc", |
| 617 "mac/coordinate_conversion_unittest.mm", | 634 "mac/coordinate_conversion_unittest.mm", |
| 618 "mojo/struct_traits_unittest.cc", | 635 "mojo/struct_traits_unittest.cc", |
| 619 "nine_image_painter_unittest.cc", | 636 "nine_image_painter_unittest.cc", |
| 620 "path_mac_unittest.mm", | 637 "path_mac_unittest.mm", |
| 621 "platform_font_mac_unittest.mm", | 638 "platform_font_mac_unittest.mm", |
| 622 "range/range_mac_unittest.mm", | 639 "range/range_mac_unittest.mm", |
| 623 "range/range_unittest.cc", | 640 "range/range_unittest.cc", |
| 624 "range/range_win_unittest.cc", | 641 "range/range_win_unittest.cc", |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 | 743 |
| 727 fuzzer_test("color_transform_fuzztest") { | 744 fuzzer_test("color_transform_fuzztest") { |
| 728 sources = [ | 745 sources = [ |
| 729 "color_transform_fuzzer.cc", | 746 "color_transform_fuzzer.cc", |
| 730 ] | 747 ] |
| 731 deps = [ | 748 deps = [ |
| 732 ":gfx", | 749 ":gfx", |
| 733 ] | 750 ] |
| 734 libfuzzer_options = [ "max_len=1024" ] | 751 libfuzzer_options = [ "max_len=1024" ] |
| 735 } | 752 } |
| OLD | NEW |