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

Unified Diff: components/flags_ui/BUILD.gn

Issue 1411453004: Componentize internal class FlagsState in flags_ui component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@feature_entry
Patch Set: Fix build with gn and typo in gyp file Created 5 years, 1 month 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/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",
]
}

Powered by Google App Engine
This is Rietveld 408576698