Index: services/preferences/public/cpp/tracked/BUILD.gn |
diff --git a/services/preferences/public/cpp/tracked/BUILD.gn b/services/preferences/public/cpp/tracked/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..94472fba8fe55d0ad5099b9fb6eee2b08c99c4c9 |
--- /dev/null |
+++ b/services/preferences/public/cpp/tracked/BUILD.gn |
@@ -0,0 +1,45 @@ |
+# Copyright 2014 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. |
+ |
+static_library("tracked") { |
+ sources = [ |
+ "configuration.cc", |
+ "configuration.h", |
+ "pref_names.cc", |
+ "pref_names.h", |
+ "tracked_preference_histogram_names.cc", |
+ "tracked_preference_histogram_names.h", |
+ ] |
+ |
+ if (is_win || is_mac) { |
+ sources -= [ "device_id_stub.cc" ] |
gab
2017/03/29 16:27:56
device_id_stub.cc isn't in the public list so this
Sam McNally
2017/03/30 02:23:22
Done.
|
+ } |
+ |
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
+ configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
gab
2017/03/29 16:27:56
Maybe this can go away as well?
Sam McNally
2017/03/30 02:23:22
Done.
|
+ |
+ public_deps = [ |
+ "//services/preferences/public/interfaces", |
+ ] |
+ |
+ deps = [ |
+ "//base:base", |
+ "//components/pref_registry", |
+ "//components/prefs", |
+ "//crypto:crypto", |
gab
2017/03/29 16:27:56
Why is crypto needed? Think you only need it in no
Sam McNally
2017/03/30 02:23:22
Done.
|
+ ] |
+} |
+ |
+static_library("test_support") { |
+ testonly = true |
+ sources = [ |
+ "mock_validation_delegate.cc", |
+ "mock_validation_delegate.h", |
+ ] |
+ |
+ deps = [ |
+ "//base:base", |
+ "//services/preferences/public/interfaces", |
+ ] |
+} |