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

Unified Diff: components/reading_list/core/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
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/reading_list/core/reading_list.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
-}
« no previous file with comments | « components/browser_sync/profile_sync_service.cc ('k') | components/reading_list/core/reading_list.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698