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

Side by Side Diff: components/policy/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 unified diff | Download patch
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 if (is_component_build) { 9 if (is_component_build) {
10 component("policy_component") { 10 component("policy_component") {
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 } 131 }
132 132
133 group("test_support") { 133 group("test_support") {
134 deps = [ 134 deps = [
135 ":chrome_settings_proto_generated_compile", 135 ":chrome_settings_proto_generated_compile",
136 ":policy", 136 ":policy",
137 ] 137 ]
138 } 138 }
139 139
140 static_library("policy_component_test_support") { 140 static_library("policy_component_test_support") {
141 testonly = true
141 sources = [ 142 sources = [
142 "core/browser/configuration_policy_pref_store_test.cc", 143 "core/browser/configuration_policy_pref_store_test.cc",
143 "core/browser/configuration_policy_pref_store_test.h", 144 "core/browser/configuration_policy_pref_store_test.h",
144 "core/common/cloud/mock_cloud_external_data_manager.cc", 145 "core/common/cloud/mock_cloud_external_data_manager.cc",
145 "core/common/cloud/mock_cloud_external_data_manager.h", 146 "core/common/cloud/mock_cloud_external_data_manager.h",
146 "core/common/cloud/mock_cloud_policy_client.cc", 147 "core/common/cloud/mock_cloud_policy_client.cc",
147 "core/common/cloud/mock_cloud_policy_client.h", 148 "core/common/cloud/mock_cloud_policy_client.h",
148 "core/common/cloud/mock_cloud_policy_store.cc", 149 "core/common/cloud/mock_cloud_policy_store.cc",
149 "core/common/cloud/mock_cloud_policy_store.h", 150 "core/common/cloud/mock_cloud_policy_store.h",
150 "core/common/cloud/mock_device_management_service.cc", 151 "core/common/cloud/mock_device_management_service.cc",
(...skipping 25 matching lines...) Expand all
176 ":policy_component", 177 ":policy_component",
177 ":test_support", 178 ":test_support",
178 "//components/policy/proto", 179 "//components/policy/proto",
179 "//testing/gmock", 180 "//testing/gmock",
180 "//testing/gtest", 181 "//testing/gtest",
181 ] 182 ]
182 } 183 }
183 } 184 }
184 185
185 #TODO(GYP) policy templates, chrome_manifest_bundle 186 #TODO(GYP) policy templates, chrome_manifest_bundle
OLDNEW
« no previous file with comments | « components/password_manager/core/browser/BUILD.gn ('k') | components/sessions/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698