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

Side by Side Diff: components/html_viewer/BUILD.gn

Issue 1218323002: Hook up test runner to new layout_test_html_viewer (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 5 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 | « PRESUBMIT.py ('k') | components/html_viewer/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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("//build/module_args/v8.gni") 5 import("//build/module_args/v8.gni")
6 import("//mojo/public/mojo_application.gni") 6 import("//mojo/public/mojo_application.gni")
7 import("//testing/test.gni") 7 import("//testing/test.gni")
8 import("//tools/grit/grit_rule.gni") 8 import("//tools/grit/grit_rule.gni")
9 import("//tools/grit/repack.gni") 9 import("//tools/grit/repack.gni")
10 10
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 "ax_provider_impl.h", 60 "ax_provider_impl.h",
61 "blink_basic_type_converters.cc", 61 "blink_basic_type_converters.cc",
62 "blink_basic_type_converters.h", 62 "blink_basic_type_converters.h",
63 "blink_input_events_type_converters.cc", 63 "blink_input_events_type_converters.cc",
64 "blink_input_events_type_converters.h", 64 "blink_input_events_type_converters.h",
65 "blink_platform_impl.cc", 65 "blink_platform_impl.cc",
66 "blink_platform_impl.h", 66 "blink_platform_impl.h",
67 "blink_resource_constants.h", 67 "blink_resource_constants.h",
68 "blink_url_request_type_converters.cc", 68 "blink_url_request_type_converters.cc",
69 "blink_url_request_type_converters.h", 69 "blink_url_request_type_converters.h",
70 "content_handler_impl.cc",
71 "content_handler_impl.h",
70 "devtools_agent_impl.cc", 72 "devtools_agent_impl.cc",
71 "devtools_agent_impl.h", 73 "devtools_agent_impl.h",
72 "discardable_memory_allocator.cc", 74 "discardable_memory_allocator.cc",
73 "discardable_memory_allocator.h", 75 "discardable_memory_allocator.h",
74 "document_resource_waiter.cc", 76 "document_resource_waiter.cc",
75 "document_resource_waiter.h", 77 "document_resource_waiter.h",
76 "frame.cc", 78 "frame.cc",
77 "frame.h", 79 "frame.h",
78 "frame_tree_manager.cc", 80 "frame_tree_manager.cc",
79 "frame_tree_manager.h", 81 "frame_tree_manager.h",
80 "frame_tree_manager_delegate.h", 82 "frame_tree_manager_delegate.h",
81 "geolocation_client_impl.cc", 83 "geolocation_client_impl.cc",
82 "geolocation_client_impl.h", 84 "geolocation_client_impl.h",
83 "global_state.cc", 85 "global_state.cc",
84 "global_state.h", 86 "global_state.h",
85 "html_document.cc", 87 "html_document.cc",
86 "html_document.h", 88 "html_document.h",
89 "html_document_application_delegate.cc",
90 "html_document_application_delegate.h",
87 "html_document_oopif.cc", 91 "html_document_oopif.cc",
88 "html_document_oopif.h", 92 "html_document_oopif.h",
93 "html_viewer.cc",
94 "html_viewer.h",
95 "html_viewer_switches.cc",
96 "html_viewer_switches.h",
89 "media_factory.cc", 97 "media_factory.cc",
90 "media_factory.h", 98 "media_factory.h",
91 "mock_web_blob_registry_impl.cc", 99 "mock_web_blob_registry_impl.cc",
92 "mock_web_blob_registry_impl.h", 100 "mock_web_blob_registry_impl.h",
93 "test_html_viewer_impl.cc", 101 "test_html_viewer_impl.cc",
94 "test_html_viewer_impl.h", 102 "test_html_viewer_impl.h",
95 "touch_handler.cc", 103 "touch_handler.cc",
96 "touch_handler.h", 104 "touch_handler.h",
97 "web_clipboard_impl.cc", 105 "web_clipboard_impl.cc",
98 "web_clipboard_impl.h", 106 "web_clipboard_impl.h",
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 "//components/view_manager/public/interfaces", 143 "//components/view_manager/public/interfaces",
136 "//components/webcrypto", 144 "//components/webcrypto",
137 "//gin", 145 "//gin",
138 "//mandoline/services/navigation/public/interfaces", 146 "//mandoline/services/navigation/public/interfaces",
139 "//mandoline/tab/public/interfaces", 147 "//mandoline/tab/public/interfaces",
140 "//media", 148 "//media",
141 "//media/blink", 149 "//media/blink",
142 "//media/mojo", 150 "//media/mojo",
143 "//mojo/application/public/cpp", 151 "//mojo/application/public/cpp",
144 "//mojo/cc", 152 "//mojo/cc",
153 "//mojo/common",
145 "//mojo/converters/surfaces", 154 "//mojo/converters/surfaces",
155 "//mojo/platform_handle",
146 "//mojo/services/network/public/cpp", 156 "//mojo/services/network/public/cpp",
147 "//mojo/services/network/public/interfaces", 157 "//mojo/services/network/public/interfaces",
148 "//net", 158 "//net",
149 "//skia", 159 "//skia",
150 "//third_party/mojo_services/src/accessibility/public/interfaces", 160 "//third_party/mojo_services/src/accessibility/public/interfaces",
151 "//ui/mojo/events:interfaces", 161 "//ui/mojo/events:interfaces",
152 "//ui/events", 162 "//ui/events",
153 "//ui/events:gesture_detection", 163 "//ui/events:gesture_detection",
154 "//ui/events/blink", 164 "//ui/events/blink",
155 "//ui/events/gestures/blink", 165 "//ui/events/gestures/blink",
(...skipping 14 matching lines...) Expand all
170 ":generate_blink_resource_map", 180 ":generate_blink_resource_map",
171 ] 181 ]
172 182
173 if (is_win) { 183 if (is_win) {
174 sources += [ "html_viewer_version.rc" ] 184 sources += [ "html_viewer_version.rc" ]
175 } 185 }
176 186
177 data_deps = [ 187 data_deps = [
178 "//components/clipboard", 188 "//components/clipboard",
179 "//components/view_manager", 189 "//components/view_manager",
190 "//mojo/services/network:network",
180 ] 191 ]
181 } 192 }
182 193
183 mojo_native_application("html_viewer") { 194 mojo_native_application("html_viewer") {
184 sources = [ 195 sources = [
185 "content_handler_impl.cc",
186 "content_handler_impl.h",
187 "html_document_application_delegate.cc",
188 "html_document_application_delegate.h",
189 "html_viewer.cc",
190 "html_viewer.h",
191 "html_viewer_main.cc", 196 "html_viewer_main.cc",
192 "html_viewer_switches.cc",
193 "html_viewer_switches.h",
194 ] 197 ]
195 deps = [ 198 deps = [
196 ":html_viewer_resources_grit", 199 ":html_viewer_resources_grit",
197 ":lib", 200 ":lib",
198 "//mojo/common",
199 "//mojo/platform_handle",
200 "//third_party/icu:icudata", 201 "//third_party/icu:icudata",
201 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", 202 "//third_party/mojo/src/mojo/public/c/system:for_shared_library",
202 "//ui/resources:ui_test_pak", 203 "//ui/resources:ui_test_pak",
203 ] 204 ]
204 data_deps = [ "//mojo/services/network:network" ]
205 resources = [ 205 resources = [
206 "$root_out_dir/icudtl.dat", 206 "$root_out_dir/icudtl.dat",
207 "$root_out_dir/ui_test.pak", 207 "$root_out_dir/ui_test.pak",
208 "$target_gen_dir/html_viewer_resources.pak",
209 ]
210
211 if (v8_use_external_startup_data) {
212 resources += [
213 "$root_build_dir/natives_blob.bin",
214 "$root_build_dir/snapshot_blob.bin",
215 ]
216 deps += [ "//gin" ]
217 }
218 }
219
220 mojo_native_application("layout_test_html_viewer") {
221 testonly = true
222 sources = [
223 "layout_test_content_handler_impl.cc",
224 "layout_test_content_handler_impl.h",
225 "layout_test_html_viewer.cc",
226 "layout_test_html_viewer.h",
227 "layout_test_html_viewer_main.cc",
228 "web_test_delegate_impl.cc",
229 "web_test_delegate_impl.h",
230 ]
231 deps = [
232 ":html_viewer_resources_grit",
233 ":lib",
234 "//components/test_runner",
235 "//third_party/WebKit/public:blink",
236 "//third_party/WebKit/public:test_support",
237 "//third_party/icu:icudata",
238 "//third_party/mojo/src/mojo/public/c/system:for_shared_library",
239 "//ui/resources:ui_test_pak",
240 "//url",
241 ]
242 resources = [
243 "$root_out_dir/icudtl.dat",
244 "$root_out_dir/ui_test.pak",
208 "$target_gen_dir/html_viewer_resources.pak", 245 "$target_gen_dir/html_viewer_resources.pak",
209 ] 246 ]
210 247
211 if (v8_use_external_startup_data) { 248 if (v8_use_external_startup_data) {
212 resources += [ 249 resources += [
213 "$root_build_dir/natives_blob.bin", 250 "$root_build_dir/natives_blob.bin",
214 "$root_build_dir/snapshot_blob.bin", 251 "$root_build_dir/snapshot_blob.bin",
215 ] 252 ]
216 deps += [ "//gin" ] 253 deps += [ "//gin" ]
217 } 254 }
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 "//testing/gtest", 287 "//testing/gtest",
251 "//third_party/mojo_services/src/accessibility/public/interfaces", 288 "//third_party/mojo_services/src/accessibility/public/interfaces",
252 "//third_party/mojo/src/mojo/public/c/system:for_shared_library", 289 "//third_party/mojo/src/mojo/public/c/system:for_shared_library",
253 ] 290 ]
254 291
255 data_deps = [ 292 data_deps = [
256 ":html_viewer", 293 ":html_viewer",
257 "//components/view_manager", 294 "//components/view_manager",
258 ] 295 ]
259 } 296 }
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | components/html_viewer/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698