Chromium Code Reviews| Index: components/flags_ui/BUILD.gn |
| diff --git a/components/flags_ui/BUILD.gn b/components/flags_ui/BUILD.gn |
| index 0678f2088dba0ddbcd8793d46c129fb1ed86bd1d..9a3e8cae50aecb1378bd9bd5c57a412e2d00769a 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,30 @@ source_set("flags_ui") { |
| "//base:prefs", |
| "//components/strings", |
| "//ui/base", |
| + ":switches", |
| + ] |
| +} |
| + |
| +source_set("switches") { |
|
Alexei Svitkine (slow)
2015/11/16 21:52:54
Why is this a separate source set? If there's a go
sdefresne
2015/11/17 16:28:56
Done (added a comment).
|
| + sources = [ |
| + "flags_ui_switches.cc", |
| + "flags_ui_switches.h", |
| + ] |
| +} |
| + |
| +source_set("unit_tests") { |
| + testonly = true |
| + sources = [ |
| + "flags_state_unittest.cc", |
| + ] |
| + |
| + deps = [ |
| + "//base", |
| + "//base:prefs", |
| + "//base:prefs_test_support", |
| + "//components/strings", |
| + "//testing/gtest", |
| + ":flags_ui", |
| + ":switches", |
| ] |
| } |