summaryrefslogtreecommitdiff
path: root/chromium/components/commerce/content/browser/BUILD.gn
blob: 46b1f5975b2162a41e7c120f1fcf5da889405e12 (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
33
# Copyright 2022 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

static_library("browser") {
  sources = [
    "commerce_tab_helper.cc",
    "commerce_tab_helper.h",
    "web_contents_wrapper.cc",
    "web_contents_wrapper.h",
  ]

  deps = [
    "//base",
    "//components/commerce/core:shopping_service",
    "//content/public/browser",
  ]
}

if (!is_android) {
  static_library("hint") {
    sources = [
      "hint/commerce_hint_tab_helper.cc",
      "hint/commerce_hint_tab_helper.h",
    ]

    deps = [
      "//base",
      "//components/commerce/core:heuristics_provider",
      "//content/public/browser",
    ]
  }
}