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

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

Issue 2059983002: Remove unnecessary dependencies on mojo/edk/system (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@cleanup
Patch Set: . Created 4 years, 6 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 | « device/usb/BUILD.gn ('k') | device/vr/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 component("vibration") { 8 component("vibration") {
9 output_name = "device_vibration" 9 output_name = "device_vibration"
10 10
11 sources = [ 11 sources = [
12 "vibration_export.h", 12 "vibration_export.h",
13 "vibration_manager_impl.h", 13 "vibration_manager_impl.h",
14 "vibration_manager_impl_default.cc", 14 "vibration_manager_impl_default.cc",
15 ] 15 ]
16 16
17 defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ] 17 defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
18 18
19 deps = [ 19 deps = [
20 ":mojo_bindings", 20 ":mojo_bindings",
21 "//base", 21 "//base",
22 "//base/third_party/dynamic_annotations", 22 "//base/third_party/dynamic_annotations",
23 "//mojo/edk/system",
24 "//mojo/public/cpp/bindings", 23 "//mojo/public/cpp/bindings",
25 ] 24 ]
26 25
27 if (is_android) { 26 if (is_android) {
28 sources -= [ "vibration_manager_impl_default.cc" ] 27 sources -= [ "vibration_manager_impl_default.cc" ]
29 } 28 }
30 } 29 }
31 30
32 mojom("mojo_bindings") { 31 mojom("mojo_bindings") {
33 sources = [ 32 sources = [
34 "vibration_manager.mojom", 33 "vibration_manager.mojom",
35 ] 34 ]
36 } 35 }
OLDNEW
« no previous file with comments | « device/usb/BUILD.gn ('k') | device/vr/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698