Index: device/sensors/public/interfaces/sensor.typemap |
diff --git a/device/sensors/public/interfaces/sensor.typemap b/device/sensors/public/interfaces/sensor.typemap |
new file mode 100644 |
index 0000000000000000000000000000000000000000..3fa0f1ae2bd676f114549950b96f5d68208cf21d |
--- /dev/null |
+++ b/device/sensors/public/interfaces/sensor.typemap |
@@ -0,0 +1,19 @@ |
+# Copyright 2016 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+mojom = "//device/sensors/public/interfaces/sensor.mojom" |
+public_headers = [ |
+ "//device/sensors/platform_sensor.h", |
+ "//device/sensors/platform_sensor_configuration.h", |
+] |
+traits_headers = [ "//device/sensors/public/interfaces/sensor_struct_traits.h" ] |
+sources = [ |
+ "//device/sensors/public/interfaces/sensor_struct_traits.cc", |
+] |
+ |
+type_mappings = [ |
+ "device.mojom.ReportingMode=device::ReportingMode", |
+ "device.mojom.SensorConfiguration=device::PlatformSensorConfiguration", |
+ "device.mojom.SensorType=device::SensorType", |
+] |