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

Side by Side Diff: third_party/WebKit/Source/platform/loader/BUILD.gn

Issue 2584423002: Loading: move core/fetch to platform/loader/fetch (Closed)
Patch Set: rebase 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 unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright 2017 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
6 import("//third_party/WebKit/Source/platform/platform_generated.gni")
7
8 make_names("make_platform_loader_generated_fetch_initiator_type_names") {
9 in_files = [ "fetch/FetchInitiatorTypeNames.in" ]
10 outputs = [
11 "$blink_platform_output_dir/loader/fetch/FetchInitiatorTypeNames.cpp",
12 "$blink_platform_output_dir/loader/fetch/FetchInitiatorTypeNames.h",
13 ]
14 }
15
16 source_set("loader") {
17 # This target is a logical part of the platform and only the platform target
18 # should depend on it.
19 visibility = [ "//third_party/WebKit/Source/platform" ]
20
21 sources = [
22 "fetch/AccessControlStatus.h",
23 "fetch/CachedMetadata.cpp",
24 "fetch/CachedMetadata.h",
25 "fetch/CachedMetadataHandler.h",
26 "fetch/ClientHintsPreferences.cpp",
27 "fetch/ClientHintsPreferences.h",
28 "fetch/CrossOriginAccessControl.cpp",
29 "fetch/CrossOriginAccessControl.h",
30 "fetch/FetchContext.cpp",
31 "fetch/FetchContext.h",
32 "fetch/FetchInitiatorInfo.h",
33 "fetch/FetchRequest.cpp",
34 "fetch/FetchRequest.h",
35 "fetch/FetchUtils.cpp",
36 "fetch/FetchUtils.h",
37 "fetch/IntegrityMetadata.cpp",
38 "fetch/IntegrityMetadata.h",
39 "fetch/MemoryCache.cpp",
40 "fetch/MemoryCache.h",
41 "fetch/RawResource.cpp",
42 "fetch/RawResource.h",
43 "fetch/Resource.cpp",
44 "fetch/Resource.h",
45 "fetch/ResourceClient.h",
46 "fetch/ResourceClientWalker.h",
47 "fetch/ResourceFetcher.cpp",
48 "fetch/ResourceFetcher.h",
49 "fetch/ResourceLoader.cpp",
50 "fetch/ResourceLoader.h",
51 "fetch/ResourceLoaderOptions.h",
52 "fetch/ResourceLoadingLog.h",
53 "fetch/ResourceStatus.h",
54 "fetch/SubstituteData.h",
55 "fetch/UniqueIdentifier.cpp",
56 "fetch/UniqueIdentifier.h",
57 ]
58
59 sources += get_target_outputs(
60 ":make_platform_loader_generated_fetch_initiator_type_names")
61
62 defines = [ "BLINK_PLATFORM_IMPLEMENTATION=1" ]
63
64 configs += [
65 "//third_party/WebKit/Source:config",
66 "//third_party/WebKit/Source:non_test_config",
67 "//third_party/WebKit/Source:inside_blink",
68
69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
70 "//build/config/compiler:no_size_t_to_int_warning",
71 ]
72
73 deps = [
74 ":make_platform_loader_generated_fetch_initiator_type_names",
75 ]
76
77 public_deps = [
78 "//base",
79 "//skia",
80 "//third_party/icu",
81 "//v8",
82 ]
83 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698