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

Unified Diff: services/device/generic_sensor/BUILD.gn

Issue 2865263002: Move //device/generic_sensor to be part of the internal implementation of the Device Service. (Closed)
Patch Set: code rebase 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
« no previous file with comments | « services/device/device_service.cc ('k') | services/device/generic_sensor/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
]
}
}
« no previous file with comments | « services/device/device_service.cc ('k') | services/device/generic_sensor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698