summaryrefslogtreecommitdiff
path: root/chromium/chrome/browser/paint_preview/BUILD.gn
blob: ef93b54f912c545db2b05cda8ce131733861d7e7 (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
# Copyright 2020 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.

source_set("services") {
  sources = [
    "services/paint_preview_tab_service.cc",
    "services/paint_preview_tab_service.h",
    "services/paint_preview_tab_service_factory.cc",
    "services/paint_preview_tab_service_factory.h",
  ]

  deps = [
    "//components/keyed_service/core",
    "//components/paint_preview/browser",
    "//components/paint_preview/common",
    "//content/public/browser",
  ]

  if (is_android) {
    sources += [ "paint_preview_compositor_utils.cc" ]

    deps += [ "//chrome/browser/paint_preview/android:jni_headers" ]
  }
}