12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- # Copyright 2019 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("//testing/test.gni")
- assert(!is_ios, "Paint Previews are not supported on iOS.")
- source_set("renderer") {
- sources = [
- "paint_preview_recorder_impl.cc",
- "paint_preview_recorder_impl.h",
- "paint_preview_recorder_utils.cc",
- "paint_preview_recorder_utils.h",
- ]
- deps = [
- "//base",
- "//cc/paint",
- "//content/public/renderer",
- "//mojo/public/cpp/base",
- "//third_party/blink/public:blink_headers",
- "//third_party/blink/public/common",
- ]
- public_deps = [
- "//components/paint_preview/common",
- "//components/paint_preview/common/mojom",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [ "paint_preview_recorder_utils_unittest.cc" ]
- deps = [
- ":renderer",
- "//base",
- "//base/test:test_support",
- "//cc/paint",
- "//components/paint_preview/common:test_utils",
- "//testing/gmock",
- "//testing/gtest",
- ]
- }
- test("paint_preview_renderer_unit_tests") {
- deps = [
- ":unit_tests",
- "//base",
- "//base/test:test_support",
- "//components/test:run_all_unittests",
- ]
- }
|