| # Copyright 2016 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. |
| |
| 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", |
| ] |
| |
| deps = [ |
| "//content/public/common", |
| "//extensions/browser/api", |
| "//extensions/common/api", |
| "//mojo/public/cpp/bindings", |
| "//services/device/public/mojom", |
| "//services/service_manager/public/cpp", |
| ] |
| |
| public_deps = [ "//extensions/browser:browser_sources" ] |
| } |