blob: 5d9aa22a75df353f2e6455f5fa43fce47c36e86e (
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
27
28
29
30
31
|
# 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.
import("//build/config/android/config.gni")
import("//build/config/android/rules.gni")
assert(is_android)
source_set("android") {
sources = [
"vibration_jni_registrar.cc",
"vibration_jni_registrar.h",
]
defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
deps = [
# vibration_jni_registrar.cc includes a header from device/vibration
# that includes a mojo-generated header file. Make sure the header
# is generated before vibration_jni_registrar.cc is compiled.
"//device/vibration:mojo_bindings",
]
}
generate_jni("vibration_jni_headers") {
sources = [
"java/src/org/chromium/device/vibration/VibrationProvider.java",
]
jni_package = "vibration"
}
|