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

Side by Side Diff: device/BUILD.gn

Issue 2533793002: [sensors](CrOS/Linux) Implement Sensor device manager for sensors (Closed)
Patch Set: construct manager Created 4 years 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//testing/test.gni") 6 import("//testing/test.gni")
7 7
8 if (is_android) { 8 if (is_android) {
9 import("//build/config/android/rules.gni") # For generate_jni(). 9 import("//build/config/android/rules.gni") # For generate_jni().
10 } 10 }
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 "//third_party/WebKit/public:blink_headers", 101 "//third_party/WebKit/public:blink_headers",
102 "//tools/usb_gadget", 102 "//tools/usb_gadget",
103 "//url", 103 "//url",
104 ] 104 ]
105 105
106 if (is_linux && !is_chromeos && use_dbus) { 106 if (is_linux && !is_chromeos && use_dbus) {
107 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] 107 sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
108 deps += [ "//dbus:test_support" ] 108 deps += [ "//dbus:test_support" ]
109 } 109 }
110 110
111 if (is_linux) { 111 if (!is_linux_without_udev) {
112 sources += [ "generic_sensor/linux/sensor_reader_unittest.cc" ] 112 sources +=
113 [ "generic_sensor/platform_sensor_and_provider_unittest_linux.cc" ]
113 } 114 }
114 115
115 # HID and Serial: 116 # HID and Serial:
116 # Android doesn't compile. 117 # Android doesn't compile.
117 # Linux, requires udev. 118 # Linux, requires udev.
118 if (!is_linux_without_udev && !is_android) { 119 if (!is_linux_without_udev && !is_android) {
119 sources += [ 120 sources += [
120 "hid/hid_connection_unittest.cc", 121 "hid/hid_connection_unittest.cc",
121 "hid/hid_device_filter_unittest.cc", 122 "hid/hid_device_filter_unittest.cc",
122 "hid/hid_report_descriptor_unittest.cc", 123 "hid/hid_report_descriptor_unittest.cc",
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 ] 296 ]
296 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] 297 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ]
297 } 298 }
298 299
299 java_cpp_enum("bluetooth_test_javagen") { 300 java_cpp_enum("bluetooth_test_javagen") {
300 sources = [ 301 sources = [
301 "bluetooth/test/bluetooth_test.h", 302 "bluetooth/test/bluetooth_test.h",
302 ] 303 ]
303 } 304 }
304 } 305 }
OLDNEW
« no previous file with comments | « no previous file | device/generic_sensor/BUILD.gn » ('j') | device/generic_sensor/linux/platform_sensor_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698