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

Unified Diff: device/generic_sensor/public/interfaces/BUILD.gn

Issue 2898433002: Revert of Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: Created 3 years, 7 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
Index: device/generic_sensor/public/interfaces/BUILD.gn
diff --git a/device/generic_sensor/public/interfaces/BUILD.gn b/device/generic_sensor/public/interfaces/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..24aabe84cb4df980fea14fad7f41bb6072ab245f
--- /dev/null
+++ b/device/generic_sensor/public/interfaces/BUILD.gn
@@ -0,0 +1,22 @@
+# 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.
+
+import("//mojo/public/tools/bindings/mojom.gni")
+
+mojom("interfaces") {
+ visibility = [ "//device/generic_sensor/public/cpp" ]
+ visibility_blink = [ "//third_party/WebKit/Source/*" ]
+ component_output_prefix = "generic_sensor_public_interfaces"
+ export_class_attribute = "DEVICE_GENERIC_SENSOR_PUBLIC_EXPORT"
+ export_define = "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION=1"
+ export_header =
+ "device/generic_sensor/public/cpp/generic_sensor_public_export.h"
+ sources = [
+ "sensor.mojom",
+ "sensor_provider.mojom",
+ ]
+
+ # TODO(crbug.com/714018): Convert the implementation to use OnceCallback.
+ use_once_callback = false
+}
« no previous file with comments | « device/generic_sensor/public/cpp/sensor_struct_traits.cc ('k') | device/generic_sensor/public/interfaces/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698