Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(679)

Side by Side Diff: device/vibration/BUILD.gn

Issue 583663003: Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gn builds Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni")
7
8 component("vibration") {
9 output_name = "device_vibration"
10
11 sources = [
12 "vibration_export.h",
13 "vibration_manager_impl.cc",
14 "vibration_manager_impl.h",
15 "vibration_provider.h",
16 "vibration_provider_android.cc",
17 "vibration_provider_android.h",
18 ]
19
20 defines = [
21 "DEVICE_VIBRATION_IMPLEMENTATION",
22 ]
23
24 deps = [
25 ":mojo_bindings",
26 "//base",
27 "//base/third_party/dynamic_annotations",
28 "//mojo/environment:chromium",
29 "//mojo/public/cpp/bindings",
30 "//mojo/edk/system",
31 ]
32
33 if (is_android) {
34 deps += [
35 "//device/vibration/android",
36 "//device/vibration/android:vibration_jni_headers",
37 ]
38 }
39 }
40
41 mojom("mojo_bindings") {
42 sources = [
43 "vibration_manager.mojom",
44 ]
45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698