| Index: services/device/vibration/BUILD.gn
|
| diff --git a/device/vibration/BUILD.gn b/services/device/vibration/BUILD.gn
|
| similarity index 70%
|
| rename from device/vibration/BUILD.gn
|
| rename to services/device/vibration/BUILD.gn
|
| index d9a9913a214d7658bfc98a426194966d2f28bd61..737c90ea856cae12371c51834964e7ba66aa2dff 100644
|
| --- a/device/vibration/BUILD.gn
|
| +++ b/services/device/vibration/BUILD.gn
|
| @@ -7,28 +7,25 @@ import("//mojo/public/tools/bindings/mojom.gni")
|
|
|
| # On android, VibrationManager mojo interface is implemented directly in Java.
|
| if (!is_android) {
|
| - component("vibration") {
|
| - output_name = "device_vibration"
|
| + source_set("vibration") {
|
| + visibility = [
|
| + "//services/device:lib",
|
| + "//services/device:tests",
|
| + ]
|
|
|
| sources = [
|
| - "vibration_export.h",
|
| "vibration_manager_impl.h",
|
| "vibration_manager_impl_default.cc",
|
| ]
|
|
|
| - defines = [ "DEVICE_VIBRATION_IMPLEMENTATION" ]
|
| + public_deps = [
|
| + "//services/device/public/interfaces",
|
| + ]
|
|
|
| deps = [
|
| - ":mojo_bindings",
|
| "//base",
|
| "//base/third_party/dynamic_annotations",
|
| "//mojo/public/cpp/bindings",
|
| ]
|
| }
|
| }
|
| -
|
| -mojom("mojo_bindings") {
|
| - sources = [
|
| - "vibration_manager.mojom",
|
| - ]
|
| -}
|
|
|