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

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

Issue 2776983002: [DeviceService] Move all vibration codes into //services/device (Closed)
Patch Set: Rebase only Created 3 years, 8 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
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//mojo/public/tools/bindings/mojom.gni") 6 import("//mojo/public/tools/bindings/mojom.gni")
7 7
8 # On android, VibrationManager mojo interface is implemented directly in Java. 8 # On android, VibrationManager mojo interface is implemented directly in Java.
9 if (!is_android) { 9 if (!is_android) {
10 component("vibration") { 10 source_set("vibration") {
11 output_name = "device_vibration" 11 visibility = [
12 "//services/device:lib",
13 "//services/device:tests",
14 ]
12 15
13 sources = [ 16 sources = [
14 "vibration_export.h",
15 "vibration_manager_impl.h", 17 "vibration_manager_impl.h",
16 "vibration_manager_impl_default.cc", 18 "vibration_manager_impl_default.cc",
17 ] 19 ]
18 20
19 defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ] 21 public_deps = [
22 "//services/device/public/interfaces",
23 ]
20 24
21 deps = [ 25 deps = [
22 ":mojo_bindings",
23 "//base", 26 "//base",
24 "//base/third_party/dynamic_annotations", 27 "//base/third_party/dynamic_annotations",
25 "//mojo/public/cpp/bindings", 28 "//mojo/public/cpp/bindings",
26 ] 29 ]
27 } 30 }
28 } 31 }
29
30 mojom("mojo_bindings") {
31 sources = [
32 "vibration_manager.mojom",
33 ]
34 }
OLDNEW
« no previous file with comments | « services/device/public/interfaces/vibration_manager.mojom ('k') | services/device/vibration/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698