chromium/components/reading_list/features/BUILD.gn

import("//build/buildflag_header.gni")
import("//components/reading_list/features/reading_list.gni")

buildflag_header("reading_list_buildflags") {
  header = "reading_list_buildflags.h"
  _enabled = is_ios && enable_reading_list
  flags = [ "ENABLE_READING_LIST=$_enabled" ]
}

source_set("flags") {
  sources = [
    "reading_list_switches.cc",
    "reading_list_switches.h",
  ]
  deps = [
    "//base",
    "//components/sync/base:features",
  ]
  public_deps = [ "//components/reading_list/features:reading_list_buildflags" ]
}