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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
308 if (is_ios) { | 308 if (is_ios) { |
309 sources -= [ | 309 sources -= [ |
310 "codec/jpeg_codec.cc", | 310 "codec/jpeg_codec.cc", |
311 "codec/jpeg_codec.h", | 311 "codec/jpeg_codec.h", |
312 ] | 312 ] |
313 set_sources_assignment_filter([]) | 313 set_sources_assignment_filter([]) |
314 sources += [ "scoped_cg_context_save_gstate_mac.h" ] | 314 sources += [ "scoped_cg_context_save_gstate_mac.h" ] |
315 set_sources_assignment_filter(sources_assignment_filter) | 315 set_sources_assignment_filter(sources_assignment_filter) |
316 } else { | 316 } else { |
317 deps += [ | 317 deps += [ |
| 318 "//cc/paint", |
318 "//third_party:jpeg", | 319 "//third_party:jpeg", |
319 "//third_party/harfbuzz-ng", | 320 "//third_party/harfbuzz-ng", |
320 ] | 321 ] |
321 } | 322 } |
322 | 323 |
323 # Android. | 324 # Android. |
324 if (is_android) { | 325 if (is_android) { |
325 if (use_aura) { | 326 if (use_aura) { |
326 sources -= [ "canvas_notimplemented.cc" ] | 327 sources -= [ "canvas_notimplemented.cc" ] |
327 sources += [ "font_fallback_android.cc" ] | 328 sources += [ "font_fallback_android.cc" ] |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
761 | 762 |
762 fuzzer_test("color_transform_fuzztest") { | 763 fuzzer_test("color_transform_fuzztest") { |
763 sources = [ | 764 sources = [ |
764 "color_transform_fuzzer.cc", | 765 "color_transform_fuzzer.cc", |
765 ] | 766 ] |
766 deps = [ | 767 deps = [ |
767 ":gfx", | 768 ":gfx", |
768 ] | 769 ] |
769 libfuzzer_options = [ "max_len=1024" ] | 770 libfuzzer_options = [ "max_len=1024" ] |
770 } | 771 } |
OLD | NEW |