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

Unified Diff: services/device/public/cpp/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
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 = [
« no previous file with comments | « services/device/generic_sensor/sensor_provider_impl.cc ('k') | services/device/public/cpp/generic_sensor/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698