naiveproxy/extensions/browser/api/bluetooth_socket/BUILD.gn
2018-12-09 21:59:24 -05:00

33 lines
831 B
Plaintext

# 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("bluetooth_socket") {
sources = [
"bluetooth_api_socket.cc",
"bluetooth_api_socket.h",
"bluetooth_socket_api.cc",
"bluetooth_socket_api.h",
"bluetooth_socket_event_dispatcher.cc",
"bluetooth_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",
]
}