fix(android): remove dependency to libusb (#10161)

This commit is contained in:
Niklas Adolfsson 2019-01-10 13:13:15 +01:00 committed by Afri Schoedon
parent 38af7f35fc
commit eea5f6f232
4 changed files with 8 additions and 8 deletions

View File

@ -71,10 +71,10 @@ using_queue = { path = "../miner/using-queue" }
vm = { path = "vm" } vm = { path = "vm" }
wasm = { path = "wasm" } wasm = { path = "wasm" }
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.dependencies]
hardware-wallet = { path = "../accounts/hw" } hardware-wallet = { path = "../accounts/hw" }
[target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))'.dependencies] [target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies]
fake-hardware-wallet = { path = "../accounts/fake-hardware-wallet" } fake-hardware-wallet = { path = "../accounts/fake-hardware-wallet" }
[dev-dependencies] [dev-dependencies]

View File

@ -115,10 +115,10 @@ extern crate kvdb_rocksdb;
#[cfg(any(test, feature = "blooms-db"))] #[cfg(any(test, feature = "blooms-db"))]
extern crate blooms_db; extern crate blooms_db;
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))] #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
extern crate hardware_wallet; extern crate hardware_wallet;
#[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))] #[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows")))]
extern crate fake_hardware_wallet as hardware_wallet; extern crate fake_hardware_wallet as hardware_wallet;
#[macro_use] #[macro_use]

View File

@ -62,10 +62,10 @@ eip-712 = { path = "../util/EIP-712" }
stats = { path = "../util/stats" } stats = { path = "../util/stats" }
vm = { path = "../ethcore/vm" } vm = { path = "../ethcore/vm" }
[target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))'.dependencies] [target.'cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))'.dependencies]
hardware-wallet = { path = "../accounts/hw" } hardware-wallet = { path = "../accounts/hw" }
[target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))'.dependencies] [target.'cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies]
fake-hardware-wallet = { path = "../accounts/fake-hardware-wallet" } fake-hardware-wallet = { path = "../accounts/fake-hardware-wallet" }
[dev-dependencies] [dev-dependencies]

View File

@ -67,9 +67,9 @@ extern crate rlp;
extern crate stats; extern crate stats;
extern crate vm; extern crate vm;
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android"))] #[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
extern crate hardware_wallet; extern crate hardware_wallet;
#[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows", target_os = "android")))] #[cfg(not(any(target_os = "linux", target_os = "macos", target_os = "windows")))]
extern crate fake_hardware_wallet as hardware_wallet; extern crate fake_hardware_wallet as hardware_wallet;
#[macro_use] #[macro_use]