OLD | NEW |
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("//mojo/generate_mojo_shell_assets_list.gni") | 5 import("//mojo/generate_mojo_shell_assets_list.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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
9 | 9 |
10 # We don't support building in the component build since mojo apps are | 10 # We don't support building in the component build since mojo apps are |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 "//mojo/shell", | 89 "//mojo/shell", |
90 ] | 90 ] |
91 | 91 |
92 deps = [ | 92 deps = [ |
93 "//base", | 93 "//base", |
94 ] | 94 ] |
95 } | 95 } |
96 | 96 |
97 source_set("lib") { | 97 source_set("lib") { |
98 sources = [ | 98 sources = [ |
99 "about_fetcher.cc", | |
100 "about_fetcher.h", | |
101 "child_process.cc", | 99 "child_process.cc", |
102 "child_process.h", | 100 "child_process.h", |
103 "child_process_host.cc", | 101 "child_process_host.cc", |
104 "child_process_host.h", | 102 "child_process_host.h", |
105 "context.cc", | 103 "context.cc", |
106 "context.h", | 104 "context.h", |
107 "init.cc", | 105 "init.cc", |
108 "init.h", | 106 "init.h", |
109 "out_of_process_native_runner.cc", | 107 "out_of_process_native_runner.cc", |
110 "out_of_process_native_runner.h", | 108 "out_of_process_native_runner.h", |
111 "scoped_user_data_dir.cc", | 109 "scoped_user_data_dir.cc", |
112 "scoped_user_data_dir.h", | 110 "scoped_user_data_dir.h", |
113 "task_runners.cc", | 111 "task_runners.cc", |
114 "task_runners.h", | 112 "task_runners.h", |
115 "url_resolver.cc", | |
116 "url_resolver.h", | |
117 ] | 113 ] |
118 | 114 |
119 deps = [ | 115 deps = [ |
120 ":child_process_bindings", | 116 ":child_process_bindings", |
121 ":in_process_native_runner", | 117 ":in_process_native_runner", |
122 ":native_application_support", | 118 ":native_application_support", |
123 "//base", | 119 "//base", |
124 "//base/third_party/dynamic_annotations", | 120 "//base/third_party/dynamic_annotations", |
125 "//base:base_static", | 121 "//base:base_static", |
126 "//components/devtools_service/public/cpp", | 122 "//components/devtools_service/public/cpp", |
127 "//components/devtools_service/public/interfaces", | 123 "//components/devtools_service/public/interfaces", |
128 "//mojo/application/public/cpp", | 124 "//mojo/application/public/cpp", |
129 "//mojo/common:tracing_impl", | 125 "//mojo/common:tracing_impl", |
| 126 "//mojo/fetcher", |
130 "//mojo/message_pump", | 127 "//mojo/message_pump", |
131 "//mojo/services/network/public/interfaces", | 128 "//mojo/services/network/public/interfaces", |
132 "//mojo/services/tracing/public/cpp", | 129 "//mojo/services/tracing/public/cpp", |
133 "//mojo/services/tracing/public/interfaces", | 130 "//mojo/services/tracing/public/interfaces", |
134 "//mojo/shell", | 131 "//mojo/shell", |
135 "//mojo/util:filename_util", | 132 "//mojo/util:filename_util", |
136 "//third_party/mojo/src/mojo/edk/system", | 133 "//third_party/mojo/src/mojo/edk/system", |
137 "//ui/gl", | 134 "//ui/gl", |
138 "//url", | 135 "//url", |
139 ] | 136 ] |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
412 | 409 |
413 deps = [ | 410 deps = [ |
414 "//mojo/application/public/interfaces", | 411 "//mojo/application/public/interfaces", |
415 ] | 412 ] |
416 | 413 |
417 import_dirs = [ "//mojo/services" ] | 414 import_dirs = [ "//mojo/services" ] |
418 } | 415 } |
419 | 416 |
420 test("mojo_runner_unittests") { | 417 test("mojo_runner_unittests") { |
421 sources = [ | 418 sources = [ |
422 "about_fetcher_unittest.cc", | 419 "../fetcher/about_fetcher_unittest.cc", |
| 420 "../fetcher/url_resolver_unittest.cc", |
423 "child_process_host_unittest.cc", | 421 "child_process_host_unittest.cc", |
424 "data_pipe_peek_unittest.cc", | 422 "data_pipe_peek_unittest.cc", |
425 "in_process_native_runner_unittest.cc", | 423 "in_process_native_runner_unittest.cc", |
426 "native_runner_unittest.cc", | 424 "native_runner_unittest.cc", |
427 "shell_test_base.cc", | 425 "shell_test_base.cc", |
428 "shell_test_base.h", | 426 "shell_test_base.h", |
429 "shell_test_base_android.cc", | 427 "shell_test_base_android.cc", |
430 "shell_test_base_unittest.cc", | 428 "shell_test_base_unittest.cc", |
431 "shell_test_main.cc", | 429 "shell_test_main.cc", |
432 "url_resolver_unittest.cc", | |
433 ] | 430 ] |
434 | 431 |
435 deps = [ | 432 deps = [ |
436 ":in_process_native_runner", | 433 ":in_process_native_runner", |
437 ":lib", | 434 ":lib", |
438 "//base", | 435 "//base", |
439 "//base:i18n", | 436 "//base:i18n", |
440 "//base/test:test_support", | 437 "//base/test:test_support", |
441 "//mojo/application/public/cpp", | 438 "//mojo/application/public/cpp", |
442 "//mojo/common", | 439 "//mojo/common", |
443 "//mojo/environment:chromium", | 440 "//mojo/environment:chromium", |
| 441 "//mojo/fetcher", |
444 "//mojo/message_pump", | 442 "//mojo/message_pump", |
445 "//mojo/services/test_service:bindings", | 443 "//mojo/services/test_service:bindings", |
446 "//mojo/shell", | 444 "//mojo/shell", |
447 "//mojo/util:filename_util", | 445 "//mojo/util:filename_util", |
448 "//testing/gtest", | 446 "//testing/gtest", |
449 "//third_party/mojo/src/mojo/edk/system", | 447 "//third_party/mojo/src/mojo/edk/system", |
450 "//third_party/mojo/src/mojo/public/cpp/bindings", | 448 "//third_party/mojo/src/mojo/public/cpp/bindings", |
451 "//url", | 449 "//url", |
452 ] | 450 ] |
453 | 451 |
(...skipping 27 matching lines...) Expand all Loading... |
481 ] | 479 ] |
482 | 480 |
483 deps = [ | 481 deps = [ |
484 "//base", | 482 "//base", |
485 "//mojo/application/public/cpp:test_support", | 483 "//mojo/application/public/cpp:test_support", |
486 "//mojo/runner/test:bindings", | 484 "//mojo/runner/test:bindings", |
487 "//mojo/services/network/public/interfaces", | 485 "//mojo/services/network/public/interfaces", |
488 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 486 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
489 ] | 487 ] |
490 } | 488 } |
OLD | NEW |