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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
483 ] | 483 ] |
484 } else { | 484 } else { |
485 public_deps = [ | 485 public_deps = [ |
486 ":memory_buffer_sources", | 486 ":memory_buffer_sources", |
487 ] | 487 ] |
488 } | 488 } |
489 } | 489 } |
490 | 490 |
491 # Cannot be a static_library in component builds due to exported functions | 491 # Cannot be a static_library in component builds due to exported functions |
492 source_set("memory_buffer_sources") { | 492 source_set("memory_buffer_sources") { |
493 visibility = [ ":*" ] # Depend on through ":memory_buffer". | 493 visibility = [ |
494 ":*", | |
495 "//gpu/ipc/service:gpu_ipc_service_unittests", | |
496 "//gpu/ipc/service:ipc_service_sources", | |
reveman
2017/04/12 18:21:36
why is this needed? seems bad to have references t
Julien Isorce
2017/04/13 12:46:02
I agree, this is because of https://codereview.chr
| |
497 ] # Depend on through ":memory_buffer". | |
494 | 498 |
495 # TODO(brettw) refactor this so these sources are in a coherent directory | 499 # TODO(brettw) refactor this so these sources are in a coherent directory |
496 # structure rather than random samplings of ui/gfx and ui/gfx/mac. | 500 # structure rather than random samplings of ui/gfx and ui/gfx/mac. |
497 sources = [ | 501 sources = [ |
498 "buffer_format_util.cc", | 502 "buffer_format_util.cc", |
499 "buffer_format_util.h", | 503 "buffer_format_util.h", |
500 "buffer_types.h", | 504 "buffer_types.h", |
501 "client_native_pixmap.h", | 505 "client_native_pixmap.h", |
502 "client_native_pixmap_factory.cc", | 506 "client_native_pixmap_factory.cc", |
503 "client_native_pixmap_factory.h", | 507 "client_native_pixmap_factory.h", |
(...skipping 23 matching lines...) Expand all Loading... | |
527 "//base", | 531 "//base", |
528 "//ui/gfx/geometry", | 532 "//ui/gfx/geometry", |
529 ] | 533 ] |
530 | 534 |
531 if (is_linux) { | 535 if (is_linux) { |
532 sources += [ | 536 sources += [ |
533 "linux/client_native_pixmap_dmabuf.cc", | 537 "linux/client_native_pixmap_dmabuf.cc", |
534 "linux/client_native_pixmap_dmabuf.h", | 538 "linux/client_native_pixmap_dmabuf.h", |
535 "linux/client_native_pixmap_factory_dmabuf.cc", | 539 "linux/client_native_pixmap_factory_dmabuf.cc", |
536 "linux/client_native_pixmap_factory_dmabuf.h", | 540 "linux/client_native_pixmap_factory_dmabuf.h", |
541 "linux/native_pixmap_dmabuf_stub.cc", | |
542 "linux/native_pixmap_dmabuf_stub.h", | |
537 ] | 543 ] |
538 | 544 |
539 deps += [ "//third_party/libdrm" ] | 545 deps += [ "//third_party/libdrm" ] |
540 } | 546 } |
541 } | 547 } |
542 | 548 |
543 static_library("test_support") { | 549 static_library("test_support") { |
544 testonly = true | 550 testonly = true |
545 sources = [ | 551 sources = [ |
546 "animation/test_animation_delegate.h", | 552 "animation/test_animation_delegate.h", |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
762 | 768 |
763 fuzzer_test("color_transform_fuzztest") { | 769 fuzzer_test("color_transform_fuzztest") { |
764 sources = [ | 770 sources = [ |
765 "color_transform_fuzzer.cc", | 771 "color_transform_fuzzer.cc", |
766 ] | 772 ] |
767 deps = [ | 773 deps = [ |
768 ":gfx", | 774 ":gfx", |
769 ] | 775 ] |
770 libfuzzer_options = [ "max_len=1024" ] | 776 libfuzzer_options = [ "max_len=1024" ] |
771 } | 777 } |
OLD | NEW |