| 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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 sources += [ "platform_font_linux.cc" ] | 297 sources += [ "platform_font_linux.cc" ] |
| 298 set_sources_assignment_filter(sources_assignment_filter) | 298 set_sources_assignment_filter(sources_assignment_filter) |
| 299 } | 299 } |
| 300 | 300 |
| 301 # iOS. | 301 # iOS. |
| 302 if (is_ios) { | 302 if (is_ios) { |
| 303 sources -= [ | 303 sources -= [ |
| 304 "codec/jpeg_codec.cc", | 304 "codec/jpeg_codec.cc", |
| 305 "codec/jpeg_codec.h", | 305 "codec/jpeg_codec.h", |
| 306 ] | 306 ] |
| 307 set_sources_assignment_filter([]) |
| 308 sources += [ "scoped_cg_context_save_gstate_mac.h" ] |
| 309 set_sources_assignment_filter(sources_assignment_filter) |
| 307 } else { | 310 } else { |
| 308 deps += [ "//third_party:jpeg" ] | 311 deps += [ "//third_party:jpeg" ] |
| 309 } | 312 } |
| 310 | 313 |
| 311 # Android. | 314 # Android. |
| 312 if (is_android) { | 315 if (is_android) { |
| 313 if (use_aura) { | 316 if (use_aura) { |
| 314 sources -= [ "canvas_notimplemented.cc" ] | 317 sources -= [ "canvas_notimplemented.cc" ] |
| 315 sources += [ "font_fallback_android.cc" ] | 318 sources += [ "font_fallback_android.cc" ] |
| 316 } else { | 319 } else { |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 | 721 |
| 719 fuzzer_test("color_transform_fuzztest") { | 722 fuzzer_test("color_transform_fuzztest") { |
| 720 sources = [ | 723 sources = [ |
| 721 "color_transform_fuzzer.cc", | 724 "color_transform_fuzzer.cc", |
| 722 ] | 725 ] |
| 723 deps = [ | 726 deps = [ |
| 724 ":gfx", | 727 ":gfx", |
| 725 ] | 728 ] |
| 726 libfuzzer_options = [ "max_len=1024" ] | 729 libfuzzer_options = [ "max_len=1024" ] |
| 727 } | 730 } |
| OLD | NEW |