Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fcc9432e authored by Andrew Walbran's avatar Andrew Walbran
Browse files

Make dependencies explicit.

extern crate allows dependencies on crates not listed in the Soong build
rule. We don't want this, so remove extern crate.

Bug: 261037227
Test: atest pdl_tests
Tag: #gd-refactor
Change-Id: I26b7311307a5415d5d9788692ae6b6d3f917c1b0
parent 48196184
Loading
Loading
Loading
Loading
+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;
+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;
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@ rust_binary {
      "libbluetooth_with_facades",
      "libfutures",
      "libgrpcio",
      "liblazy_static",
      "libtokio",
      "libnix",
      "libbt_common",
+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};
+0 −1
Original line number Diff line number Diff line
@@ -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