| 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/module_args/mojo.gni") | 5 import("//build/module_args/mojo.gni") |
| 6 import("//mojo/public/mojo.gni") | 6 import("//mojo/public/mojo.gni") |
| 7 | 7 |
| 8 group("mojo") { | 8 group("mojo") { |
| 9 # Meta-target, don't link into production code. | 9 # Meta-target, don't link into production code. |
| 10 testonly = true | 10 testonly = true |
| 11 declare_args() { | 11 declare_args() { |
| 12 mojo_use_go = false | 12 mojo_use_go = false |
| 13 | 13 |
| 14 # TODO(ncbray): support ASAN once NaCl's GN build is unforked. | 14 # TODO(ncbray): support ASAN once NaCl's GN build is unforked. |
| 15 mojo_use_nacl = is_linux && !is_asan | 15 mojo_use_nacl = is_linux && !is_asan |
| 16 } | 16 } |
| 17 deps = [ | 17 deps = [ |
| 18 ":tests", | 18 ":tests", |
| 19 "//mojo/common", | 19 "//mojo/common", |
| 20 "//mojo/dart", | 20 "//mojo/dart", |
| 21 "//mojo/public", | 21 "//mojo/public", |
| 22 "//mojo/services", | 22 "//mojo/services", |
| 23 "//third_party/dart-pkg", |
| 23 ] | 24 ] |
| 24 | 25 |
| 25 if (is_android) { | 26 if (is_android) { |
| 26 deps += [ | 27 deps += [ |
| 27 "//mojo/android", | 28 "//mojo/android", |
| 28 "//mojo/java", | 29 "//mojo/java", |
| 29 "//mojo/tools/android_shortcuts", | 30 "//mojo/tools/android_shortcuts", |
| 30 "//mojo/tools:remote_file_reader", | 31 "//mojo/tools:remote_file_reader", |
| 31 ] | 32 ] |
| 32 } | 33 } |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc
e it | 67 # TODO(jamesr): We only support building V8 snapshot data on a linux host sinc
e it |
| 67 # needs a 32 bit toolchain and we don't have one configured for mac hosts. | 68 # needs a 32 bit toolchain and we don't have one configured for mac hosts. |
| 68 if (host_os == "linux") { | 69 if (host_os == "linux") { |
| 69 deps += [ "//mojo/edk/js:tests" ] | 70 deps += [ "//mojo/edk/js:tests" ] |
| 70 } | 71 } |
| 71 | 72 |
| 72 if (mojo_use_prebuilt_network_service) { | 73 if (mojo_use_prebuilt_network_service) { |
| 73 deps += [ "//mojo/public/tools:copy_network_service_apptests" ] | 74 deps += [ "//mojo/public/tools:copy_network_service_apptests" ] |
| 74 } | 75 } |
| 75 } | 76 } |
| OLD | NEW |