Index: components/flags_ui/BUILD.gn |
diff --git a/components/flags_ui/BUILD.gn b/components/flags_ui/BUILD.gn |
index 0678f2088dba0ddbcd8793d46c129fb1ed86bd1d..c88c2dded602f88410dccb4df475e9ff8ef7139c 100644 |
--- a/components/flags_ui/BUILD.gn |
+++ b/components/flags_ui/BUILD.gn |
@@ -7,6 +7,8 @@ source_set("flags_ui") { |
"feature_entry.cc", |
"feature_entry.h", |
"feature_entry_macros.h", |
+ "flags_state.cc", |
+ "flags_state.h", |
"flags_storage.h", |
"flags_ui_constants.cc", |
"flags_ui_constants.h", |
@@ -21,5 +23,29 @@ source_set("flags_ui") { |
"//base:prefs", |
"//components/strings", |
"//ui/base", |
+ ":switches", |
+ ] |
+} |
+ |
+source_set("switches") { |
+ sources = [ |
+ "flags_ui_switches.cc", |
+ "flags_ui_switches.h", |
+ ] |
+} |
+ |
+source_set("unit_tests") { |
+ testonly = true |
+ sources = [ |
+ "flags_state_unittest.cc", |
+ ] |
+ |
+ deps = [ |
+ "//base", |
+ "//base:prefs", |
+ "//components/strings", |
+ "//testing/gtest", |
+ ":flags_ui", |
+ ":switches", |
] |
} |