| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |