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/features.gni")
6 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
8 component("vibration") {
9 output_name = "device_vibration"
13 "vibration_manager_impl.h",
14 "vibration_manager_impl_android.cc",
15 "vibration_manager_impl_android.h",
16 "vibration_manager_impl_default.cc",
19 defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
24 "//base/third_party/dynamic_annotations",
25 "//mojo/environment:chromium",
26 "//third_party/mojo/src/mojo/public/cpp/bindings",
27 "//third_party/mojo/src/mojo/edk/system",
31 sources -= [ "vibration_manager_impl_default.cc" ]
33 "//device/vibration/android",
34 "//device/vibration/android:vibration_jni_headers",
36 allow_circular_includes_from = [ "//device/vibration/android" ]
40 mojom("mojo_bindings") {
42 "vibration_manager.mojom",