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 23 matching lines...) Expand all Loading... |
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", | 37 "tracked_preference_validation_delegate.h", |
38 "tracked_preferences_migration.cc", | 38 "tracked_preferences_migration.cc", |
39 "tracked_preferences_migration.h", | 39 "tracked_preferences_migration.h", |
40 "tracked_split_preference.cc", | 40 "tracked_split_preference.cc", |
41 "tracked_split_preference.h", | 41 "tracked_split_preference.h", |
42 ] | 42 ] |
43 | 43 |
44 if (is_win || (is_mac && !is_ios)) { | 44 if (is_win || is_mac) { |
45 sources -= [ "device_id_stub.cc" ] | 45 sources -= [ "device_id_stub.cc" ] |
46 } | 46 } |
47 | 47 |
48 if (is_ios) { | |
49 sources -= [ "device_id_mac.cc" ] | |
50 } | |
51 | |
52 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 48 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
53 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 49 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
54 | 50 |
55 deps = [ | 51 deps = [ |
56 "//base:base", | 52 "//base:base", |
57 "//components/pref_registry", | 53 "//components/pref_registry", |
58 "//components/prefs", | 54 "//components/prefs", |
59 "//crypto:crypto", | 55 "//crypto:crypto", |
60 ] | 56 ] |
61 } | 57 } |
(...skipping 24 matching lines...) Expand all Loading... |
86 ] | 82 ] |
87 | 83 |
88 deps = [ | 84 deps = [ |
89 ":user_prefs_tracked", | 85 ":user_prefs_tracked", |
90 ":user_prefs_tracked_test_support", | 86 ":user_prefs_tracked_test_support", |
91 "//base:base", | 87 "//base:base", |
92 "//components/prefs:test_support", | 88 "//components/prefs:test_support", |
93 "//testing/gtest", | 89 "//testing/gtest", |
94 ] | 90 ] |
95 } | 91 } |
OLD | NEW |