| 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 group("mojo") { | 5 group("mojo") { |
| 6 deps = [ | 6 deps = [ |
| 7 ":tests", |
| 7 "//mojo/common", | 8 "//mojo/common", |
| 8 "//mojo/examples", | 9 "//mojo/examples", |
| 9 "//mojo/public", | 10 "//mojo/public", |
| 10 "//mojo/services", | 11 "//mojo/services", |
| 11 "//mojo/shell:mojo_shell", | 12 "//mojo/shell:mojo_shell", |
| 12 "//mojo/shell:mojo_shell_tests", | |
| 13 ] | 13 ] |
| 14 } | 14 } |
| 15 | 15 |
| 16 group("tests") { |
| 17 deps = [ |
| 18 "//mojo/apps/js/test:mojo_apps_js_unittests", |
| 19 "//mojo/common:mojo_common_unittests", |
| 20 "//mojo/public/cpp/application/tests:mojo_public_application_unittests", |
| 21 "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests", |
| 22 "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests", |
| 23 "//mojo/public/cpp/system/tests:mojo_public_system_unittests", |
| 24 "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests", |
| 25 "//mojo/public/js/bindings/tests:mojo_js_unittests", |
| 26 "//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests", |
| 27 "//mojo/shell:mojo_shell_tests", |
| 28 "//mojo/system:mojo_system_unittests", |
| 29 ] |
| 30 } |
| 31 |
| 16 if (is_android) { | 32 if (is_android) { |
| 17 import("//build/config/android/rules.gni") | 33 import("//build/config/android/rules.gni") |
| 18 | 34 |
| 19 generate_jni("jni_headers") { | 35 generate_jni("jni_headers") { |
| 20 sources = [ | 36 sources = [ |
| 21 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", | 37 "android/javatests/src/org/chromium/mojo/MojoTestCase.java", |
| 22 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", | 38 "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java", |
| 23 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", | 39 "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAn
droid.java", |
| 24 ] | 40 ] |
| 25 | 41 |
| 26 jni_package = "mojo" | 42 jni_package = "mojo" |
| 27 } | 43 } |
| 28 } | 44 } |
| OLD | NEW |