mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 09:46:09 +03:00
84 lines
2.1 KiB
Plaintext
84 lines
2.1 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_surface_observer.cc",
|
||
|
"fake_surface_observer.h",
|
||
|
"mock_compositor_frame_sink_client.cc",
|
||
|
"mock_compositor_frame_sink_client.h",
|
||
|
"mock_helper.h",
|
||
|
"ordered_simple_task_runner.cc",
|
||
|
"ordered_simple_task_runner.h",
|
||
|
"paths.cc",
|
||
|
"paths.h",
|
||
|
"surface_hittest_test_helpers.cc",
|
||
|
"surface_hittest_test_helpers.h",
|
||
|
"test_frame_sink_manager.cc",
|
||
|
"test_frame_sink_manager.h",
|
||
|
"test_gpu_memory_buffer_manager.cc",
|
||
|
"test_gpu_memory_buffer_manager.h",
|
||
|
"test_layer_tree_frame_sink.cc",
|
||
|
"test_layer_tree_frame_sink.h",
|
||
|
]
|
||
|
deps = [
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//cc",
|
||
|
"//components/viz/host",
|
||
|
"//components/viz/service",
|
||
|
"//services/viz/privileged/interfaces/compositing",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
"//ui/gfx/geometry",
|
||
|
]
|
||
|
}
|
||
|
|
||
|
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",
|
||
|
"ordered_simple_task_runner_unittest.cc",
|
||
|
]
|
||
|
deps = [
|
||
|
":test_support",
|
||
|
"//base",
|
||
|
"//base/test:test_support",
|
||
|
"//testing/gmock",
|
||
|
"//testing/gtest",
|
||
|
]
|
||
|
}
|