mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 16:26:10 +03:00
111 lines
3.0 KiB
Plaintext
111 lines
3.0 KiB
Plaintext
|
# Copyright 2017 The Chromium Authors. All rights reserved.
|
||
|
# Use of this source code is governed by a BSD-style license that can be
|
||
|
# found in the LICENSE file.
|
||
|
|
||
|
import("//components/viz/viz.gni")
|
||
|
|
||
|
viz_static_library("test_support") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"begin_frame_args_test.cc",
|
||
|
"begin_frame_args_test.h",
|
||
|
"begin_frame_source_test.cc",
|
||
|
"begin_frame_source_test.h",
|
||
|
"compositor_frame_helpers.cc",
|
||
|
"compositor_frame_helpers.h",
|
||
|
"fake_compositor_frame_sink_client.cc",
|
||
|
"fake_compositor_frame_sink_client.h",
|
||
|
"fake_delay_based_time_source.cc",
|
||
|
"fake_delay_based_time_source.h",
|
||
|
"fake_external_begin_frame_source.cc",
|
||
|
"fake_external_begin_frame_source.h",
|
||
|
"fake_host_frame_sink_client.cc",
|
||
|
"fake_host_frame_sink_client.h",
|
||
|
"fake_output_surface.cc",
|
||
|
"fake_output_surface.h",
|
||
|
"fake_surface_observer.cc",
|
||
|
"fake_surface_observer.h",
|
||
|
"host_frame_sink_manager_test_api.cc",
|
||
|
"host_frame_sink_manager_test_api.h",
|
||
|
"mock_compositor_frame_sink_client.cc",
|
||
|
"mock_compositor_frame_sink_client.h",
|
||
|
"mock_display_client.cc",
|
||
|
"mock_display_client.h",
|
||
|
"mock_helper.h",
|
||
|
"ordered_texture_map.cc",
|
||
|
"ordered_texture_map.h",
|
||
|
"paths.cc",
|
||
|
"paths.h",
|
||
|
"surface_hittest_test_helpers.cc",
|
||
|
"surface_hittest_test_helpers.h",
|
||
|
"test_context_provider.cc",
|
||
|
"test_context_provider.h",
|
||
|
"test_context_support.cc",
|
||
|
"test_context_support.h",
|
||
|
"test_display_provider.cc",
|
||
|
"test_display_provider.h",
|
||
|
"test_frame_sink_manager.cc",
|
||
|
"test_frame_sink_manager.h",
|
||
|
"test_frame_sink_manager_client.cc",
|
||
|
"test_frame_sink_manager_client.h",
|
||
|
"test_gles2_interface.cc",
|
||
|
"test_gles2_interface.h",
|
||
|
"test_gpu_memory_buffer_manager.cc",
|
||
|
"test_gpu_memory_buffer_manager.h",
|
||
|
"test_latest_local_surface_id_lookup_delegate.cc",
|
||
|
"test_latest_local_surface_id_lookup_delegate.h",
|
||
|
"test_layer_tree_frame_sink.cc",
|
||
|
"test_layer_tree_frame_sink.h",
|
||
|
"test_shared_bitmap_manager.cc",
|
||
|
"test_shared_bitmap_manager.h",
|
||
|
"test_texture.cc",
|
||
|
"test_texture.h",
|
||
|
]
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//cc",
|
||
|
"//components/viz/host",
|
||
|
"//components/viz/service",
|
||
|
"//gpu:raster",
|
||
|
"//gpu:test_support",
|
||
|
"//gpu/skia_bindings",
|
||
|
"//services/viz/privileged/interfaces/compositing",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
"//ui/gfx/geometry",
|
||
|
"//ui/gl",
|
||
|
"//ui/latency:test_support",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
viz_source_set("test_suite") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"viz_test_suite.cc",
|
||
|
"viz_test_suite.h",
|
||
|
]
|
||
|
deps = [
|
||
|
":test_support",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//ui/gl:test_support",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
viz_source_set("unit_tests") {
|
||
|
testonly = true
|
||
|
sources = [
|
||
|
"begin_frame_source_test_unittest.cc",
|
||
|
"mock_helper_unittest.cc",
|
||
|
"test_gles2_interface_unittest.cc",
|
||
|
]
|
||
|
deps = [
|
||
|
":test_support",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|