OLD | NEW |
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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 6 import("//third_party/mojo/src/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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 "//third_party/mojo/src/mojo/public/cpp/bindings", | 26 "//third_party/mojo/src/mojo/public/cpp/bindings", |
27 "//third_party/mojo/src/mojo/edk/system", | 27 "//third_party/mojo/src/mojo/edk/system", |
28 ] | 28 ] |
29 | 29 |
30 if (is_android) { | 30 if (is_android) { |
31 sources -= [ "vibration_manager_impl_default.cc" ] | 31 sources -= [ "vibration_manager_impl_default.cc" ] |
32 deps += [ | 32 deps += [ |
33 "//device/vibration/android", | 33 "//device/vibration/android", |
34 "//device/vibration/android:vibration_jni_headers", | 34 "//device/vibration/android:vibration_jni_headers", |
35 ] | 35 ] |
| 36 allow_circular_includes_from = [ "//device/vibration/android" ] |
36 } | 37 } |
37 } | 38 } |
38 | 39 |
39 mojom("mojo_bindings") { | 40 mojom("mojo_bindings") { |
40 sources = [ | 41 sources = [ |
41 "vibration_manager.mojom", | 42 "vibration_manager.mojom", |
42 ] | 43 ] |
43 } | 44 } |
OLD | NEW |