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

Side by Side Diff: device/BUILD.gn

Issue 2480773002: Reland of [sensors] Ambient light sensor implementation for ChromeOS and Linux. (Closed)
Patch Set: remove parenthesis 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
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | device/generic_sensor/BUILD.gn » ('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 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 "//testing/gtest", 90 "//testing/gtest",
91 "//tools/usb_gadget", 91 "//tools/usb_gadget",
92 "//url", 92 "//url",
93 ] 93 ]
94 94
95 if (is_linux && !is_chromeos && use_dbus) { 95 if (is_linux && !is_chromeos && use_dbus) {
96 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] 96 sources += [ "battery/battery_status_manager_linux_unittest.cc" ]
97 deps += [ "//dbus:test_support" ] 97 deps += [ "//dbus:test_support" ]
98 } 98 }
99 99
100 if (is_linux) {
101 sources += [ "generic_sensor/linux/sensor_reader_unittest.cc" ]
102 }
103
100 # HID and Serial: 104 # HID and Serial:
101 # Android doesn't compile. 105 # Android doesn't compile.
102 # Linux, requires udev. 106 # Linux, requires udev.
103 if (!is_linux_without_udev && !is_android) { 107 if (!is_linux_without_udev && !is_android) {
104 sources += [ 108 sources += [
105 "hid/hid_connection_unittest.cc", 109 "hid/hid_connection_unittest.cc",
106 "hid/hid_device_filter_unittest.cc", 110 "hid/hid_device_filter_unittest.cc",
107 "hid/hid_report_descriptor_unittest.cc", 111 "hid/hid_report_descriptor_unittest.cc",
108 "hid/input_service_linux_unittest.cc", 112 "hid/input_service_linux_unittest.cc",
109 "hid/test_report_descriptors.cc", 113 "hid/test_report_descriptors.cc",
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 ] 279 ]
276 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] 280 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ]
277 } 281 }
278 282
279 java_cpp_enum("bluetooth_test_javagen") { 283 java_cpp_enum("bluetooth_test_javagen") {
280 sources = [ 284 sources = [
281 "bluetooth/test/bluetooth_test.h", 285 "bluetooth/test/bluetooth_test.h",
282 ] 286 ]
283 } 287 }
284 } 288 }
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | device/generic_sensor/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698