summaryrefslogtreecommitdiffstats
path: root/dbus
diff options
context:
space:
mode:
authorBrett Wilson <brettw@chromium.org>2014-09-08 12:50:24 -0700
committerBrett Wilson <brettw@chromium.org>2014-09-08 20:12:00 +0000
commit8f80ad0b602647f3dd40b88866c19bbd3a67915a (patch)
treea35155f18cab553b2b483a441af42740e2152e2c /dbus
parent50c219e6a3219aa278d96ab5a8f89a8abe24b4e5 (diff)
downloadchromium_src-8f80ad0b602647f3dd40b88866c19bbd3a67915a.zip
chromium_src-8f80ad0b602647f3dd40b88866c19bbd3a67915a.tar.gz
chromium_src-8f80ad0b602647f3dd40b88866c19bbd3a67915a.tar.bz2
Add lots of testonly annotations to the GN build.
BUG= R=hclam@chromium.org Review URL: https://codereview.chromium.org/547793002 Cr-Commit-Position: refs/heads/master@{#293774}
Diffstat (limited to 'dbus')
-rw-r--r--dbus/BUILD.gn2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbus/BUILD.gn b/dbus/BUILD.gn
index a17f1f1..29b3859 100644
--- a/dbus/BUILD.gn
+++ b/dbus/BUILD.gn
@@ -55,6 +55,7 @@ proto_library("test_proto") {
# This target contains mocks that can be used to write unit tests without
# issuing actual D-Bus calls.
source_set("test_support") {
+ testonly = true
sources = [
"mock_bus.cc",
"mock_bus.h",
@@ -111,6 +112,7 @@ test("dbus_unittests") {
}
executable("dbus_test_server") {
+ testonly = true
sources = [
"test_server.cc",
"test_service.cc",