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.
11 # GN version: //device/vibration:vibration_mojo
12 'target_name': 'device_vibration_mojo_bindings',
13 'type': 'static_library',
15 '../../third_party/mojo/mojom_bindings_generator.gypi',
18 'vibration_manager.mojom',
22 # GN version: //device/vibration
23 'target_name': 'device_vibration',
24 'type': '<(component)',
26 '../../base/base.gyp:base',
27 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
28 '../../mojo/mojo_base.gyp:mojo_environment_chromium',
29 '../../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
30 '../../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
31 'device_vibration_mojo_bindings',
34 'DEVICE_VIBRATION_IMPLEMENTATION',
37 'android/vibration_jni_registrar.cc',
38 'android/vibration_jni_registrar.h',
39 'vibration_manager_impl.h',
40 'vibration_manager_impl_android.cc',
41 'vibration_manager_impl_android.h',
42 'vibration_manager_impl_default.cc',
47 'device_vibration_java',
48 'device_vibration_jni_headers',
51 'vibration_manager_impl_default.cc',
61 'target_name': 'device_vibration_jni_headers',
64 'android/java/src/org/chromium/device/vibration/VibrationProvider.java',
67 'jni_gen_package': 'device_vibration',
69 'includes': [ '../../build/jni_generator.gypi' ],
72 'target_name': 'device_vibration_java',
75 '../../base/base.gyp:base',
78 'java_in_dir': '../../device/vibration/android/java',
80 'includes': [ '../../build/java.gypi' ],