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

Side by Side Diff: components/syncable_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/sync_sessions/BUILD.gn ('k') | components/toolbar/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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 source_set("syncable_prefs") { 7 static_library("syncable_prefs") {
8 sources = [ 8 sources = [
9 "pref_model_associator.cc", 9 "pref_model_associator.cc",
10 "pref_model_associator.h", 10 "pref_model_associator.h",
11 "pref_model_associator_client.h", 11 "pref_model_associator_client.h",
12 "pref_service_syncable.cc", 12 "pref_service_syncable.cc",
13 "pref_service_syncable.h", 13 "pref_service_syncable.h",
14 "pref_service_syncable_factory.cc", 14 "pref_service_syncable_factory.cc",
15 "pref_service_syncable_factory.h", 15 "pref_service_syncable_factory.h",
16 "pref_service_syncable_observer.h", 16 "pref_service_syncable_observer.h",
17 "synced_pref_change_registrar.cc", 17 "synced_pref_change_registrar.cc",
(...skipping 12 matching lines...) Expand all
30 # This define is only used for compiling the .cc files in this target. 30 # This define is only used for compiling the .cc files in this target.
31 defines = [ "SYNCABLE_PREFS_USE_POLICY" ] 31 defines = [ "SYNCABLE_PREFS_USE_POLICY" ]
32 32
33 deps += [ 33 deps += [
34 "//components/policy:policy_component_browser", 34 "//components/policy:policy_component_browser",
35 "//components/policy:policy_component_common", 35 "//components/policy:policy_component_common",
36 ] 36 ]
37 } 37 }
38 } 38 }
39 39
40 source_set("test_support") { 40 static_library("test_support") {
41 testonly = true 41 testonly = true
42 sources = [ 42 sources = [
43 "pref_service_mock_factory.cc", 43 "pref_service_mock_factory.cc",
44 "pref_service_mock_factory.h", 44 "pref_service_mock_factory.h",
45 "testing_pref_service_syncable.cc", 45 "testing_pref_service_syncable.cc",
46 "testing_pref_service_syncable.h", 46 "testing_pref_service_syncable.h",
47 ] 47 ]
48 48
49 deps = [ 49 deps = [
50 ":syncable_prefs", 50 ":syncable_prefs",
(...skipping 13 matching lines...) Expand all
64 64
65 deps = [ 65 deps = [
66 ":syncable_prefs", 66 ":syncable_prefs",
67 ":test_support", 67 ":test_support",
68 "//components/pref_registry", 68 "//components/pref_registry",
69 "//components/prefs", 69 "//components/prefs",
70 "//sync:test_support_sync_api", 70 "//sync:test_support_sync_api",
71 "//testing/gtest", 71 "//testing/gtest",
72 ] 72 ]
73 } 73 }
OLDNEW
« no previous file with comments | « components/sync_sessions/BUILD.gn ('k') | components/toolbar/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698