Material throbber: use in tabstrip
[chromium-blink-merge.git] / device / vibration / android / BUILD.gn
blobec6ab6c979fa24492e1beb3d44db12aa6a0c1ed6
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")
8 assert(is_android)
10 source_set("android") {
11   sources = [
12     "vibration_jni_registrar.cc",
13     "vibration_jni_registrar.h",
14   ]
16   defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
18   deps = [
19     "//base",
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",
25   ]
28 generate_jni("vibration_jni_headers") {
29   sources = [
30     "java/src/org/chromium/device/vibration/VibrationProvider.java",
31   ]
32   jni_package = "vibration"