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

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

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed comments Created 5 years, 4 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
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 component("user_prefs") { 5 component("user_prefs") {
6 sources = [ 6 sources = [
7 "user_prefs.cc", 7 "user_prefs.cc",
8 "user_prefs.h", 8 "user_prefs.h",
9 "user_prefs_export.h", 9 "user_prefs_export.h",
10 ] 10 ]
11 11
12 defines = [ "USER_PREFS_IMPLEMENTATION" ] 12 defines = [ "USER_PREFS_IMPLEMENTATION" ]
13 13
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 "//base:prefs", 16 "//base:prefs",
17 ] 17 ]
18 } 18 }
19
20 static_library("user_prefs_tracked") {
blundell 2015/07/29 14:08:52 The structure you had with GN was correct in the p
Jitu( very slow this week) 2015/07/30 08:06:13 Ok Done
21 sources = [
22 "device_id.h",
23 "tracked/device_id_stub.cc",
24 "tracked/device_id_win.cc",
25 "tracked/dictionary_hash_store_contents.cc",
26 "tracked/dictionary_hash_store_contents.h",
27 "tracked/hash_store_contents.h",
28 "tracked/interceptable_pref_filter.cc",
29 "tracked/interceptable_pref_filter.h",
30 "tracked/pref_hash_calculator.cc",
31 "tracked/pref_hash_calculator.h",
32 "tracked/pref_hash_filter.cc",
33 "tracked/pref_hash_filter.h",
34 "tracked/pref_hash_store.h",
35 "tracked/pref_hash_store_impl.cc",
36 "tracked/pref_hash_store_impl.h",
37 "tracked/pref_hash_store_transaction.h",
38 "tracked/pref_names.cc",
39 "tracked/pref_names.h",
40 "tracked/pref_service_hash_store_contents.cc",
41 "tracked/pref_service_hash_store_contents.h",
42 "tracked/segregated_pref_store.cc",
43 "tracked/segregated_pref_store.h",
44 "tracked/tracked_atomic_preference.cc",
45 "tracked/tracked_atomic_preference.h",
46 "tracked/tracked_preference.h",
47 "tracked/tracked_preference_helper.cc",
48 "tracked/tracked_preference_helper.h",
49 "tracked/tracked_preference_validation_delegate.h",
50 "tracked/tracked_preferences_migration.cc",
51 "tracked/tracked_preferences_migration.h",
52 "tracked/tracked_split_preference.cc",
53 "tracked/tracked_split_preference.h",
54 ]
55
56 deps = [
57 "//components/pref_registry",
58 ]
59 }
60
61 source_set("user_prefs_tracked_test_support") {
62 testonly = true
63 sources = [
64 "tracked/mock_validation_delegate.cc",
65 "tracked/mock_validation_delegate.h",
66 ]
67 }
68
69 source_set("unit_tests") {
70 testonly = true
71 sources = [
72 "tracked/device_id_unittest.cc",
73 "tracked/pref_hash_calculator_unittest.cc",
74 "tracked/pref_hash_filter_unittest.cc",
75 "tracked/pref_hash_store_impl_unittest.cc",
76 "tracked/pref_service_hash_store_contents_unittest.cc",
77 "tracked/segregated_pref_store_unittest.cc",
78 "tracked/tracked_preferences_migration_unittest.cc",
79 ]
80
81 deps = [
82 ":user_prefs_tracked_test_support",
83 ]
84 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698