summaryrefslogtreecommitdiff
path: root/chromium/extensions/browser/api/offscreen/BUILD.gn
blob: 4888a47bddcd59ca4ef295b6fed397470e7cb91f (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
# 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.

import("//extensions/buildflags/buildflags.gni")

assert(enable_extensions,
       "Cannot depend on extensions because enable_extensions=false.")

source_set("offscreen") {
  sources = [
    "offscreen_api.cc",
    "offscreen_api.h",
    "offscreen_document_manager.cc",
    "offscreen_document_manager.h",
  ]

  deps = [
    "//base",
    "//components/keyed_service/content",
    "//content/public/browser",
    "//extensions/common",
    "//extensions/common/api",
  ]

  public_deps = [ "//extensions/browser:browser_sources" ]
}