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

39 lines
952 B
Plaintext
Raw Normal View History

2018-01-28 21:32:06 +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/features/features.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 = [
"//content/public/browser",
"//content/public/common",
"//extensions/common",
"//extensions/common/api",
"//net",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}