Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(318)

Side by Side Diff: ui/gfx/BUILD.gn

Issue 2648043002: Create FP16 LUTs when needed (Closed)
Patch Set: moved half-float conversion Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "font_render_params.cc", 84 "font_render_params.cc",
85 "font_render_params.h", 85 "font_render_params.h",
86 "font_render_params_android.cc", 86 "font_render_params_android.cc",
87 "font_render_params_linux.cc", 87 "font_render_params_linux.cc",
88 "font_render_params_mac.cc", 88 "font_render_params_mac.cc",
89 "font_render_params_win.cc", 89 "font_render_params_win.cc",
90 "gdi_util.cc", 90 "gdi_util.cc",
91 "gdi_util.h", 91 "gdi_util.h",
92 "gfx_paths.cc", 92 "gfx_paths.cc",
93 "gfx_paths.h", 93 "gfx_paths.h",
94 "half_float.cc",
95 "half_float.h",
94 "icc_profile.cc", 96 "icc_profile.cc",
95 "icc_profile.h", 97 "icc_profile.h",
96 "icc_profile_mac.mm", 98 "icc_profile_mac.mm",
97 "icc_profile_win.cc", 99 "icc_profile_win.cc",
98 "icc_profile_x11.cc", 100 "icc_profile_x11.cc",
99 "icon_util.cc", 101 "icon_util.cc",
100 "icon_util.h", 102 "icon_util.h",
101 "image/image.cc", 103 "image/image.cc",
102 "image/image.h", 104 "image/image.h",
103 "image/image_family.cc", 105 "image/image_family.cc",
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 433
432 defines = [ "GFX_IMPLEMENTATION" ] 434 defines = [ "GFX_IMPLEMENTATION" ]
433 435
434 public_deps = [ 436 public_deps = [
435 ":gfx_export", 437 ":gfx_export",
436 "//base", 438 "//base",
437 "//skia", 439 "//skia",
438 ] 440 ]
439 } 441 }
440 442
443 # Depend on this to use half_float.h without pulling in all of gfx.
444 source_set("half_float") {
445 sources = [
446 "half_float.h",
447 ]
448
449 defines = [ "GFX_IMPLEMENTATION" ]
450
451 public_deps = [
452 ":gfx_export",
453 "//base",
454 ]
455 }
456
441 # Depend on this to use native_widget_types.h without pulling in all of gfx. 457 # Depend on this to use native_widget_types.h without pulling in all of gfx.
442 source_set("native_widget_types") { 458 source_set("native_widget_types") {
443 public = [ 459 public = [
444 "native_widget_types.h", 460 "native_widget_types.h",
445 ] 461 ]
446 462
447 public_deps = [ 463 public_deps = [
448 "//base", 464 "//base",
449 ] 465 ]
450 } 466 }
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 "geometry/matrix3_unittest.cc", 638 "geometry/matrix3_unittest.cc",
623 "geometry/point3_unittest.cc", 639 "geometry/point3_unittest.cc",
624 "geometry/point_unittest.cc", 640 "geometry/point_unittest.cc",
625 "geometry/quad_unittest.cc", 641 "geometry/quad_unittest.cc",
626 "geometry/rect_unittest.cc", 642 "geometry/rect_unittest.cc",
627 "geometry/safe_integer_conversions_unittest.cc", 643 "geometry/safe_integer_conversions_unittest.cc",
628 "geometry/scroll_offset_unittest.cc", 644 "geometry/scroll_offset_unittest.cc",
629 "geometry/size_unittest.cc", 645 "geometry/size_unittest.cc",
630 "geometry/vector2d_unittest.cc", 646 "geometry/vector2d_unittest.cc",
631 "geometry/vector3d_unittest.cc", 647 "geometry/vector3d_unittest.cc",
648 "half_float_unittest.cc",
632 "icc_profile_unittest.cc", 649 "icc_profile_unittest.cc",
633 "image/image_mac_unittest.mm", 650 "image/image_mac_unittest.mm",
634 "image/image_util_unittest.cc", 651 "image/image_util_unittest.cc",
635 "mac/coordinate_conversion_unittest.mm", 652 "mac/coordinate_conversion_unittest.mm",
636 "mojo/struct_traits_unittest.cc", 653 "mojo/struct_traits_unittest.cc",
637 "nine_image_painter_unittest.cc", 654 "nine_image_painter_unittest.cc",
638 "path_mac_unittest.mm", 655 "path_mac_unittest.mm",
639 "platform_font_mac_unittest.mm", 656 "platform_font_mac_unittest.mm",
640 "range/range_mac_unittest.mm", 657 "range/range_mac_unittest.mm",
641 "range/range_unittest.cc", 658 "range/range_unittest.cc",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 760
744 fuzzer_test("color_transform_fuzztest") { 761 fuzzer_test("color_transform_fuzztest") {
745 sources = [ 762 sources = [
746 "color_transform_fuzzer.cc", 763 "color_transform_fuzzer.cc",
747 ] 764 ]
748 deps = [ 765 deps = [
749 ":gfx", 766 ":gfx",
750 ] 767 ]
751 libfuzzer_options = [ "max_len=1024" ] 768 libfuzzer_options = [ "max_len=1024" ]
752 } 769 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698