| 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 "//third_party/mojo/src/mojo/public", | |
| 15 ] | 14 ] |
| 16 | 15 |
| 16 if (!(is_linux && target_cpu == "x86")) { |
| 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 |
| 19 # sysroot that doesn't exist. |
| 20 deps += [ "//third_party/mojo/src/mojo/public" ] |
| 21 } |
| 22 |
| 17 if (is_android) { | 23 if (is_android) { |
| 18 deps += [ "//mojo/android" ] | 24 deps += [ "//mojo/android" ] |
| 19 } | 25 } |
| 20 | 26 |
| 21 if (!is_component_build) { | 27 if (!is_component_build) { |
| 22 deps += [ "//mojo/runner" ] | 28 deps += [ "//mojo/runner" ] |
| 23 } | 29 } |
| 24 } | 30 } |
| 25 | 31 |
| 26 # TODO(GYP): Delete this after we've converted everything to GN. | 32 # TODO(GYP): Delete this after we've converted everything to GN. |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 "//mojo/runner:mojo_runner_unittests", | 88 "//mojo/runner:mojo_runner_unittests", |
| 83 "//mojo/services/network:apptests", | 89 "//mojo/services/network:apptests", |
| 84 "//mojo/shell:mojo_shell_unittests", | 90 "//mojo/shell:mojo_shell_unittests", |
| 85 ] | 91 ] |
| 86 | 92 |
| 87 if (is_android) { | 93 if (is_android) { |
| 88 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] | 94 deps += [ "//mojo/runner:mojo_runner_apptests_apk" ] |
| 89 } | 95 } |
| 90 } | 96 } |
| 91 } | 97 } |
| OLD | NEW |