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