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

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

Issue 826613003: Revert of Vibration API : migrate to device/vibration using mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 12 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
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | device/vibration/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.h",
14 "vibration_manager_impl_android.cc",
15 "vibration_manager_impl_android.h",
16 "vibration_manager_impl_default.cc",
17 ]
18
19 defines = [
20 "DEVICE_VIBRATION_IMPLEMENTATION",
21 ]
22
23 deps = [
24 ":mojo_bindings",
25 "//base",
26 "//base/third_party/dynamic_annotations",
27 "//mojo/environment:chromium",
28 "//mojo/public/cpp/bindings",
29 "//mojo/edk/system",
30 ]
31
32 if (is_android) {
33 sources -= [
34 "vibration_manager_impl_default.cc",
35 ]
36 deps += [
37 "//device/vibration/android",
38 "//device/vibration/android:vibration_jni_headers",
39 ]
40 }
41 }
42
43 mojom("mojo_bindings") {
44 sources = [
45 "vibration_manager.mojom",
46 ]
47 }
OLDNEW
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.cc ('k') | device/vibration/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698