| 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 # structure rather than random samplings of ui/gfx and ui/gfx/mac. | 478 # structure rather than random samplings of ui/gfx and ui/gfx/mac. |
| 479 sources = [ | 479 sources = [ |
| 480 "buffer_format_util.cc", | 480 "buffer_format_util.cc", |
| 481 "buffer_format_util.h", | 481 "buffer_format_util.h", |
| 482 "buffer_types.h", | 482 "buffer_types.h", |
| 483 "generic_shared_memory_id.cc", | 483 "generic_shared_memory_id.cc", |
| 484 "generic_shared_memory_id.h", | 484 "generic_shared_memory_id.h", |
| 485 "gfx_export.h", | 485 "gfx_export.h", |
| 486 "mac/io_surface.cc", | 486 "mac/io_surface.cc", |
| 487 "mac/io_surface.h", | 487 "mac/io_surface.h", |
| 488 "native_pixmap_handle.cc", |
| 489 "native_pixmap_handle.h", |
| 488 ] | 490 ] |
| 489 | 491 |
| 490 if (!is_ios) { | 492 if (!is_ios) { |
| 491 sources += [ | 493 sources += [ |
| 492 "gpu_memory_buffer.cc", | 494 "gpu_memory_buffer.cc", |
| 493 "gpu_memory_buffer.h", | 495 "gpu_memory_buffer.h", |
| 494 ] | 496 ] |
| 495 } | 497 } |
| 496 | 498 |
| 497 if (use_ozone) { | |
| 498 sources += [ | |
| 499 "native_pixmap_handle_ozone.cc", | |
| 500 "native_pixmap_handle_ozone.h", | |
| 501 ] | |
| 502 } | |
| 503 | |
| 504 defines = [ "GFX_IMPLEMENTATION" ] | 499 defines = [ "GFX_IMPLEMENTATION" ] |
| 505 | 500 |
| 506 deps = [ | 501 deps = [ |
| 507 "//base", | 502 "//base", |
| 508 "//ui/gfx/geometry", | 503 "//ui/gfx/geometry", |
| 509 ] | 504 ] |
| 510 } | 505 } |
| 511 | 506 |
| 512 static_library("test_support") { | 507 static_library("test_support") { |
| 513 testonly = true | 508 testonly = true |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 713 | 708 |
| 714 fuzzer_test("color_transform_fuzztest") { | 709 fuzzer_test("color_transform_fuzztest") { |
| 715 sources = [ | 710 sources = [ |
| 716 "color_transform_fuzzer.cc", | 711 "color_transform_fuzzer.cc", |
| 717 ] | 712 ] |
| 718 deps = [ | 713 deps = [ |
| 719 ":gfx", | 714 ":gfx", |
| 720 ] | 715 ] |
| 721 libfuzzer_options = [ "max_len=1024" ] | 716 libfuzzer_options = [ "max_len=1024" ] |
| 722 } | 717 } |
| OLD | NEW |