| # Copyright 2017 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("//third_party/blink/renderer/core/core.gni") |
| |
| blink_core_sources("fetch") { |
| sources = [ |
| "blob_bytes_consumer.cc", |
| "blob_bytes_consumer.h", |
| "body.cc", |
| "body.h", |
| "body_stream_buffer.cc", |
| "body_stream_buffer.h", |
| "buffering_bytes_consumer.cc", |
| "buffering_bytes_consumer.h", |
| "bytes_consumer.cc", |
| "bytes_consumer.h", |
| "bytes_consumer_for_data_consumer_handle.cc", |
| "bytes_consumer_for_data_consumer_handle.h", |
| "data_pipe_bytes_consumer.cc", |
| "data_pipe_bytes_consumer.h", |
| "fetch_data_loader.cc", |
| "fetch_data_loader.h", |
| "fetch_header_list.cc", |
| "fetch_header_list.h", |
| "fetch_manager.cc", |
| "fetch_manager.h", |
| "fetch_request_data.cc", |
| "fetch_request_data.h", |
| "fetch_response_data.cc", |
| "fetch_response_data.h", |
| "form_data_bytes_consumer.cc", |
| "form_data_bytes_consumer.h", |
| "global_fetch.cc", |
| "global_fetch.h", |
| "headers.cc", |
| "headers.h", |
| "multipart_parser.cc", |
| "multipart_parser.h", |
| "readable_stream_bytes_consumer.cc", |
| "readable_stream_bytes_consumer.h", |
| "request.cc", |
| "request.h", |
| "response.cc", |
| "response.h", |
| ] |
| |
| if (is_win && is_component_build) { |
| # Body.cpp exports a class (CORE_EXPORT) that inherits from |
| # PairIterable<String, String> that is also used as base class by an |
| # imported (CORE_EXPORT) class and that confuses the Windows |
| # linker/compiler. https://crbug.com/739340 |
| jumbo_excluded_sources = [ "body.cc" ] |
| } |
| |
| public_deps = [ |
| "//third_party/blink/renderer/platform", |
| ] |
| } |