naiveproxy/extensions/browser/api/messaging/BUILD.gn

40 lines
970 B
Plaintext
Raw Normal View History

2018-08-11 08:35:24 +03:00
# 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("messaging") {
sources = [
"extension_message_port.cc",
"extension_message_port.h",
"message_port.cc",
"message_port.h",
"message_property_provider.cc",
"message_property_provider.h",
"message_service.cc",
"message_service.h",
"messaging_delegate.cc",
"messaging_delegate.h",
"native_message_host.cc",
"native_message_host.h",
"native_messaging_channel.h",
]
deps = [
"//base",
"//content/public/browser",
"//content/public/common",
"//extensions/common",
"//extensions/common/api",
"//net",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}