forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[headless] Moved headless test utilities to //components/headless
These utilities need to be used by tests in //headless and in //chrome/browser/headless, this CL enables this by relocating headless test utilities to a shared location. Bug: 1408839 Change-Id: Iaee7827a137623098b10cc5f6d40126fb4c93514 Cq-Include-Trybots: luci.chromium.try:linux-headless-shell-rel Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4193263 Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Reviewed-by: Brian Salomon <bsalomon@google.com> Reviewed-by: Lei Zhang <thestig@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Commit-Queue: Peter Kvitek <kvitekp@chromium.org> Cr-Commit-Position: refs/heads/main@{#1098083}
- Loading branch information
Peter Kvitek
authored and
Chromium LUCI CQ
committed
Jan 27, 2023
1 parent
2793bad
commit 39be2dd
Showing
12 changed files
with
67 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 2023 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
import("//pdf/features.gni") | ||
import("//printing/buildflags/buildflags.gni") | ||
|
||
source_set("test") { | ||
sources = [ | ||
"bitmap_utils.cc", | ||
"bitmap_utils.h", | ||
"capture_std_stream.cc", | ||
"capture_std_stream.h", | ||
] | ||
|
||
if (enable_printing && enable_pdf) { | ||
sources += [ | ||
"pdf_utils.cc", | ||
"pdf_utils.h", | ||
] | ||
} | ||
|
||
deps = [ | ||
"//base", | ||
"//pdf:buildflags", | ||
"//printing/buildflags", | ||
] | ||
|
||
public_deps = [ | ||
"//skia", | ||
"//ui/gfx", | ||
] | ||
|
||
if (enable_printing) { | ||
deps += [ "//printing" ] | ||
|
||
if (enable_pdf) { | ||
deps += [ "//pdf" ] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
include_rules = [ | ||
"+pdf", | ||
"+printing", | ||
"+third_party/skia/include", | ||
"+ui/gfx", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters