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

34 lines
802 B
Plaintext
Raw Normal View History

2018-08-15 01:19:20 +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("sockets_tcp") {
sources = [
"sockets_tcp_api.cc",
"sockets_tcp_api.h",
"tcp_socket_event_dispatcher.cc",
"tcp_socket_event_dispatcher.h",
]
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
deps = [
"//base",
"//content/public/browser",
"//extensions/common/api",
"//net",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}