summaryrefslogtreecommitdiffstats
path: root/mojo/BUILD.gn
blob: 62c6ba82b77132e82bb1662edd26dde749a1c10c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

group("mojo") {
  deps = [
    "//mojo/common",
    "//mojo/public",
    "//mojo/services",
    "//mojo/shell:mojo_shell",
  ]
}

if (is_android) {
  import("//build/config/android/rules.gni")

  generate_jni("jni_headers") {
    sources = [
      "android/javatests/src/org/chromium/mojo/MojoTestCase.java",
      "android/system/src/org/chromium/mojo/system/impl/CoreImpl.java",
      "services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java",
    ]

    jni_package = "mojo"
  }
}