Index: services/device/public/cpp/generic_sensor/BUILD.gn |
diff --git a/device/generic_sensor/public/cpp/BUILD.gn b/services/device/public/cpp/generic_sensor/BUILD.gn |
similarity index 75% |
rename from device/generic_sensor/public/cpp/BUILD.gn |
rename to services/device/public/cpp/generic_sensor/BUILD.gn |
index 420fffb27a80ad7a789d280e358bd9ff99bd322d..351ea5c9d0de1e0c2405ba59a039f1701a9b991a 100644 |
--- a/device/generic_sensor/public/cpp/BUILD.gn |
+++ b/services/device/public/cpp/generic_sensor/BUILD.gn |
@@ -2,7 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-component("cpp") { |
+source_set("generic_sensor") { |
sources = [ |
"platform_sensor_configuration.cc", |
"platform_sensor_configuration.h", |
@@ -10,10 +10,8 @@ component("cpp") { |
"sensor_reading.h", |
] |
- defines = [ "DEVICE_GENERIC_SENSOR_PUBLIC_IMPLEMENTATION" ] |
- |
public_deps = [ |
- "//device/generic_sensor/public/interfaces", |
+ "//services/device/public/interfaces:generic_sensor", |
] |
deps = [ |