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

Side by Side Diff: device/BUILD.gn

Issue 2370343002: [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: change SetTaskRunner to SetFileTaskRunner as per offline discussion with Mikhail Created 4 years, 1 month 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 "//testing/gtest", 89 "//testing/gtest",
90 "//tools/usb_gadget", 90 "//tools/usb_gadget",
91 "//url", 91 "//url",
92 ] 92 ]
93 93
94 if (is_linux && !is_chromeos && use_dbus) { 94 if (is_linux && !is_chromeos && use_dbus) {
95 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] 95 sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
96 deps += [ "//dbus:test_support" ] 96 deps += [ "//dbus:test_support" ]
97 } 97 }
98 98
99 if (is_linux) {
100 sources += [ "generic_sensor/iio/sensor_reader_unittest.cc" ]
101 }
102
99 # HID and Serial: 103 # HID and Serial:
100 # Android doesn't compile. 104 # Android doesn't compile.
101 # Linux, requires udev. 105 # Linux, requires udev.
102 if (!is_linux_without_udev && !is_android) { 106 if (!is_linux_without_udev && !is_android) {
103 sources += [ 107 sources += [
104 "hid/hid_connection_unittest.cc", 108 "hid/hid_connection_unittest.cc",
105 "hid/hid_device_filter_unittest.cc", 109 "hid/hid_device_filter_unittest.cc",
106 "hid/hid_report_descriptor_unittest.cc", 110 "hid/hid_report_descriptor_unittest.cc",
107 "hid/input_service_linux_unittest.cc", 111 "hid/input_service_linux_unittest.cc",
108 "hid/test_report_descriptors.cc", 112 "hid/test_report_descriptors.cc",
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 ] 275 ]
272 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] 276 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ]
273 } 277 }
274 278
275 java_cpp_enum("bluetooth_test_javagen") { 279 java_cpp_enum("bluetooth_test_javagen") {
276 sources = [ 280 sources = [
277 "bluetooth/test/bluetooth_test.h", 281 "bluetooth/test/bluetooth_test.h",
278 ] 282 ]
279 } 283 }
280 } 284 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698