Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1274)

Unified Diff: third_party/WebKit/Source/platform/loader/BUILD.gn

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: another try Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/loader/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/loader/BUILD.gn
diff --git a/third_party/WebKit/Source/platform/loader/BUILD.gn b/third_party/WebKit/Source/platform/loader/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..abacdd58c40eac2a970585a0eb4ee9823726eb42
--- /dev/null
+++ b/third_party/WebKit/Source/platform/loader/BUILD.gn
@@ -0,0 +1,83 @@
+# 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/WebKit/Source/build/scripts/scripts.gni")
+import("//third_party/WebKit/Source/platform/platform_generated.gni")
+
+make_names("make_platform_loader_generated_fetch_initiator_type_names") {
+ in_files = [ "fetch/FetchInitiatorTypeNames.in" ]
+ outputs = [
+ "$blink_platform_output_dir/loader/fetch/FetchInitiatorTypeNames.cpp",
+ "$blink_platform_output_dir/loader/fetch/FetchInitiatorTypeNames.h",
+ ]
+}
+
+source_set("loader") {
+ # This target is a logical part of the platform and only the platform target
+ # should depend on it.
+ visibility = [ "//third_party/WebKit/Source/platform" ]
+
+ sources = [
+ "fetch/AccessControlStatus.h",
+ "fetch/CachedMetadata.cpp",
+ "fetch/CachedMetadata.h",
+ "fetch/CachedMetadataHandler.h",
+ "fetch/ClientHintsPreferences.cpp",
+ "fetch/ClientHintsPreferences.h",
+ "fetch/CrossOriginAccessControl.cpp",
+ "fetch/CrossOriginAccessControl.h",
+ "fetch/FetchContext.cpp",
+ "fetch/FetchContext.h",
+ "fetch/FetchInitiatorInfo.h",
+ "fetch/FetchRequest.cpp",
+ "fetch/FetchRequest.h",
+ "fetch/FetchUtils.cpp",
+ "fetch/FetchUtils.h",
+ "fetch/IntegrityMetadata.cpp",
+ "fetch/IntegrityMetadata.h",
+ "fetch/MemoryCache.cpp",
+ "fetch/MemoryCache.h",
+ "fetch/RawResource.cpp",
+ "fetch/RawResource.h",
+ "fetch/Resource.cpp",
+ "fetch/Resource.h",
+ "fetch/ResourceClient.h",
+ "fetch/ResourceClientWalker.h",
+ "fetch/ResourceFetcher.cpp",
+ "fetch/ResourceFetcher.h",
+ "fetch/ResourceLoader.cpp",
+ "fetch/ResourceLoader.h",
+ "fetch/ResourceLoaderOptions.h",
+ "fetch/ResourceLoadingLog.h",
+ "fetch/ResourceStatus.h",
+ "fetch/SubstituteData.h",
+ "fetch/UniqueIdentifier.cpp",
+ "fetch/UniqueIdentifier.h",
+ ]
+
+ sources += get_target_outputs(
+ ":make_platform_loader_generated_fetch_initiator_type_names")
+
+ defines = [ "BLINK_PLATFORM_IMPLEMENTATION=1" ]
+
+ configs += [
+ "//third_party/WebKit/Source:config",
+ "//third_party/WebKit/Source:non_test_config",
+ "//third_party/WebKit/Source:inside_blink",
+
+ # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
+ "//build/config/compiler:no_size_t_to_int_warning",
+ ]
+
+ deps = [
+ ":make_platform_loader_generated_fetch_initiator_type_names",
+ ]
+
+ public_deps = [
+ "//base",
+ "//skia",
+ "//third_party/icu",
+ "//v8",
+ ]
+}
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | third_party/WebKit/Source/platform/loader/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698