Fix emulator build error
[platform/framework/web/chromium-efl.git] / services / device / vibration / BUILD.gn
1 # Copyright 2014 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7 if (use_efl) {
8   import("//tizen_src/chromium_impl/services/device/vibration/vibration_efl.gni")
9 }
10
11 # On android, VibrationManager mojo interface is implemented directly in Java.
12 if (!is_android) {
13   source_set("vibration") {
14     visibility = [
15       "//services/device:lib",
16       "//services/device:tests",
17     ]
18
19     sources = [
20       "vibration_manager_impl.h",
21       "vibration_manager_impl_default.cc",
22     ]
23
24     public_deps = [ "//services/device/public/mojom" ]
25
26     if (use_efl) {
27       sources += external_device_vibration_efl_sources
28       sources -= external_exclude_device_vibration_efl_sources
29     }
30
31     deps = [
32       "//base",
33       "//base/third_party/dynamic_annotations",
34       "//mojo/public/cpp/bindings",
35     ]
36   }
37 }