Index: services/device/generic_sensor/BUILD.gn |
diff --git a/device/generic_sensor/BUILD.gn b/services/device/generic_sensor/BUILD.gn |
similarity index 93% |
rename from device/generic_sensor/BUILD.gn |
rename to services/device/generic_sensor/BUILD.gn |
index f95b0a1b20ca513b3413aa7b44b5c58836e5f0fb..d0598ec25c847bf4a3b9838ee0425c184af7fc74 100644 |
--- a/device/generic_sensor/BUILD.gn |
+++ b/services/device/generic_sensor/BUILD.gn |
@@ -8,11 +8,10 @@ if (is_android) { |
import("//build/config/android/rules.gni") # For generate_jni(). |
} |
-component("generic_sensor") { |
+source_set("generic_sensor") { |
output_name = "generic_sensor" |
sources = [ |
"generic_sensor_consts.h", |
- "generic_sensor_export.h", |
"linux/sensor_data_linux.cc", |
"linux/sensor_data_linux.h", |
"platform_sensor.cc", |
@@ -47,15 +46,13 @@ component("generic_sensor") { |
"sensor_provider_impl.h", |
] |
- defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] |
- |
deps = [ |
"//base", |
"//device/base/synchronization", |
] |
public_deps = [ |
- "//device/generic_sensor/public/cpp", |
+ "//services/device/public/cpp/generic_sensor", |
] |
if (is_android) { |
@@ -116,7 +113,7 @@ if (is_android) { |
deps = [ |
"//base:base_java", |
- "//device/generic_sensor/public/interfaces:interfaces_java", |
+ "//services/device/public/interfaces:generic_sensor_java", |
] |
} |
} |