Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(678)

Unified Diff: dbus/BUILD.gn

Issue 547793002: Add lots of testonly annotations to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/BUILD.gn
diff --git a/dbus/BUILD.gn b/dbus/BUILD.gn
index a17f1f13c71a8e53efea89864d89cc189cfd391d..29b38599ff949ce5af55d7bc7722f9e8f3dd2b9b 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",
« no previous file with comments | « content/test/BUILD.gn ('k') | extensions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698