# Copyright 2016 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("printer_provider") {
sources = [
"printer_provider_api.cc",
"printer_provider_api.h",
"printer_provider_api_factory.cc",
"printer_provider_api_factory.h",
"printer_provider_internal_api.cc",
"printer_provider_internal_api.h",
"printer_provider_internal_api_observer.h",
"printer_provider_print_job.cc",
"printer_provider_print_job.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
deps = [
"//components/device_event_log",
"//components/keyed_service/content",
"//content/public/browser",
"//extensions/common",
"//extensions/common/api",
"//services/device/public/cpp/usb",
"//services/device/public/mojom:usb",
]
public_deps = [ "//extensions/browser:browser_sources" ]
}