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/android/config.gni")
6 import("//build/config/android/rules.gni")
10 source_set("android") {
12 "vibration_jni_registrar.cc",
13 "vibration_jni_registrar.h",
16 defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
21 # vibration_jni_registrar.cc includes a header from device/vibration
22 # that includes a mojo-generated header file. Make sure the header
23 # is generated before vibration_jni_registrar.cc is compiled.
24 "//device/vibration:mojo_bindings",
28 generate_jni("vibration_jni_headers") {
30 "java/src/org/chromium/device/vibration/VibrationProvider.java",
32 jni_package = "vibration"