| 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 # Android doesn't compile. | 100 # Android doesn't compile. |
| 101 # Linux, requires udev. | 101 # Linux, requires udev. |
| 102 if (!is_linux_without_udev && !is_android) { | 102 if (!is_linux_without_udev && !is_android) { |
| 103 sources += [ | 103 sources += [ |
| 104 "hid/hid_connection_unittest.cc", | 104 "hid/hid_connection_unittest.cc", |
| 105 "hid/hid_device_filter_unittest.cc", | 105 "hid/hid_device_filter_unittest.cc", |
| 106 "hid/hid_report_descriptor_unittest.cc", | 106 "hid/hid_report_descriptor_unittest.cc", |
| 107 "hid/input_service_linux_unittest.cc", | 107 "hid/input_service_linux_unittest.cc", |
| 108 "hid/test_report_descriptors.cc", | 108 "hid/test_report_descriptors.cc", |
| 109 "hid/test_report_descriptors.h", | 109 "hid/test_report_descriptors.h", |
| 110 "serial/data_sink_unittest.cc", | |
| 111 "serial/data_source_unittest.cc", | |
| 112 "serial/serial_connection_unittest.cc", | |
| 113 "serial/serial_io_handler_posix_unittest.cc", | 110 "serial/serial_io_handler_posix_unittest.cc", |
| 114 "serial/serial_service_unittest.cc", | |
| 115 ] | 111 ] |
| 116 deps += [ | 112 deps += [ |
| 117 "//device/hid", | 113 "//device/hid", |
| 118 "//device/serial", | 114 "//device/serial", |
| 119 "//device/serial:test_support", | 115 "//device/serial:test_support", |
| 120 ] | 116 ] |
| 121 } | 117 } |
| 122 | 118 |
| 123 if (use_udev) { | 119 if (use_udev) { |
| 124 sources += [ "udev_linux/udev_unittest.cc" ] | 120 sources += [ "udev_linux/udev_unittest.cc" ] |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 ] | 271 ] |
| 276 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] | 272 srcjar_deps = [ "//device/gamepad:java_enums_srcjar" ] |
| 277 } | 273 } |
| 278 | 274 |
| 279 java_cpp_enum("bluetooth_test_javagen") { | 275 java_cpp_enum("bluetooth_test_javagen") { |
| 280 sources = [ | 276 sources = [ |
| 281 "bluetooth/test/bluetooth_test.h", | 277 "bluetooth/test/bluetooth_test.h", |
| 282 ] | 278 ] |
| 283 } | 279 } |
| 284 } | 280 } |
| OLD | NEW |