| 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 declare_args() { |
| 11 mojo_use_go = false |
| 12 } |
| 10 deps = [ | 13 deps = [ |
| 11 ":tests", | 14 ":tests", |
| 12 "//mojo/apps/js:mojo_js", | 15 "//mojo/apps/js:mojo_js", |
| 13 "//mojo/common", | 16 "//mojo/common", |
| 14 "//mojo/examples", | 17 "//mojo/examples", |
| 15 "//mojo/public", | 18 "//mojo/public", |
| 16 "//mojo/services", | 19 "//mojo/services", |
| 17 "//mojo/shell:mojo_shell", | 20 "//mojo/shell:mojo_shell", |
| 18 ] | 21 ] |
| 19 | 22 |
| 20 if (is_linux) { | 23 if (is_linux) { |
| 21 deps += [ | 24 deps += [ |
| 22 "//mojo/python", | 25 "//mojo/python", |
| 23 ] | 26 ] |
| 27 if (mojo_use_go) { |
| 28 deps += [ |
| 29 "//mojo/go", |
| 30 ] |
| 31 } |
| 24 } | 32 } |
| 25 } | 33 } |
| 26 | 34 |
| 27 group("tests") { | 35 group("tests") { |
| 28 testonly = true | 36 testonly = true |
| 29 deps = [ | 37 deps = [ |
| 30 "//mojo/application_manager:mojo_application_manager_unittests", | 38 "//mojo/application_manager:mojo_application_manager_unittests", |
| 31 "//mojo/apps/js/test:mojo_apps_js_unittests", | 39 "//mojo/apps/js/test:mojo_apps_js_unittests", |
| 32 "//mojo/common:mojo_common_unittests", | 40 "//mojo/common:mojo_common_unittests", |
| 33 "//mojo/public/c/system/tests:perftests", | 41 "//mojo/public/c/system/tests:perftests", |
| (...skipping 27 matching lines...) Expand all Loading... |
| 61 sources = [ | 69 sources = [ |
| 62 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", | 70 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", |
| 63 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, | 71 "android/javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java"
, |
| 64 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 72 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
| 65 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", | 73 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", |
| 66 ] | 74 ] |
| 67 | 75 |
| 68 jni_package = "mojo" | 76 jni_package = "mojo" |
| 69 } | 77 } |
| 70 } | 78 } |
| OLD | NEW |