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("//third_party/mojo/src/mojo/public/mojo.gni") | 6 import("//third_party/mojo/src/mojo/public/mojo.gni") |
7 import("//third_party/mojo/src/mojo/public/mojo_application.gni") | 7 import("//third_party/mojo/src/mojo/public/mojo_application.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 import("//testing/test.gni") | 9 import("//testing/test.gni") |
10 | 10 |
11 # 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 |
12 # inherently components. | 12 # inherently components. |
13 assert(!is_component_build) | 13 assert(!is_component_build) |
14 | 14 |
15 group("runner") { | 15 group("runner") { |
16 testonly = true | 16 testonly = true |
17 | 17 |
18 deps = [ | 18 deps = [ |
19 ":mojo_runner", | 19 ":mojo_runner", |
20 ":tests", | 20 ":mojo_runner_unittests", |
21 "//mojo/shell:tests", | 21 "//mojo/shell:mojo_shell_unittests", |
22 ] | 22 ] |
23 | 23 |
24 if (is_android) { | 24 if (is_android) { |
25 deps += [ | 25 deps += [ |
26 ":mojo_runner_apk", | 26 ":mojo_runner_apk", |
27 ":tests_apk", | 27 ":mojo_runner_unittests_apk", |
28 ] | 28 ] |
29 } | 29 } |
30 } | 30 } |
31 | 31 |
32 if (is_android) { | 32 if (is_android) { |
33 import("//build/config/android/config.gni") | 33 import("//build/config/android/config.gni") |
34 import("//build/config/android/rules.gni") | 34 import("//build/config/android/rules.gni") |
35 } | 35 } |
36 | 36 |
37 executable("mojo_runner") { | 37 executable("mojo_runner") { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 mojom("child_process_bindings") { | 325 mojom("child_process_bindings") { |
326 sources = [ | 326 sources = [ |
327 "child_process.mojom", | 327 "child_process.mojom", |
328 ] | 328 ] |
329 | 329 |
330 deps = [ | 330 deps = [ |
331 "//third_party/mojo/src/mojo/public/interfaces/application", | 331 "//third_party/mojo/src/mojo/public/interfaces/application", |
332 ] | 332 ] |
333 } | 333 } |
334 | 334 |
335 test("tests") { | 335 test("mojo_runner_unittests") { |
336 output_name = "mojo_runner_unittests" | |
337 | |
338 sources = [ | 336 sources = [ |
339 "child_process_host_unittest.cc", | 337 "child_process_host_unittest.cc", |
340 "data_pipe_peek_unittest.cc", | 338 "data_pipe_peek_unittest.cc", |
341 "in_process_native_runner_unittest.cc", | 339 "in_process_native_runner_unittest.cc", |
342 "native_runner_unittest.cc", | 340 "native_runner_unittest.cc", |
343 "shell_test_base.cc", | 341 "shell_test_base.cc", |
344 "shell_test_base.h", | 342 "shell_test_base.h", |
345 "shell_test_base_android.cc", | 343 "shell_test_base_android.cc", |
346 "shell_test_base_unittest.cc", | 344 "shell_test_base_unittest.cc", |
347 "shell_test_main.cc", | 345 "shell_test_main.cc", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 #"//mojo/services/http_server/public/interfaces", | 403 #"//mojo/services/http_server/public/interfaces", |
406 "//mojo/services/network/public/interfaces", | 404 "//mojo/services/network/public/interfaces", |
407 | 405 |
408 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", | 406 "//third_party/mojo/src/mojo/public/cpp/bindings:callback", |
409 "//third_party/mojo/src/mojo/public/cpp/environment", | 407 "//third_party/mojo/src/mojo/public/cpp/environment", |
410 "//third_party/mojo/src/mojo/public/cpp/system:system", | 408 "//third_party/mojo/src/mojo/public/cpp/system:system", |
411 ] | 409 ] |
412 | 410 |
413 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] | 411 #data_deps = [ "//services/http_server:http_server($default_toolchain)" ] |
414 } | 412 } |
OLD | NEW |