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

Side by Side Diff: components/sync_driver/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/signin/core/browser/BUILD.gn ('k') | device/bluetooth/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("sync_driver") { 5 static_library("sync_driver") {
6 sources = [ 6 sources = [
7 "backend_data_type_configurer.cc", 7 "backend_data_type_configurer.cc",
8 "backend_data_type_configurer.h", 8 "backend_data_type_configurer.h",
9 "change_processor.cc", 9 "change_processor.cc",
10 "change_processor.h", 10 "change_processor.h",
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 ] 54 ]
55 55
56 deps = [ 56 deps = [
57 "//base", 57 "//base",
58 "//components/os_crypt", 58 "//components/os_crypt",
59 "//sync", 59 "//sync",
60 ] 60 ]
61 } 61 }
62 62
63 static_library("test_support") { 63 static_library("test_support") {
64 testonly = true
64 sources = [ 65 sources = [
65 "change_processor_mock.cc", 66 "change_processor_mock.cc",
66 "change_processor_mock.h", 67 "change_processor_mock.h",
67 "data_type_controller_mock.cc", 68 "data_type_controller_mock.cc",
68 "data_type_controller_mock.h", 69 "data_type_controller_mock.h",
69 "data_type_error_handler_mock.cc", 70 "data_type_error_handler_mock.cc",
70 "data_type_error_handler_mock.h", 71 "data_type_error_handler_mock.h",
71 "data_type_manager_mock.cc", 72 "data_type_manager_mock.cc",
72 "data_type_manager_mock.h", 73 "data_type_manager_mock.h",
73 "fake_data_type_controller.cc", 74 "fake_data_type_controller.cc",
74 "fake_data_type_controller.h", 75 "fake_data_type_controller.h",
75 "fake_generic_change_processor.cc", 76 "fake_generic_change_processor.cc",
76 "fake_generic_change_processor.h", 77 "fake_generic_change_processor.h",
77 "model_associator_mock.cc", 78 "model_associator_mock.cc",
78 "model_associator_mock.h", 79 "model_associator_mock.h",
79 "non_ui_data_type_controller_mock.cc", 80 "non_ui_data_type_controller_mock.cc",
80 "non_ui_data_type_controller_mock.h", 81 "non_ui_data_type_controller_mock.h",
81 ] 82 ]
82 83
83 deps = [ 84 deps = [
84 ":sync_driver", 85 ":sync_driver",
85 "//base", 86 "//base",
86 "//sync", 87 "//sync",
87 "//sync:test_support_sync_internal_api", 88 "//sync:test_support_sync_internal_api",
88 "//testing/gmock", 89 "//testing/gmock",
89 "//testing/gtest", 90 "//testing/gtest",
90 ] 91 ]
91 } 92 }
OLDNEW
« no previous file with comments | « components/signin/core/browser/BUILD.gn ('k') | device/bluetooth/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698