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

Unified Diff: components/reading_list/features/BUILD.gn

Issue 2859033002: [sync] Add constexpr to EnumSet (Closed)
Patch Set: Move reading list switches and buildflag to /features Created 3 years, 6 months 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/reading_list/features/BUILD.gn
diff --git a/components/reading_list/features/BUILD.gn b/components/reading_list/features/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..948c8be01fdb90ac2be521a3608cc90978ec5fd7
--- /dev/null
+++ b/components/reading_list/features/BUILD.gn
@@ -0,0 +1,21 @@
+import("//build/buildflag_header.gni")
+import("//components/reading_list/features/reading_list.gni")
+
+buildflag_header("reading_list_enable_flags") {
+ header = "reading_list_enable_flags.h"
+ _enabled = is_ios && enable_reading_list
+ flags = [ "ENABLE_READING_LIST=$_enabled" ]
+}
+
+source_set("flags") {
+ sources = [
+ "reading_list_switches.cc",
+ "reading_list_switches.h",
+ ]
+ deps = [
+ "//base",
+ ]
+ public_deps = [
+ "//components/reading_list/features:reading_list_enable_flags",
+ ]
+}
« no previous file with comments | « components/reading_list/core/reading_list_switches.cc ('k') | components/reading_list/features/reading_list.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698