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

Side by Side Diff: components/crx_file/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/component_updater/BUILD.gn ('k') | components/data_reduction_proxy/common/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 source_set("crx_file") { 5 source_set("crx_file") {
6 sources = [ 6 sources = [
7 "constants.h", 7 "constants.h",
8 "crx_file.cc", 8 "crx_file.cc",
9 "crx_file.h", 9 "crx_file.h",
10 "id_util.cc", 10 "id_util.cc",
11 "id_util.h", 11 "id_util.h",
12 ] 12 ]
13 13
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 ] 16 ]
17 } 17 }
18 18
19 source_set("unit_tests") { 19 source_set("unit_tests") {
20 testonly = true
20 sources = [ 21 sources = [
21 "id_util_unittest.cc", 22 "id_util_unittest.cc",
22 ] 23 ]
23 24
24 deps = [ 25 deps = [
25 ":crx_file", 26 ":crx_file",
26 "//testing/gtest", 27 "//testing/gtest",
27 ] 28 ]
28 } 29 }
OLDNEW
« no previous file with comments | « components/component_updater/BUILD.gn ('k') | components/data_reduction_proxy/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698