chromium/chrome/browser/paint_preview/BUILD.gn

# Copyright 2020 The Chromium Authors
# 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",
    "services/paint_preview_tab_service_file_mixin.cc",
    "services/paint_preview_tab_service_file_mixin.h",
  ]

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//chrome/browser/profiles",
    "//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" ]
  }
}