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

Unified Diff: base/test/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 | « base/BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/BUILD.gn
diff --git a/base/test/BUILD.gn b/base/test/BUILD.gn
index 8af09252fd989a2ebea197f0e185bf66258db36c..5cbd56e400db10ab61f6f30c00a6dbe1957c2c40 100644
--- a/base/test/BUILD.gn
+++ b/base/test/BUILD.gn
@@ -9,7 +9,8 @@ if (is_android) {
}
source_set("test_support") {
- testonly = true
+ # TODO http://crbug.com/412064 enable this flag all the time.
+ testonly = !is_component_build
sources = [
"expectations/expectation.cc",
"expectations/expectation.h",
« no previous file with comments | « base/BUILD.gn ('k') | breakpad/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698