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

Unified Diff: sync/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 | « sql/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/BUILD.gn
diff --git a/sync/BUILD.gn b/sync/BUILD.gn
index 28b77b571293e1f42cd232b46a717205a6381acd..0398c22bb61c8621ae77204defbc838eb56b888f 100644
--- a/sync/BUILD.gn
+++ b/sync/BUILD.gn
@@ -416,6 +416,7 @@ source_set("sync_core") {
# GYP version: sync/sync_tests.gypi:test_support_sync_core
static_library("test_support_sync_core") {
+ testonly = true
sources = [
"internal_api/public/base/model_type_test_util.cc",
"internal_api/public/base/model_type_test_util.h",
@@ -491,6 +492,7 @@ static_library("test_support_sync_core") {
# GYP version: sync/sync_tests.gypi:test_support_sync_internal_api
static_library("test_support_sync_internal_api") {
+ testonly = true
sources = [
"internal_api/public/test/fake_sync_manager.h",
"internal_api/public/test/null_sync_context_proxy.h",
@@ -527,6 +529,7 @@ static_library("test_support_sync_internal_api") {
# GYP version: sync/sync_tests.gypi:test_support_sync_api
static_library("test_support_sync_api") {
+ testonly = true
sources = [
"api/fake_syncable_service.cc",
"api/fake_syncable_service.h",
@@ -669,6 +672,7 @@ test("sync_unit_tests") {
# GYP version: sync/sync_tests.gypi:test_support_sync_fake_server
static_library("test_support_sync_fake_server") {
+ testonly = true
sources = [
"test/fake_server/bookmark_entity.cc",
"test/fake_server/bookmark_entity.h",
« no previous file with comments | « sql/BUILD.gn ('k') | ui/base/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698