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

Unified Diff: device/generic_sensor/public/cpp/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/cpp/BUILD.gn
diff --git a/device/generic_sensor/public/cpp/BUILD.gn b/device/generic_sensor/public/cpp/BUILD.gn
index 08332776bcee28cf17c8685d01d661275be0f10a..420fffb27a80ad7a789d280e358bd9ff99bd322d 100644
--- a/device/generic_sensor/public/cpp/BUILD.gn
+++ b/device/generic_sensor/public/cpp/BUILD.gn
@@ -10,11 +10,14 @@ component("cpp") {
"sensor_reading.h",
]
- defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ]
+ defines = [ "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION" ]
+
+ public_deps = [
+ "//device/generic_sensor/public/interfaces",
+ ]
deps = [
"//base",
"//device/base/synchronization",
- "//device/generic_sensor/public/interfaces",
]
}
« no previous file with comments | « device/generic_sensor/platform_sensor_reader_linux.h ('k') | device/generic_sensor/public/cpp/generic_sensor_public_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698