Commit 473623a9 authored by Luum Habtemariam's avatar Luum Habtemariam Committed by Commit Bot

Build CupsProxyService cups_utils tests under use_cups

Didn't realize this test suite became dependent on cups at some point;
this change enforces this.

Bug: chromium:945409, chromium:988567
Test: unittests built successfully
Change-Id: I109fb2c667daf6cf7178c4cd1e67ef8f4c40658d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764633Reviewed-by: default avatarSean Kau <skau@chromium.org>
Commit-Queue: Luum Habtemariam <luum@chromium.org>
Cr-Commit-Position: refs/heads/master@{#689247}
parent c42c4a88
......@@ -35,13 +35,15 @@ source_set("cpp") {
source_set("unit_tests") {
testonly = true
sources = [
"cups_util_unittest.cc",
]
deps = [
":cpp",
"//base",
"//testing/gmock",
"//testing/gtest",
]
if (use_cups) {
sources = [
"cups_util_unittest.cc",
]
deps = [
":cpp",
"//base",
"//testing/gmock",
"//testing/gtest",
]
}
}
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