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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "font_render_params_mac.cc", | 87 "font_render_params_mac.cc", |
88 "font_render_params_win.cc", | 88 "font_render_params_win.cc", |
89 "gdi_util.cc", | 89 "gdi_util.cc", |
90 "gdi_util.h", | 90 "gdi_util.h", |
91 "gfx_paths.cc", | 91 "gfx_paths.cc", |
92 "gfx_paths.h", | 92 "gfx_paths.h", |
93 "icc_profile.cc", | 93 "icc_profile.cc", |
94 "icc_profile.h", | 94 "icc_profile.h", |
95 "icc_profile_mac.mm", | 95 "icc_profile_mac.mm", |
96 "icc_profile_win.cc", | 96 "icc_profile_win.cc", |
| 97 "icc_profile_x11.cc", |
97 "icon_util.cc", | 98 "icon_util.cc", |
98 "icon_util.h", | 99 "icon_util.h", |
99 "image/image.cc", | 100 "image/image.cc", |
100 "image/image.h", | 101 "image/image.h", |
101 "image/image_family.cc", | 102 "image/image_family.cc", |
102 "image/image_family.h", | 103 "image/image_family.h", |
103 "image/image_ios.mm", | 104 "image/image_ios.mm", |
104 "image/image_mac.mm", | 105 "image/image_mac.mm", |
105 "image/image_png_rep.cc", | 106 "image/image_png_rep.cc", |
106 "image/image_png_rep.h", | 107 "image/image_png_rep.h", |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
395 "nine_image_painter.cc", | 396 "nine_image_painter.cc", |
396 "nine_image_painter.h", | 397 "nine_image_painter.h", |
397 ] | 398 ] |
398 } | 399 } |
399 } | 400 } |
400 | 401 |
401 if (use_x11) { | 402 if (use_x11) { |
402 deps += [ "//ui/gfx/x" ] | 403 deps += [ "//ui/gfx/x" ] |
403 configs += [ "//build/config/linux:x11" ] | 404 configs += [ "//build/config/linux:x11" ] |
404 } else { | 405 } else { |
405 sources -= [ "path_x11.cc" ] | 406 sources -= [ |
| 407 "icc_profile_x11.cc", |
| 408 "path_x11.cc", |
| 409 ] |
406 } | 410 } |
407 | 411 |
408 if (use_cairo) { | 412 if (use_cairo) { |
409 configs += [ "//build/config/linux/pangocairo" ] | 413 configs += [ "//build/config/linux/pangocairo" ] |
410 } | 414 } |
411 } | 415 } |
412 | 416 |
413 # Depend on this to use native_widget_types.h without pulling in all of gfx. | 417 # Depend on this to use native_widget_types.h without pulling in all of gfx. |
414 source_set("native_widget_types") { | 418 source_set("native_widget_types") { |
415 public = [ | 419 public = [ |
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 | 717 |
714 fuzzer_test("color_transform_fuzztest") { | 718 fuzzer_test("color_transform_fuzztest") { |
715 sources = [ | 719 sources = [ |
716 "color_transform_fuzzer.cc", | 720 "color_transform_fuzzer.cc", |
717 ] | 721 ] |
718 deps = [ | 722 deps = [ |
719 ":gfx", | 723 ":gfx", |
720 ] | 724 ] |
721 libfuzzer_options = [ "max_len=1024" ] | 725 libfuzzer_options = [ "max_len=1024" ] |
722 } | 726 } |
OLD | NEW |