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

Side by Side Diff: components/prefs/BUILD.gn

Issue 2151653003: Convert some GN test support targets to static libs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: crypto Created 4 years, 5 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/pref_registry/BUILD.gn ('k') | components/printing/test/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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 component("prefs") { 5 component("prefs") {
6 sources = [ 6 sources = [
7 "default_pref_store.cc", 7 "default_pref_store.cc",
8 "default_pref_store.h", 8 "default_pref_store.h",
9 "in_memory_pref_store.cc", 9 "in_memory_pref_store.cc",
10 "in_memory_pref_store.h", 10 "in_memory_pref_store.h",
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ] 48 ]
49 } 49 }
50 50
51 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ] 51 defines = [ "COMPONENTS_PREFS_IMPLEMENTATION" ]
52 52
53 deps = [ 53 deps = [
54 "//base", 54 "//base",
55 ] 55 ]
56 } 56 }
57 57
58 source_set("test_support") { 58 static_library("test_support") {
59 testonly = true 59 testonly = true
60 sources = [ 60 sources = [
61 "mock_pref_change_callback.cc", 61 "mock_pref_change_callback.cc",
62 "mock_pref_change_callback.h", 62 "mock_pref_change_callback.h",
63 "pref_store_observer_mock.cc", 63 "pref_store_observer_mock.cc",
64 "pref_store_observer_mock.h", 64 "pref_store_observer_mock.h",
65 "testing_pref_service.cc", 65 "testing_pref_service.cc",
66 "testing_pref_service.h", 66 "testing_pref_service.h",
67 "testing_pref_store.cc", 67 "testing_pref_store.cc",
68 "testing_pref_store.h", 68 "testing_pref_store.h",
(...skipping 26 matching lines...) Expand all
95 ] 95 ]
96 96
97 deps = [ 97 deps = [
98 ":test_support", 98 ":test_support",
99 "//base", 99 "//base",
100 "//base/test:test_support", 100 "//base/test:test_support",
101 "//testing/gmock", 101 "//testing/gmock",
102 "//testing/gtest", 102 "//testing/gtest",
103 ] 103 ]
104 } 104 }
OLDNEW
« no previous file with comments | « components/pref_registry/BUILD.gn ('k') | components/printing/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698