| OLD | NEW |
| 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2013 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/libfuzzer/fuzzer_test.gni") | 6 import("//testing/libfuzzer/fuzzer_test.gni") |
| 7 | 7 |
| 8 assert(!is_ios) | 8 assert(!is_ios) |
| 9 | 9 |
| 10 if (is_android) { | 10 if (is_android) { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 "usb_service_android.h", | 50 "usb_service_android.h", |
| 51 "usb_service_win.cc", | 51 "usb_service_win.cc", |
| 52 "usb_service_win.h", | 52 "usb_service_win.h", |
| 53 "webusb_descriptors.cc", | 53 "webusb_descriptors.cc", |
| 54 "webusb_descriptors.h", | 54 "webusb_descriptors.h", |
| 55 generated_ids, | 55 generated_ids, |
| 56 ] | 56 ] |
| 57 | 57 |
| 58 deps = [ | 58 deps = [ |
| 59 ":usb_device_ids", | 59 ":usb_device_ids", |
| 60 "//base", | |
| 61 "//base/third_party/dynamic_annotations", | 60 "//base/third_party/dynamic_annotations", |
| 62 "//components/device_event_log", | 61 "//components/device_event_log", |
| 63 "//device/base", | 62 "//device/base", |
| 64 "//net", | 63 "//net", |
| 65 ] | 64 ] |
| 66 | 65 |
| 66 public_deps = [ |
| 67 "//base", |
| 68 "//url", |
| 69 |
| 70 # Depend on the header generation target only to avoid the circular |
| 71 # dependency caused by both using enums defined in the mojom headers and |
| 72 # typemappings linking against this target. |
| 73 "public/interfaces:interfaces__generator", |
| 74 ] |
| 75 |
| 67 if (use_udev) { | 76 if (use_udev) { |
| 68 sources += [ | 77 sources += [ |
| 69 "usb_service_linux.cc", | 78 "usb_service_linux.cc", |
| 70 "usb_service_linux.h", | 79 "usb_service_linux.h", |
| 71 ] | 80 ] |
| 72 deps += [ "//device/udev_linux" ] | 81 deps += [ "//device/udev_linux" ] |
| 73 } | 82 } |
| 74 | 83 |
| 75 if (is_android) { | 84 if (is_android) { |
| 76 deps += [ ":jni_headers" ] | 85 deps += [ ":jni_headers" ] |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 jni_package = "device" | 222 jni_package = "device" |
| 214 } | 223 } |
| 215 | 224 |
| 216 android_library("java") { | 225 android_library("java") { |
| 217 java_files = java_sources_needing_jni | 226 java_files = java_sources_needing_jni |
| 218 deps = [ | 227 deps = [ |
| 219 "//base:base_java", | 228 "//base:base_java", |
| 220 ] | 229 ] |
| 221 } | 230 } |
| 222 } | 231 } |
| OLD | NEW |