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

Side by Side Diff: components/reading_list/core/BUILD.gn

Issue 2562643003: Enable RL by default (Closed)
Patch Set: use gn flag 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 unified diff | Download patch
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/buildflag_header.gni")
6 import("//components/reading_list/core/reading_list.gni")
7
8 buildflag_header("enable_flags") {
9 header = "reading_list_enable_flags.h"
10 header_dir = "components/reading_list/core"
11 enabled = is_ios && enable_reading_list
sdefresne 2016/12/09 15:10:59 nit: please name this "_enabled" (variable startin
Olivier 2016/12/09 15:27:38 Done.
12 flags = [ "ENABLE_READING_LIST=$enabled" ]
13 }
14
5 source_set("core") { 15 source_set("core") {
6 sources = [ 16 sources = [
7 "reading_list_switches.cc", 17 "reading_list_switches.cc",
8 "reading_list_switches.h", 18 "reading_list_switches.h",
9 ] 19 ]
10 deps = [ 20 deps = [
21 ":enable_flags",
11 "//base", 22 "//base",
12 ] 23 ]
13 } 24 }
OLDNEW
« no previous file with comments | « no previous file | components/reading_list/core/reading_list.gni » ('j') | components/reading_list/core/reading_list.gni » ('J')

Powered by Google App Engine
This is Rietveld 408576698