| 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 | 6 |
| 7 group("mojo") { | 7 group("mojo") { |
| 8 # Meta-target, don't link into production code. | 8 # Meta-target, don't link into production code. |
| 9 testonly = true | 9 testonly = true |
| 10 deps = [ | 10 deps = [ |
| 11 ":tests", | 11 ":tests", |
| 12 "//mojo/common", | 12 "//mojo/common", |
| 13 "//mojo/services", | 13 "//mojo/services", |
| 14 ] | 14 ] |
| 15 | 15 |
| 16 if (!(is_linux && target_cpu == "x86")) { | 16 if (!(is_linux && target_cpu == "x86")) { |
| 17 # TODO(GYP): Figure out if this needs to be supported. Right now | 17 # TODO(GYP): Figure out if this needs to be supported. Right now |
| 18 # it won't work on x86 official builds because it needs stuff in the | 18 # it won't work on x86 official builds because it needs stuff in the |
| 19 # sysroot that doesn't exist. | 19 # sysroot that doesn't exist. |
| 20 deps += [ "//mojo/public" ] | 20 deps += [ "//mojo/public" ] |
| 21 } | 21 } |
| 22 | 22 |
| 23 if (is_android) { | 23 if (is_android) { |
| 24 deps += [ "//mojo/android" ] | 24 deps += [ "//mojo/android" ] |
| 25 } | 25 } |
| 26 | 26 |
| 27 deps += [ "//mojo/shell:all" ] | 27 deps += [ "//services/shell:all" ] |
| 28 } | 28 } |
| 29 | 29 |
| 30 group("tests") { | 30 group("tests") { |
| 31 testonly = true | 31 testonly = true |
| 32 deps = [ | 32 deps = [ |
| 33 "//ipc/mojo:ipc_mojo_unittests", | 33 "//ipc/mojo:ipc_mojo_unittests", |
| 34 "//mojo/common:mojo_common_unittests", | 34 "//mojo/common:mojo_common_unittests", |
| 35 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", | 35 "//mojo/converters/surfaces/tests:mojo_surfaces_lib_unittests", |
| 36 "//mojo/edk/js/test:js_integration_tests", | 36 "//mojo/edk/js/test:js_integration_tests", |
| 37 "//mojo/edk/js/test:js_unittests", | 37 "//mojo/edk/js/test:js_unittests", |
| 38 "//mojo/edk/system:mojo_message_pipe_perftests", | 38 "//mojo/edk/system:mojo_message_pipe_perftests", |
| 39 "//mojo/edk/system:mojo_system_unittests", | 39 "//mojo/edk/system:mojo_system_unittests", |
| 40 "//mojo/edk/test:mojo_public_bindings_perftests", | 40 "//mojo/edk/test:mojo_public_bindings_perftests", |
| 41 "//mojo/edk/test:mojo_public_bindings_unittests", | 41 "//mojo/edk/test:mojo_public_bindings_unittests", |
| 42 "//mojo/edk/test:mojo_public_system_perftests", | 42 "//mojo/edk/test:mojo_public_system_perftests", |
| 43 "//mojo/edk/test:mojo_public_system_unittests", | 43 "//mojo/edk/test:mojo_public_system_unittests", |
| 44 "//mojo/shell/public/cpp/tests:mojo_public_application_unittests", | 44 "//services/shell/public/cpp/tests:mojo_public_application_unittests", |
| 45 "//mojo/shell/runner/host:mojo_runner_host_unittests", | 45 "//services/shell/runner/host:mojo_runner_host_unittests", |
| 46 "//mojo/shell/tests", | 46 "//services/shell/tests", |
| 47 ] | 47 ] |
| 48 } | 48 } |
| OLD | NEW |