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

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

Issue 2732243005: platform/loader: move test support files definition to loader/BUILD.gn (Closed)
Patch Set: rebase Created 3 years, 9 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
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2017 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//third_party/WebKit/Source/build/scripts/scripts.gni") 5 import("//third_party/WebKit/Source/build/scripts/scripts.gni")
6 import("//third_party/WebKit/Source/platform/platform_generated.gni") 6 import("//third_party/WebKit/Source/platform/platform_generated.gni")
7 7
8 make_names("make_platform_loader_generated_fetch_initiator_type_names") { 8 make_names("make_platform_loader_generated_fetch_initiator_type_names") {
9 in_files = [ "fetch/FetchInitiatorTypeNames.json5" ] 9 in_files = [ "fetch/FetchInitiatorTypeNames.json5" ]
10 outputs = [ 10 outputs = [
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 "//third_party/WebKit/Source/wtf:wtf_config", 111 "//third_party/WebKit/Source/wtf:wtf_config",
112 "//third_party/WebKit/Source:config", 112 "//third_party/WebKit/Source:config",
113 ] 113 ]
114 114
115 deps = [ 115 deps = [
116 "//testing/gmock", 116 "//testing/gmock",
117 "//testing/gtest", 117 "//testing/gtest",
118 "//third_party/WebKit/Source/platform", 118 "//third_party/WebKit/Source/platform",
119 ] 119 ]
120 } 120 }
121
122 source_set("test_support") {
123 # This target defines test files for platform:test_support that
124 # blink_platform_unittests and webkit_unit_tests can use.
125 visibility = [ "//third_party/WebKit/Source/platform:test_support" ]
126 testonly = true
127
128 # Source files that can be called from blink_platform_unittests and
129 # webkit_unit_tests.
130 sources = [
131 "testing/FetchTestingPlatformSupport.cpp",
132 "testing/FetchTestingPlatformSupport.h",
133 "testing/MockFetchContext.h",
134 "testing/MockResource.cpp",
135 "testing/MockResource.h",
136 "testing/MockResourceClient.cpp",
137 "testing/MockResourceClient.h",
138 ]
139
140 defines = [ "INSIDE_BLINK" ]
141
142 configs += [
143 "//third_party/WebKit/Source/wtf:wtf_config",
144 "//third_party/WebKit/Source:config",
145 ]
146
147 deps = [
148 "//third_party/WebKit/Source/platform",
149 ]
150 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698