summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/fetch/BUILD.gn
blob: c1716b2723fc8368294b1eb6b1f048f1dc5d721f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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",
    "bytes_consumer_tee.cc",
    "bytes_consumer_tee.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",
    "place_holder_bytes_consumer.cc",
    "place_holder_bytes_consumer.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",
  ]
}