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

31 lines
743 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_udp") {
sources = [
"sockets_udp_api.cc",
"sockets_udp_api.h",
"udp_socket_event_dispatcher.cc",
"udp_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 = [
"//extensions/common/api",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}