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

Unified 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: Moved to //components/user_prefs/tracked Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: components/user_prefs/tracked/BUILD.gn
diff --git a/components/user_prefs/tracked/BUILD.gn b/components/user_prefs/tracked/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..44a6c3c035f944dffcbb44feafebc93a7b04884f
--- /dev/null
+++ b/components/user_prefs/tracked/BUILD.gn
@@ -0,0 +1,70 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# GYP version: components/prefs_tracker.gyp:prefs_tracker
blundell 2015/07/29 09:40:32 out of date.
Jitu( very slow this week) 2015/07/29 13:32:00 Removed...
+static_library("tracked") {
+ sources = [
+ "device_id.h",
+ "device_id_stub.cc",
+ "device_id_win.cc",
+ "dictionary_hash_store_contents.cc",
+ "dictionary_hash_store_contents.h",
+ "hash_store_contents.h",
+ "interceptable_pref_filter.cc",
+ "interceptable_pref_filter.h",
+ "pref_hash_calculator.cc",
+ "pref_hash_calculator.h",
+ "pref_hash_filter.cc",
+ "pref_hash_filter.h",
+ "pref_hash_store.h",
+ "pref_hash_store_impl.cc",
+ "pref_hash_store_impl.h",
+ "pref_hash_store_transaction.h",
+ "pref_names.cc",
+ "pref_names.h",
+ "pref_service_hash_store_contents.cc",
+ "pref_service_hash_store_contents.h",
+ "segregated_pref_store.cc",
+ "segregated_pref_store.h",
+ "tracked_atomic_preference.cc",
+ "tracked_atomic_preference.h",
+ "tracked_preference.h",
+ "tracked_preference_helper.cc",
+ "tracked_preference_helper.h",
+ "tracked_preference_validation_delegate.h",
+ "tracked_preferences_migration.cc",
+ "tracked_preferences_migration.h",
+ "tracked_split_preference.cc",
+ "tracked_split_preference.h",
+ ]
+
+ deps = [
+ "//components/pref_registry",
+ ]
+}
+
+source_set("tracked_test_support") {
+ testonly = true
+ sources = [
+ "mock_validation_delegate.cc",
+ "mock_validation_delegate.h",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "device_id_unittest.cc",
+ "pref_hash_calculator_unittest.cc",
+ "pref_hash_filter_unittest.cc",
+ "pref_hash_store_impl_unittest.cc",
+ "pref_service_hash_store_contents_unittest.cc",
+ "segregated_pref_store_unittest.cc",
+ "tracked_preferences_migration_unittest.cc",
+ ]
+
+ deps = [
+ ":tracked_test_support",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698