summaryrefslogtreecommitdiff
path: root/chromium/components/feed/BUILD.gn
blob: 74cffcf865ffeff1b8b70447c8f0cbd427cfe626 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2018 The Chromium Authors. All rights reserved.
# 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/feed/features.gni")

# This file is in a separate target so all targets in the build can refer to the
# buildflag header to get the necessary preprocessor defines without bringing in
# any of the feed targets.
buildflag_header("buildflags") {
  header = "buildflags.h"
  flags = [ "ENABLE_FEED_IN_CHROME=$enable_feed_in_chrome" ]
}

static_library("feature_list") {
  sources = [
    "feed_feature_list.cc",
    "feed_feature_list.h",
  ]

  deps = [
    "//base",
  ]
}

source_set("unit_tests") {
  testonly = true
  deps = [
    "core:core_unit_tests",
  ]
}