OLD | NEW |
(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 source -= [ "device_id_stub.cc" ] |
| 43 } |
| 44 |
| 45 deps = [ |
| 46 "//components/pref_registry", |
| 47 ] |
| 48 } |
| 49 |
| 50 source_set("user_prefs_tracked_test_support") { |
| 51 testonly = true |
| 52 sources = [ |
| 53 "mock_validation_delegate.cc", |
| 54 "mock_validation_delegate.h", |
| 55 ] |
| 56 } |
| 57 |
| 58 source_set("unit_tests") { |
| 59 testonly = true |
| 60 sources = [ |
| 61 "device_id_unittest.cc", |
| 62 "pref_hash_calculator_unittest.cc", |
| 63 "pref_hash_filter_unittest.cc", |
| 64 "pref_hash_store_impl_unittest.cc", |
| 65 "pref_service_hash_store_contents_unittest.cc", |
| 66 "segregated_pref_store_unittest.cc", |
| 67 "tracked_preferences_migration_unittest.cc", |
| 68 ] |
| 69 |
| 70 deps = [ |
| 71 ":user_prefs_tracked_test_support", |
| 72 ] |
| 73 } |
OLD | NEW |