Revert of Used native deinterleaved and float point format for the input streams...
[chromium-blink-merge.git] / mojo / BUILD.gn
blobe53668931b2f6f344943f6ef23a6a92b4732dda4
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
3 # found in the LICENSE file.
5 import("//build/config/ui.gni")
7 group("mojo") {
8   deps = [
9     ":tests",
10     "//mojo/common",
11     "//mojo/examples",
12     "//mojo/public",
13     "//mojo/services",
14     "//mojo/shell:mojo_shell",
15   ]
17   if (is_linux) {
18     deps += [
19       "//mojo/python",
20     ]
21   }
24 group("tests") {
25   deps = [
26     "//mojo/application_manager:mojo_application_manager_unittests",
27     "//mojo/apps/js/test:mojo_apps_js_unittests",
28     "//mojo/common:mojo_common_unittests",
29     "//mojo/public/cpp/application/tests:mojo_public_application_unittests",
30     "//mojo/public/cpp/bindings/tests:mojo_public_bindings_unittests",
31     "//mojo/public/cpp/environment/tests:mojo_public_environment_unittests",
32     "//mojo/public/cpp/system/tests:mojo_public_system_unittests",
33     "//mojo/public/cpp/utility/tests:mojo_public_utility_unittests",
34     "//mojo/public/js/bindings/tests:mojo_js_unittests",
35     "//mojo/services/public/cpp/surfaces/tests:mojo_surfaces_lib_unittests",
36     "//mojo/shell:mojo_shell_tests",
37     "//mojo/system:mojo_message_pipe_perftests",
38     "//mojo/system:mojo_system_unittests",
39   ]
41   if (use_aura) {
42     deps += [
43       "//mojo/services/public/cpp/view_manager/tests:mojo_view_manager_lib_unittests",
44       "//mojo/services/view_manager:mojo_view_manager_unittests",
45       "//mojo/services/window_manager:mojo_core_window_manager_unittests",
46     ]
47   }
50 if (is_android) {
51   import("//build/config/android/rules.gni")
53   generate_jni("jni_headers") {
54     sources = [
55       "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
56       "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
57       "services/native_viewport/android/src/org/chromium/mojo/PlatformViewportAndroid.java",
58     ]
60     jni_package = "mojo"
61   }