OLD | NEW |
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 Loading... |
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 | |
104 # HID and Serial: | 100 # HID and Serial: |
105 # Android doesn't compile. | 101 # Android doesn't compile. |
106 # Linux, requires udev. | 102 # Linux, requires udev. |
107 if (!is_linux_without_udev && !is_android) { | 103 if (!is_linux_without_udev && !is_android) { |
108 sources += [ | 104 sources += [ |
109 "hid/hid_connection_unittest.cc", | 105 "hid/hid_connection_unittest.cc", |
110 "hid/hid_device_filter_unittest.cc", | 106 "hid/hid_device_filter_unittest.cc", |
111 "hid/hid_report_descriptor_unittest.cc", | 107 "hid/hid_report_descriptor_unittest.cc", |
112 "hid/input_service_linux_unittest.cc", | 108 "hid/input_service_linux_unittest.cc", |
113 "hid/test_report_descriptors.cc", | 109 "hid/test_report_descriptors.cc", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 ] | 275 ] |
280 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 276 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
281 } | 277 } |
282 | 278 |
283 java_cpp_enum("bluetooth_test_javagen") { | 279 java_cpp_enum("bluetooth_test_javagen") { |
284 sources = [ | 280 sources = [ |
285 "bluetooth/test/bluetooth_test.h", | 281 "bluetooth/test/bluetooth_test.h", |
286 ] | 282 ] |
287 } | 283 } |
288 } | 284 } |
OLD | NEW |