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") { |
ke.he
2017/05/17 09:32:05
The reason I didn't merge "generic_sensor" target
ke.he
2017/05/18 05:24:18
Correction:
The GN target that depends on ".../cpp
Reilly Grant (use Gerrit)
2017/05/18 15:58:49
I resolved a similar cycle in //device/usb/BUILD.g
|
+ 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", |