naiveproxy/third_party/WebKit/Source/modules/fetch/BUILD.gn

59 lines
1.6 KiB
Plaintext
Raw Normal View History

2018-02-02 13:49:39 +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("//third_party/WebKit/Source/modules/modules.gni")
blink_modules_sources("fetch") {
sources = [
"BlobBytesConsumer.cpp",
"BlobBytesConsumer.h",
"Body.cpp",
"Body.h",
"BodyStreamBuffer.cpp",
"BodyStreamBuffer.h",
"BytesConsumer.cpp",
"BytesConsumer.h",
"BytesConsumerForDataConsumerHandle.cpp",
"BytesConsumerForDataConsumerHandle.h",
"FetchDataLoader.cpp",
"FetchDataLoader.h",
"FetchHeaderList.cpp",
"FetchHeaderList.h",
"FetchManager.cpp",
"FetchManager.h",
"FetchRequestData.cpp",
"FetchRequestData.h",
"FetchResponseData.cpp",
"FetchResponseData.h",
"FormDataBytesConsumer.cpp",
"FormDataBytesConsumer.h",
"GlobalFetch.cpp",
"GlobalFetch.h",
"Headers.cpp",
"Headers.h",
"MultipartParser.cpp",
"MultipartParser.h",
"ReadableStreamBytesConsumer.cpp",
"ReadableStreamBytesConsumer.h",
"Request.cpp",
"Request.h",
"RequestInit.cpp",
"RequestInit.h",
"Response.cpp",
"Response.h",
]
if (is_win && is_component_build) {
# Body.cpp exports a class (MODULES_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.cpp" ]
}
public_deps = [
"//third_party/WebKit/Source/platform",
]
}