Loading system/gd/rust/common/src/init_flags.rs +1 −0 Original line number Diff line number Diff line use lazy_static::lazy_static; use log::{error, info}; use paste::paste; use std::collections::HashMap; Loading system/gd/rust/common/src/lib.rs +0 −2 Original line number Diff line number Diff line //! Bluetooth common library #[macro_use] extern crate lazy_static; /// Provides waking timer abstractions pub mod time; Loading system/gd/rust/facade/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ rust_binary { "libbluetooth_with_facades", "libfutures", "libgrpcio", "liblazy_static", "libtokio", "libnix", "libbt_common", Loading system/gd/rust/facade/src/main.rs +2 −7 Original line number Diff line number Diff line //! Starts the facade services that allow us to test the Bluetooth stack #[macro_use] extern crate clap; use clap::{App, Arg}; #[macro_use] extern crate lazy_static; use bluetooth_with_facades::RootFacadeService; use clap::{value_t, App, Arg}; use futures::channel::mpsc; use futures::executor::block_on; use futures::stream::StreamExt; use grpcio::*; use lazy_static::lazy_static; use log::debug; use nix::sys::signal; use std::sync::{Arc, Mutex}; Loading system/gd/rust/facade_proto/build.rs +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. extern crate protobuf_codegen; extern crate protoc_grpcio; extern crate protoc_rust; Loading Loading
system/gd/rust/common/src/init_flags.rs +1 −0 Original line number Diff line number Diff line use lazy_static::lazy_static; use log::{error, info}; use paste::paste; use std::collections::HashMap; Loading
system/gd/rust/common/src/lib.rs +0 −2 Original line number Diff line number Diff line //! Bluetooth common library #[macro_use] extern crate lazy_static; /// Provides waking timer abstractions pub mod time; Loading
system/gd/rust/facade/Android.bp +1 −0 Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ rust_binary { "libbluetooth_with_facades", "libfutures", "libgrpcio", "liblazy_static", "libtokio", "libnix", "libbt_common", Loading
system/gd/rust/facade/src/main.rs +2 −7 Original line number Diff line number Diff line //! Starts the facade services that allow us to test the Bluetooth stack #[macro_use] extern crate clap; use clap::{App, Arg}; #[macro_use] extern crate lazy_static; use bluetooth_with_facades::RootFacadeService; use clap::{value_t, App, Arg}; use futures::channel::mpsc; use futures::executor::block_on; use futures::stream::StreamExt; use grpcio::*; use lazy_static::lazy_static; use log::debug; use nix::sys::signal; use std::sync::{Arc, Mutex}; Loading
system/gd/rust/facade_proto/build.rs +0 −1 Original line number Diff line number Diff line Loading @@ -13,7 +13,6 @@ // See the License for the specific language governing permissions and // limitations under the License. extern crate protobuf_codegen; extern crate protoc_grpcio; extern crate protoc_rust; Loading