| 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 deps = [ | 62 deps = [ |
| 63 "//base/test:test_support", | 63 "//base/test:test_support", |
| 64 "//device/battery", | 64 "//device/battery", |
| 65 "//device/battery:mojo_bindings", | 65 "//device/battery:mojo_bindings", |
| 66 "//device/bluetooth", | 66 "//device/bluetooth", |
| 67 "//device/nfc", | 67 "//device/nfc", |
| 68 "//mojo/environment:chromium", | 68 "//mojo/environment:chromium", |
| 69 "//net", | 69 "//net", |
| 70 "//testing/gmock", | 70 "//testing/gmock", |
| 71 "//testing/gtest", | 71 "//testing/gtest", |
| 72 "//third_party/mojo/src/mojo/edk/system", | |
| 73 "//third_party/mojo/src/mojo/public/cpp/bindings", | 72 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 74 "//url", | 73 "//url", |
| 75 ] | 74 ] |
| 76 | 75 |
| 76 if (use_chrome_edk) { |
| 77 deps += [ "//mojo/edk/system" ] |
| 78 } else { |
| 79 deps += [ "//third_party/mojo/src/mojo/edk/system" ] |
| 80 } |
| 81 |
| 77 if (!is_linux_without_dbus && !is_chromeos) { | 82 if (!is_linux_without_dbus && !is_chromeos) { |
| 78 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] | 83 sources += [ "battery/battery_status_manager_linux_unittest.cc" ] |
| 79 } | 84 } |
| 80 | 85 |
| 81 # HID and Serial: | 86 # HID and Serial: |
| 82 # Android doesn't compile. | 87 # Android doesn't compile. |
| 83 # Linux, requires udev. | 88 # Linux, requires udev. |
| 84 if (!is_linux_without_udev && !is_android) { | 89 if (!is_linux_without_udev && !is_android) { |
| 85 sources += [ | 90 sources += [ |
| 86 "hid/hid_connection_unittest.cc", | 91 "hid/hid_connection_unittest.cc", |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 179 } | 184 } |
| 180 | 185 |
| 181 android_library("bluetooth_test_java") { | 186 android_library("bluetooth_test_java") { |
| 182 java_files = bluetooth_java_sources_needing_jni | 187 java_files = bluetooth_java_sources_needing_jni |
| 183 deps = [ | 188 deps = [ |
| 184 "//base:base_java", | 189 "//base:base_java", |
| 185 "//device/bluetooth:java", | 190 "//device/bluetooth:java", |
| 186 ] | 191 ] |
| 187 } | 192 } |
| 188 } | 193 } |
| OLD | NEW |