naiveproxy/extensions/browser/api/web_request/BUILD.gn
2018-08-14 22:19:20 +00:00

58 lines
1.6 KiB
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("web_request") {
sources = [
"form_data_parser.cc",
"form_data_parser.h",
"upload_data_presenter.cc",
"upload_data_presenter.h",
"web_request_api.cc",
"web_request_api.h",
"web_request_api_constants.cc",
"web_request_api_constants.h",
"web_request_api_helpers.cc",
"web_request_api_helpers.h",
"web_request_event_details.cc",
"web_request_event_details.h",
"web_request_event_router_delegate.h",
"web_request_info.cc",
"web_request_info.h",
"web_request_permissions.cc",
"web_request_permissions.h",
"web_request_proxying_url_loader_factory.cc",
"web_request_proxying_url_loader_factory.h",
"web_request_proxying_websocket.cc",
"web_request_proxying_websocket.h",
"web_request_resource_type.cc",
"web_request_resource_type.h",
"web_request_time_tracker.cc",
"web_request_time_tracker.h",
]
configs += [
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
"//build/config/compiler:no_size_t_to_int_warning",
]
deps = [
"//components/web_cache/browser",
"//content/public/browser",
"//content/public/common",
"//extensions/browser/api/declarative_net_request",
"//extensions/common/api",
"//extensions/strings",
"//third_party/re2",
]
public_deps = [
"//extensions/browser:browser_sources",
]
}