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

Unified Diff: components/BUILD.gn

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android 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 | « build/secondary/testing/gtest/BUILD.gn ('k') | components/auto_login_parser/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/BUILD.gn
diff --git a/components/BUILD.gn b/components/BUILD.gn
index c33ce03440c6345b3726a3bc01849302fd1ad9fa..05f7e97ac1f81f62779f8da371bfe100a7cf39ca 100644
--- a/components/BUILD.gn
+++ b/components/BUILD.gn
@@ -7,6 +7,7 @@ import("//build/config/features.gni")
# Collection of all components. You wouldn't link to this, but this is rather
# to reference the files so they can be compiled by the build system.
group("all_components") {
+ testonly = true # You shouldn't actually link to this.
visibility = [ "//:*" ] # Only for the root targets to bring in.
deps = [
« no previous file with comments | « build/secondary/testing/gtest/BUILD.gn ('k') | components/auto_login_parser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698