OLD | NEW |
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("user_prefs_tracked") { | 5 static_library("user_prefs_tracked") { |
6 sources = [ | 6 sources = [ |
7 "device_id.h", | 7 "device_id.h", |
8 "device_id_mac.cc", | 8 "device_id_mac.cc", |
9 "device_id_stub.cc", | 9 "device_id_stub.cc", |
10 "device_id_win.cc", | 10 "device_id_win.cc", |
(...skipping 16 matching lines...) Expand all Loading... |
27 "registry_hash_store_contents_win.h", | 27 "registry_hash_store_contents_win.h", |
28 "segregated_pref_store.cc", | 28 "segregated_pref_store.cc", |
29 "segregated_pref_store.h", | 29 "segregated_pref_store.h", |
30 "tracked_atomic_preference.cc", | 30 "tracked_atomic_preference.cc", |
31 "tracked_atomic_preference.h", | 31 "tracked_atomic_preference.h", |
32 "tracked_preference.h", | 32 "tracked_preference.h", |
33 "tracked_preference_helper.cc", | 33 "tracked_preference_helper.cc", |
34 "tracked_preference_helper.h", | 34 "tracked_preference_helper.h", |
35 "tracked_preference_histogram_names.cc", | 35 "tracked_preference_histogram_names.cc", |
36 "tracked_preference_histogram_names.h", | 36 "tracked_preference_histogram_names.h", |
37 "tracked_preference_validation_delegate.h", | |
38 "tracked_preferences_migration.cc", | 37 "tracked_preferences_migration.cc", |
39 "tracked_preferences_migration.h", | 38 "tracked_preferences_migration.h", |
40 "tracked_split_preference.cc", | 39 "tracked_split_preference.cc", |
41 "tracked_split_preference.h", | 40 "tracked_split_preference.h", |
42 ] | 41 ] |
43 | 42 |
44 if (is_win || is_mac) { | 43 if (is_win || is_mac) { |
45 sources -= [ "device_id_stub.cc" ] | 44 sources -= [ "device_id_stub.cc" ] |
46 } | 45 } |
47 | 46 |
48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 47 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
49 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 48 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
50 | 49 |
| 50 public_deps = [ |
| 51 "//services/preferences/public/interfaces", |
| 52 ] |
| 53 |
51 deps = [ | 54 deps = [ |
52 "//base:base", | 55 "//base:base", |
53 "//components/pref_registry", | 56 "//components/pref_registry", |
54 "//components/prefs", | 57 "//components/prefs", |
55 "//crypto:crypto", | 58 "//crypto:crypto", |
56 ] | 59 ] |
57 } | 60 } |
58 | 61 |
59 static_library("user_prefs_tracked_test_support") { | 62 static_library("user_prefs_tracked_test_support") { |
60 testonly = true | 63 testonly = true |
(...skipping 22 matching lines...) Expand all Loading... |
83 | 86 |
84 deps = [ | 87 deps = [ |
85 ":user_prefs_tracked", | 88 ":user_prefs_tracked", |
86 ":user_prefs_tracked_test_support", | 89 ":user_prefs_tracked_test_support", |
87 "//base:base", | 90 "//base:base", |
88 "//base/test:test_support", | 91 "//base/test:test_support", |
89 "//components/prefs:test_support", | 92 "//components/prefs:test_support", |
90 "//testing/gtest", | 93 "//testing/gtest", |
91 ] | 94 ] |
92 } | 95 } |
OLD | NEW |