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

Side by Side Diff: components/cloud_devices/common/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/captive_portal/BUILD.gn ('k') | components/component_updater/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 static_library("common") { 5 static_library("common") {
6 output_name = "cloud_devices_common" 6 output_name = "cloud_devices_common"
7 sources = [ 7 sources = [
8 "cloud_device_description.cc", 8 "cloud_device_description.cc",
9 "cloud_device_description.h", 9 "cloud_device_description.h",
10 "cloud_device_description_consts.cc", 10 "cloud_device_description_consts.cc",
11 "cloud_device_description_consts.h", 11 "cloud_device_description_consts.h",
12 "cloud_devices_switches.cc", 12 "cloud_devices_switches.cc",
13 "cloud_devices_switches.h", 13 "cloud_devices_switches.h",
14 "cloud_devices_urls.cc", 14 "cloud_devices_urls.cc",
15 "cloud_devices_urls.h", 15 "cloud_devices_urls.h",
16 "description_items.h", 16 "description_items.h",
17 "description_items_inl.h", 17 "description_items_inl.h",
18 "printer_description.cc", 18 "printer_description.cc",
19 "printer_description.h", 19 "printer_description.h",
20 ] 20 ]
21 deps = [ 21 deps = [
22 "//base", 22 "//base",
23 "//net", 23 "//net",
24 ] 24 ]
25 } 25 }
26 26
27 source_set("unit_tests") { 27 source_set("unit_tests") {
28 testonly = true
28 sources = [ 29 sources = [
29 "cloud_devices_urls_unittest.cc", 30 "cloud_devices_urls_unittest.cc",
30 "printer_description_unittest.cc", 31 "printer_description_unittest.cc",
31 ] 32 ]
32 33
33 deps = [ 34 deps = [
34 ":common", 35 ":common",
35 "//testing/gmock", 36 "//testing/gmock",
36 "//testing/gtest", 37 "//testing/gtest",
37 ] 38 ]
38 } 39 }
OLDNEW
« no previous file with comments | « components/captive_portal/BUILD.gn ('k') | components/component_updater/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698