Index: components/reading_list/core/BUILD.gn |
diff --git a/components/reading_list/core/BUILD.gn b/components/reading_list/core/BUILD.gn |
index a5d4f131998fd90cdae278fcf7e6dfcd726ccc10..f40368b667f89435b1c394abe9e348672dcfa7ba 100644 |
--- a/components/reading_list/core/BUILD.gn |
+++ b/components/reading_list/core/BUILD.gn |
@@ -2,8 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-import("//build/buildflag_header.gni") |
-import("//components/reading_list/core/reading_list.gni") |
+import("//components/reading_list/features/reading_list.gni") |
source_set("core") { |
sources = [ |
@@ -25,10 +24,10 @@ source_set("core") { |
"reading_list_store_delegate.h", |
] |
deps = [ |
- ":flags", |
"//base", |
"//components/keyed_service/core", |
"//components/prefs", |
+ "//components/reading_list/features:flags", |
"//components/sync", |
"//net", |
"//url", |
@@ -56,22 +55,3 @@ source_set("unit_tests") { |
"//url", |
] |
} |
- |
-source_set("flags") { |
- sources = [ |
- "reading_list_switches.cc", |
- "reading_list_switches.h", |
- ] |
- deps = [ |
- "//base", |
- ] |
- public_deps = [ |
- ":reading_list_enable_flags", |
- ] |
-} |
- |
-buildflag_header("reading_list_enable_flags") { |
- header = "reading_list_enable_flags.h" |
- _enabled = is_ios && enable_reading_list |
- flags = [ "ENABLE_READING_LIST=$_enabled" ] |
-} |