chromium/extensions/browser/api/serial/BUILD.gn

# 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("serial") {
  sources = [
    "serial_api.cc",
    "serial_api.h",
    "serial_connection.cc",
    "serial_connection.h",
    "serial_port_manager.cc",
    "serial_port_manager.h",
  ]

  configs += [ "//build/config/compiler:wexit_time_destructors" ]

  deps = [
    "//content/public/common",
    "//extensions/common",
    "//extensions/common/api",
    "//mojo/public/cpp/bindings",
    "//services/device/public/mojom",
    "//services/service_manager/public/cpp",
  ]

  public_deps = [
    "//content/public/browser",
    "//extensions/browser:browser_sources",
  ]
}