Gray top border for keyboard accessory.
[chromium-blink-merge.git] / device / vibration / BUILD.gn
blobed046c24a2f3546d2144621821753b6cee5e86b0
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"
11   sources = [
12     "vibration_export.h",
13     "vibration_manager_impl.h",
14     "vibration_manager_impl_default.cc",
15   ]
17   defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
19   deps = [
20     ":mojo_bindings",
21     "//base",
22     "//base/third_party/dynamic_annotations",
23     "//mojo/environment:chromium",
24     "//third_party/mojo/src/mojo/public/cpp/bindings",
25     "//third_party/mojo/src/mojo/edk/system",
26   ]
28   if (is_android) {
29     sources -= [ "vibration_manager_impl_default.cc" ]
30   }
33 mojom("mojo_bindings") {
34   sources = [
35     "vibration_manager.mojom",
36   ]