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

Side by Side Diff: services/device/sensors/BUILD.gn

Issue 2819273006: Move //device/sensor impl to be part of the internal implemenation of the Device Service. (Closed)
Patch Set: Move //device/sensor impl to be part of the internal implemenation of the Device Service Created 3 years, 8 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 | « services/device/public/interfaces/orientation.mojom ('k') | services/device/sensors/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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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
11 component("sensors") { 11 source_set("sensors") {
12 sources = [ 12 sources = [
13 "ambient_light_mac.cc", 13 "ambient_light_mac.cc",
14 "ambient_light_mac.h", 14 "ambient_light_mac.h",
15 "android/device_sensor_jni_registrar.cc", 15 "android/device_sensor_jni_registrar.cc",
16 "android/device_sensor_jni_registrar.h", 16 "android/device_sensor_jni_registrar.h",
17 "data_fetcher_shared_memory.h", 17 "data_fetcher_shared_memory.h",
18 "data_fetcher_shared_memory_android.cc", 18 "data_fetcher_shared_memory_android.cc",
19 "data_fetcher_shared_memory_base.cc", 19 "data_fetcher_shared_memory_base.cc",
20 "data_fetcher_shared_memory_base.h", 20 "data_fetcher_shared_memory_base.h",
21 "data_fetcher_shared_memory_chromeos.cc", 21 "data_fetcher_shared_memory_chromeos.cc",
22 "data_fetcher_shared_memory_default.cc", 22 "data_fetcher_shared_memory_default.cc",
23 "data_fetcher_shared_memory_mac.cc", 23 "data_fetcher_shared_memory_mac.cc",
24 "data_fetcher_shared_memory_win.cc", 24 "data_fetcher_shared_memory_win.cc",
25 "device_sensor_export.h", 25 "device_sensor_export.h",
26 "device_sensor_host.cc", 26 "device_sensor_host.cc",
27 "device_sensor_host.h", 27 "device_sensor_host.h",
28 "device_sensor_service.cc", 28 "device_sensor_service.cc",
29 "device_sensor_service.h", 29 "device_sensor_service.h",
30 "device_sensors_consts.h", 30 "device_sensors_consts.h",
31 "sensor_manager_android.cc", 31 "sensor_manager_android.cc",
32 "sensor_manager_android.h", 32 "sensor_manager_android.h",
33 "sensor_manager_chromeos.cc", 33 "sensor_manager_chromeos.cc",
34 "sensor_manager_chromeos.h", 34 "sensor_manager_chromeos.h",
35 ] 35 ]
36 36
37 defines = [ "DEVICE_SENSOR_IMPLEMENTATION" ] 37 defines = [ "DEVICE_SENSOR_IMPLEMENTATION" ]
38 38
39 deps = [ 39 deps = [
40 "//base", 40 "//base",
41 "//device/sensors/public/cpp:full",
42 "//mojo/public/cpp/bindings", 41 "//mojo/public/cpp/bindings",
43 ] 42 "//services/device/public/cpp/sensors:full",
44 43 "//services/device/public/interfaces",
45 public_deps = [
46 "//device/sensors/public/interfaces",
47 ] 44 ]
48 45
49 if (is_win) { 46 if (is_win) {
50 sources -= [ "data_fetcher_shared_memory_default.cc" ] 47 sources -= [ "data_fetcher_shared_memory_default.cc" ]
51 libs = [ 48 libs = [
52 "sensorsapi.lib", 49 "sensorsapi.lib",
53 "portabledeviceguids.lib", 50 "portabledeviceguids.lib",
54 ] 51 ]
55 } 52 }
56 if (is_android) { 53 if (is_android) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 ] 98 ]
102 } 99 }
103 100
104 java_cpp_enum("device_sensors_android_java_enums_srcjar") { 101 java_cpp_enum("device_sensors_android_java_enums_srcjar") {
105 sources = [ 102 sources = [
106 "device_sensors_consts.h", 103 "device_sensors_consts.h",
107 "sensor_manager_android.h", 104 "sensor_manager_android.h",
108 ] 105 ]
109 } 106 }
110 } 107 }
OLDNEW
« no previous file with comments | « services/device/public/interfaces/orientation.mojom ('k') | services/device/sensors/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698