Commit bc6260f4 authored by Sven Zheng's avatar Sven Zheng Committed by Commit Bot

Add pixel_browser_tests target.

The target will be added to an internal bot to run on CI.
This target is for pixel testing for desktop ui.

Bug: chromium:958242
Change-Id: I390d2507a5c0abeedb95458132fe9913ae0a98fb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1614150
Commit-Queue: Sven Zheng <svenzheng@chromium.org>
Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660623}
parent 52c6099d
......@@ -297,6 +297,13 @@ static_library("test_support") {
]
}
if (is_win) {
sources += [
"pixel/skia_gold_pixel_diff.cc",
"pixel/skia_gold_pixel_diff.h",
]
}
if (toolkit_views) {
public_deps += [ "//ui/views:test_support" ]
sources += [
......@@ -3077,6 +3084,13 @@ test("unit_tests") {
}
}
# Pixeltests only support win.
if (is_win) {
sources += [
"../test/pixel/skia_gold_pixel_diff_unittest.cc",
]
}
if (!is_android) {
sources += [
# CRLSets are not supported on Android or iOS, but available on all other
......@@ -6047,6 +6061,27 @@ if (is_win) {
}
}
if (is_win) {
test("pixel_browser_tests") {
sources = [
"pixel/demo/skia_gold_demo_pixeltest.cc",
]
configs += [ "//build/config:precompiled_headers" ]
defines = [
"HAS_OUT_OF_PROC_TEST_RUNNER",
]
deps = [
":test_support",
":browser_tests_runner",
]
if (is_win) {
data = [ "//tools/skia_goldctl/goldctl.exe" ]
} else {
data = [ "//tools/skia_goldctl/goldctl" ]
}
}
}
# Test binary for the ChromeOS usage time limit processor tests.
if (is_chromeos) {
test("usage_time_limit_unittests") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment