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

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

Issue 1227973003: Componentize //chrome/browser/prefs/tracked. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased 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
« no previous file with comments | « components/user_prefs.gypi ('k') | components/user_prefs/tracked/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 static_library("user_prefs_tracked") {
6 sources = [
7 "device_id.h",
8 "device_id_stub.cc",
9 "device_id_win.cc",
10 "dictionary_hash_store_contents.cc",
11 "dictionary_hash_store_contents.h",
12 "hash_store_contents.h",
13 "interceptable_pref_filter.cc",
14 "interceptable_pref_filter.h",
15 "pref_hash_calculator.cc",
16 "pref_hash_calculator.h",
17 "pref_hash_filter.cc",
18 "pref_hash_filter.h",
19 "pref_hash_store.h",
20 "pref_hash_store_impl.cc",
21 "pref_hash_store_impl.h",
22 "pref_hash_store_transaction.h",
23 "pref_names.cc",
24 "pref_names.h",
25 "pref_service_hash_store_contents.cc",
26 "pref_service_hash_store_contents.h",
27 "segregated_pref_store.cc",
28 "segregated_pref_store.h",
29 "tracked_atomic_preference.cc",
30 "tracked_atomic_preference.h",
31 "tracked_preference.h",
32 "tracked_preference_helper.cc",
33 "tracked_preference_helper.h",
34 "tracked_preference_validation_delegate.h",
35 "tracked_preferences_migration.cc",
36 "tracked_preferences_migration.h",
37 "tracked_split_preference.cc",
38 "tracked_split_preference.h",
39 ]
40
41 if (is_win) {
42 sources -= [ "device_id_stub.cc" ]
43 }
44
45 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
46 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
47
48 deps = [
49 "//base:base",
50 "//base:prefs",
51 "//crypto:crypto",
52 "//components/pref_registry",
53 ]
54 }
55
56 source_set("user_prefs_tracked_test_support") {
57 testonly = true
58 sources = [
59 "mock_validation_delegate.cc",
60 "mock_validation_delegate.h",
61 ]
62
63 deps = [
64 ":user_prefs_tracked",
65 "//base:base",
66 ]
67 }
68
69 source_set("unit_tests") {
70 testonly = true
71 sources = [
72 "device_id_unittest.cc",
73 "pref_hash_calculator_unittest.cc",
74 "pref_hash_filter_unittest.cc",
75 "pref_hash_store_impl_unittest.cc",
76 "pref_service_hash_store_contents_unittest.cc",
77 "segregated_pref_store_unittest.cc",
78 "tracked_preferences_migration_unittest.cc",
79 ]
80
81 deps = [
82 ":user_prefs_tracked",
83 ":user_prefs_tracked_test_support",
84 "//base:base",
85 "//base:prefs",
86 "//base:prefs_test_support",
87 "//testing/gtest",
88 ]
89 }
OLDNEW
« no previous file with comments | « components/user_prefs.gypi ('k') | components/user_prefs/tracked/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698