| 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 += [ | 27 deps += [ "//mojo/shell:all" ] |
| 28 "//mojo/runner", | |
| 29 "//mojo/shell:all", | |
| 30 ] | |
| 31 } | 28 } |
| 32 | 29 |
| 33 # TODO(GYP): Delete this after we've converted everything to GN. | 30 # TODO(GYP): Delete this after we've converted everything to GN. |
| 34 # The _run targets exist only for compatibility w/ GYP. | 31 # The _run targets exist only for compatibility w/ GYP. |
| 35 group("mojo_public_bindings_unittests_run") { | 32 group("mojo_public_bindings_unittests_run") { |
| 36 testonly = true | 33 testonly = true |
| 37 deps = [ | 34 deps = [ |
| 38 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_bindings_unittests" | 35 # TODO(use_chrome_edk): "//mojo/edk/test:mojo_public_bindings_unittests" |
| 39 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", | 36 "//third_party/mojo/src/mojo/edk/test:mojo_public_bindings_unittests", |
| 40 ] | 37 ] |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 ] | 95 ] |
| 99 | 96 |
| 100 deps += [ | 97 deps += [ |
| 101 "//mojo/services/network:apptests", | 98 "//mojo/services/network:apptests", |
| 102 "//mojo/shell:apptests", | 99 "//mojo/shell:apptests", |
| 103 "//mojo/shell:mojo_shell_unittests", | 100 "//mojo/shell:mojo_shell_unittests", |
| 104 "//mojo/shell/package_manager:unittests", | 101 "//mojo/shell/package_manager:unittests", |
| 105 ] | 102 ] |
| 106 | 103 |
| 107 if (is_android) { | 104 if (is_android) { |
| 108 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] | 105 deps += [ "//mojo/shell/standalone:mojo_shell_standalone_apptests_apk" ] |
| 109 } | 106 } |
| 110 } | 107 } |
| OLD | NEW |