| Index: blimp/client/core/settings/BUILD.gn
|
| diff --git a/blimp/client/core/settings/BUILD.gn b/blimp/client/core/settings/BUILD.gn
|
| index 39801cd928cc25ab55cc7761f9c14caa4912a12c..ad1e6f239166214e8f201b110743aa51af4d48b7 100644
|
| --- a/blimp/client/core/settings/BUILD.gn
|
| +++ b/blimp/client/core/settings/BUILD.gn
|
| @@ -15,12 +15,19 @@ source_set("settings") {
|
|
|
| sources = [
|
| "blimp_settings_delegate.h",
|
| + "settings.cc",
|
| + "settings.h",
|
| "settings_feature.cc",
|
| "settings_feature.h",
|
| + "settings_observer.h",
|
| + "settings_prefs.cc",
|
| + "settings_prefs.h",
|
| ]
|
|
|
| deps = [
|
| + "//blimp/client/core/switches",
|
| "//blimp/common",
|
| + "//components/prefs",
|
| "//net",
|
| ]
|
|
|
| @@ -43,6 +50,25 @@ source_set("settings") {
|
| }
|
| }
|
|
|
| +source_set("unit_tests") {
|
| + visibility = [ "//blimp/client/core:unit_tests" ]
|
| +
|
| + testonly = true
|
| +
|
| + sources = [
|
| + "settings_unittest.cc",
|
| + ]
|
| +
|
| + deps = [
|
| + ":settings",
|
| + "//base",
|
| + "//blimp/client/core/switches:switches",
|
| + "//components/prefs:test_support",
|
| + "//testing/gmock",
|
| + "//testing/gtest",
|
| + ]
|
| +}
|
| +
|
| if (is_android) {
|
| android_library("settings_java") {
|
| visibility = [
|
|
|