OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//mojo/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
8 import("//tools/grit/repack.gni") | 8 import("//tools/grit/repack.gni") |
9 | 9 |
10 config("headless_implementation") { | 10 config("headless_implementation") { |
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
193 "public/headless_browser_context.h", | 193 "public/headless_browser_context.h", |
194 "public/headless_devtools_client.h", | 194 "public/headless_devtools_client.h", |
195 "public/headless_devtools_host.h", | 195 "public/headless_devtools_host.h", |
196 "public/headless_devtools_target.h", | 196 "public/headless_devtools_target.h", |
197 "public/headless_export.h", | 197 "public/headless_export.h", |
198 "public/headless_web_contents.h", | 198 "public/headless_web_contents.h", |
199 "public/internal/message_dispatcher.h", | 199 "public/internal/message_dispatcher.h", |
200 "public/internal/value_conversions.h", | 200 "public/internal/value_conversions.h", |
201 "public/util/black_hole_protocol_handler.cc", | 201 "public/util/black_hole_protocol_handler.cc", |
202 "public/util/black_hole_protocol_handler.h", | 202 "public/util/black_hole_protocol_handler.h", |
| 203 "public/util/deterministic_dispatcher.cc", |
| 204 "public/util/deterministic_dispatcher.h", |
203 "public/util/error_reporter.cc", | 205 "public/util/error_reporter.cc", |
204 "public/util/error_reporter.h", | 206 "public/util/error_reporter.h", |
| 207 "public/util/expedited_dispatcher.cc", |
| 208 "public/util/expedited_dispatcher.h", |
| 209 "public/util/generic_url_request_job.cc", |
| 210 "public/util/generic_url_request_job.h", |
205 "public/util/in_memory_protocol_handler.cc", | 211 "public/util/in_memory_protocol_handler.cc", |
206 "public/util/in_memory_protocol_handler.h", | 212 "public/util/in_memory_protocol_handler.h", |
207 "public/util/in_memory_request_job.cc", | 213 "public/util/in_memory_request_job.cc", |
208 "public/util/in_memory_request_job.h", | 214 "public/util/in_memory_request_job.h", |
| 215 "public/util/managed_dispatch_url_request_job.cc", |
| 216 "public/util/managed_dispatch_url_request_job.h", |
209 "public/util/user_agent.cc", | 217 "public/util/user_agent.cc", |
210 "public/util/user_agent.h", | 218 "public/util/user_agent.h", |
| 219 "public/util/url_fetcher.cc", |
| 220 "public/util/url_fetcher.h", |
| 221 "public/util/url_request_dispatcher.h", |
211 ] | 222 ] |
212 | 223 |
213 deps = [ | 224 deps = [ |
214 ":gen_devtools_client_api", | 225 ":gen_devtools_client_api", |
215 ":pak", | 226 ":pak", |
216 "//base", | 227 "//base", |
217 "//components/devtools_http_handler", | 228 "//components/devtools_http_handler", |
218 "//content/public/app:both", | 229 "//content/public/app:both", |
219 "//content/public/browser", | 230 "//content/public/browser", |
220 "//content/public/child", | 231 "//content/public/child", |
(...skipping 20 matching lines...) Expand all Loading... |
241 deps = [ | 252 deps = [ |
242 ":client_api_generator_tests", | 253 ":client_api_generator_tests", |
243 ":headless_browsertests", | 254 ":headless_browsertests", |
244 ":headless_unittests", | 255 ":headless_unittests", |
245 ] | 256 ] |
246 } | 257 } |
247 | 258 |
248 test("headless_unittests") { | 259 test("headless_unittests") { |
249 sources = [ | 260 sources = [ |
250 "public/domains/types_unittest.cc", | 261 "public/domains/types_unittest.cc", |
| 262 "public/util/deterministic_dispatcher_test.cc", |
251 "public/util/error_reporter_unittest.cc", | 263 "public/util/error_reporter_unittest.cc", |
| 264 "public/util/expedited_dispatcher_test.cc", |
| 265 "public/util/generic_url_request_job_test.cc", |
| 266 "public/util/testing/fake_managed_dispatch_url_request_job.cc", |
| 267 "public/util/testing/fake_managed_dispatch_url_request_job.h", |
| 268 "public/util/testing/generic_url_request_mocks.cc", |
| 269 "public/util/testing/generic_url_request_mocks.h", |
252 ] | 270 ] |
253 | 271 |
254 deps = [ | 272 deps = [ |
255 ":headless_lib", | 273 ":headless_lib", |
256 "//base/test:run_all_unittests", | 274 "//base/test:run_all_unittests", |
257 "//base/test:test_support", | 275 "//base/test:test_support", |
| 276 "//testing/gmock", |
258 "//testing/gtest", | 277 "//testing/gtest", |
259 ] | 278 ] |
260 } | 279 } |
261 | 280 |
262 action("client_api_generator_tests") { | 281 action("client_api_generator_tests") { |
263 _stamp = "$target_gen_dir/client_api_generator_unittests.stamp" | 282 _stamp = "$target_gen_dir/client_api_generator_unittests.stamp" |
264 inputs = [ | 283 inputs = [ |
265 "lib/browser/client_api_generator.py", | 284 "lib/browser/client_api_generator.py", |
266 "lib/browser/client_api_generator_unittest.py", | 285 "lib/browser/client_api_generator_unittest.py", |
267 ] | 286 ] |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
345 sources = [ | 364 sources = [ |
346 "app/headless_shell.cc", | 365 "app/headless_shell.cc", |
347 "app/headless_shell_switches.cc", | 366 "app/headless_shell_switches.cc", |
348 "app/headless_shell_switches.h", | 367 "app/headless_shell_switches.h", |
349 ] | 368 ] |
350 | 369 |
351 deps = [ | 370 deps = [ |
352 "//headless:headless_lib", | 371 "//headless:headless_lib", |
353 ] | 372 ] |
354 } | 373 } |
OLD | NEW |