Chromium Code Reviews| 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..b8893d62865f564aa198699a6060d5e5f8509302 100644 |
| --- a/components/reading_list/core/BUILD.gn |
| +++ b/components/reading_list/core/BUILD.gn |
| @@ -2,12 +2,23 @@ |
| # 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") |
| + |
| +buildflag_header("enable_flags") { |
| + header = "reading_list_enable_flags.h" |
| + header_dir = "components/reading_list/core" |
|
sdefresne
2016/12/09 15:37:15
nit: I think you can remove this as it is the defa
Olivier
2016/12/09 15:47:19
Done.
|
| + _enabled = is_ios && enable_reading_list |
| + flags = [ "ENABLE_READING_LIST=$_enabled" ] |
| +} |
| + |
| source_set("core") { |
| sources = [ |
| "reading_list_switches.cc", |
| "reading_list_switches.h", |
| ] |
| deps = [ |
| + ":enable_flags", |
| "//base", |
| ] |
| } |