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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
6 import("//mojo/public/mojo.gni") | 6 import("//mojo/public/mojo.gni") |
| 7 import("//mojo/public/mojo_application.gni") |
7 import("//mojo/public/tools/bindings/mojom.gni") | 8 import("//mojo/public/tools/bindings/mojom.gni") |
8 import("//testing/test.gni") | 9 import("//testing/test.gni") |
9 | 10 |
10 # We don't support building in the component build since mojo apps are | 11 # We don't support building in the component build since mojo apps are |
11 # inherently components. | 12 # inherently components. |
12 assert(!is_component_build) | 13 assert(!is_component_build) |
13 | 14 |
14 group("shell") { | 15 group("shell") { |
15 testonly = true | 16 testonly = true |
16 | 17 |
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 | 503 |
503 deps -= [ | 504 deps -= [ |
504 ":lib", | 505 ":lib", |
505 ":external_application_registrar_connection", | 506 ":external_application_registrar_connection", |
506 ":external_application_registrar_bindings", | 507 ":external_application_registrar_bindings", |
507 "//shell/domain_socket", | 508 "//shell/domain_socket", |
508 "//shell/domain_socket:tests", | 509 "//shell/domain_socket:tests", |
509 ] | 510 ] |
510 } | 511 } |
511 } | 512 } |
| 513 |
| 514 mojo_native_application("apptests") { |
| 515 output_name = "shell_apptests" |
| 516 |
| 517 testonly = true |
| 518 |
| 519 sources = [ |
| 520 "shell_apptest.cc", |
| 521 ] |
| 522 |
| 523 deps = [ |
| 524 "//base", |
| 525 "//mojo/application", |
| 526 "//mojo/application:test_support", |
| 527 "//mojo/common:common", |
| 528 "//mojo/public/cpp/bindings:callback", |
| 529 "//mojo/public/cpp/environment", |
| 530 "//mojo/public/cpp/system:system", |
| 531 "//mojo/services/network/public/interfaces", |
| 532 "//services/http_server/public", |
| 533 "//services/http_server/public:util", |
| 534 "//shell/test:bindings", |
| 535 ] |
| 536 |
| 537 data_deps = [ |
| 538 "//services/http_server:http_server", |
| 539 "//shell/test:pingable_app", |
| 540 ] |
| 541 } |
OLD | NEW |