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

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

Issue 2587883002: Fix ODR violations caused by mojoms being included in multiple components. (Closed)
Patch Set: Created 4 years 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
index f02c8e0ca8c0a6960a9ca8659f31f51179c9f5da..b9671e5c5237a40ff733d3791e2446bc1d22999e 100644
--- a/device/generic_sensor/public/interfaces/BUILD.gn
+++ b/device/generic_sensor/public/interfaces/BUILD.gn
@@ -5,9 +5,10 @@
import("//mojo/public/tools/bindings/mojom.gni")
mojom("interfaces") {
- export_class_attribute = "DEVICE_GENERIC_SENSOR_EXPORT"
- export_define = "DEVICE_GENERIC_SENSOR_IMPLEMENTATION=1"
- export_header = "device/generic_sensor/generic_sensor_export.h"
+ 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",
« no previous file with comments | « device/generic_sensor/public/cpp/sensor_reading.h ('k') | third_party/WebKit/Source/core/offscreencanvas/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698