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

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

Issue 2562643003: Enable RL by default (Closed)
Patch Set: add unittest datatype Created 4 years 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 | « no previous file | 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 52dbc37326d1c354765936715725ca02e3978b5f..f45b10c0b421a0dfb83bfe035648d24655d0c021 100644
--- a/components/reading_list/core/BUILD.gn
+++ b/components/reading_list/core/BUILD.gn
@@ -2,12 +2,22 @@
# 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")
+
source_set("core") {
sources = [
"reading_list_switches.cc",
"reading_list_switches.h",
]
deps = [
+ ":reading_list_enable_flags",
"//base",
]
}
+
+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 | « no previous file | components/reading_list/core/reading_list.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698