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

Side by Side Diff: device/generic_sensor/BUILD.gn

Issue 2948253002: Revert of Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: Created 3 years, 5 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 unified diff | Download patch
« no previous file with comments | « content/test/data/device_sensors/device_motion_test.html ('k') | device/generic_sensor/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 6
7 if (is_android) { 7 if (is_android) {
8 import("//build/config/android/rules.gni") # For generate_jni(). 8 import("//build/config/android/rules.gni") # For generate_jni().
9 } 9 }
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 "sensor_impl.h", 45 "sensor_impl.h",
46 "sensor_provider_impl.cc", 46 "sensor_provider_impl.cc",
47 "sensor_provider_impl.h", 47 "sensor_provider_impl.h",
48 ] 48 ]
49 49
50 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ] 50 defines = [ "DEVICE_GENERIC_SENSOR_IMPLEMENTATION" ]
51 51
52 deps = [ 52 deps = [
53 "//base", 53 "//base",
54 "//device/base/synchronization", 54 "//device/base/synchronization",
55 "//services/device/public/cpp:device_features",
56 ] 55 ]
57 56
58 public_deps = [ 57 public_deps = [
59 "//device/generic_sensor/public/cpp", 58 "//device/generic_sensor/public/cpp",
60 ] 59 ]
61 60
62 if (is_android) { 61 if (is_android) {
63 sources += [ 62 sources += [
64 "android/sensors_jni_registrar.cc", 63 "android/sensors_jni_registrar.cc",
65 "android/sensors_jni_registrar.h", 64 "android/sensors_jni_registrar.h",
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 "fake_platform_sensor_provider.cc", 129 "fake_platform_sensor_provider.cc",
131 "fake_platform_sensor_provider.h", 130 "fake_platform_sensor_provider.h",
132 ] 131 ]
133 132
134 public_deps = [ 133 public_deps = [
135 ":generic_sensor", 134 ":generic_sensor",
136 "//base", 135 "//base",
137 "//testing/gmock", 136 "//testing/gmock",
138 ] 137 ]
139 } 138 }
OLDNEW
« no previous file with comments | « content/test/data/device_sensors/device_motion_test.html ('k') | device/generic_sensor/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698