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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/device/public/interfaces/vibration_manager.mojom ('k') | services/device/vibration/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
- ]
-}
« 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