Index: services/device/public/interfaces/BUILD.gn |
diff --git a/services/device/public/interfaces/BUILD.gn b/services/device/public/interfaces/BUILD.gn |
index ea9dd259754799d5d553bdbef50b522ff7ff381d..e4f3123e4cff4eef64446f03a8ca78b7bd06bd86 100644 |
--- a/services/device/public/interfaces/BUILD.gn |
+++ b/services/device/public/interfaces/BUILD.gn |
@@ -22,6 +22,20 @@ mojom("interfaces") { |
use_once_callback = false |
} |
+mojom("generic_sensor") { |
+ sources = [ |
+ "sensor.mojom", |
+ "sensor_provider.mojom", |
+ ] |
+ |
+ public_deps = [ |
+ ":constants", |
+ ] |
+ |
+ # TODO(crbug.com/714018): Convert the implementation to use OnceCallback. |
+ use_once_callback = false |
+} |
+ |
mojom("constants") { |
sources = [ |
"constants.mojom", |