Loading build.py +1 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,7 @@ class HostBuild(): 'enable_exceptions': os.environ.get('CXXEXCEPTIONS', 0) == '1', 'external_cflags': [], 'external_cxxflags': ["-DNDEBUG"], 'enable_werror': False, 'enable_werror': True, } if clang: Loading system/btif/src/bluetooth.cc +1 −1 Original line number Diff line number Diff line Loading @@ -432,7 +432,7 @@ static bool is_profile(const char* p1, const char* p2) { #ifdef TARGET_FLOSS static int global_hci_adapter = 0; static int set_adapter_index(int adapter) { global_hci_adapter = adapter; } static void set_adapter_index(int adapter) { global_hci_adapter = adapter; } int GetAdapterIndex() { return global_hci_adapter; } #else int GetAdapterIndex() { return 0; } // Unsupported outside of FLOSS Loading system/gd/rust/linux/service/src/main.rs +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ fn main() -> Result<(), Box<dyn Error>> { let hci_index = matches.value_of("hci").map_or(0, |idx| idx.parse::<i32>().unwrap_or(0)); // The remaining flags are passed down to Fluoride as is. let mut init_flags: Vec<String> = match matches.values_of("init-flags") { let init_flags: Vec<String> = match matches.values_of("init-flags") { Some(args) => args.map(String::from).collect(), None => vec![], }; Loading system/include/hardware/bluetooth.h +1 −1 Original line number Diff line number Diff line Loading @@ -665,7 +665,7 @@ typedef struct { size_t size; #ifdef TARGET_FLOSS /** set index of the adapter to use */ int (*set_adapter_index)(int adapter_index); void (*set_adapter_index)(int adapter_index); #endif /** Loading Loading
build.py +1 −1 Original line number Diff line number Diff line Loading @@ -380,7 +380,7 @@ class HostBuild(): 'enable_exceptions': os.environ.get('CXXEXCEPTIONS', 0) == '1', 'external_cflags': [], 'external_cxxflags': ["-DNDEBUG"], 'enable_werror': False, 'enable_werror': True, } if clang: Loading
system/btif/src/bluetooth.cc +1 −1 Original line number Diff line number Diff line Loading @@ -432,7 +432,7 @@ static bool is_profile(const char* p1, const char* p2) { #ifdef TARGET_FLOSS static int global_hci_adapter = 0; static int set_adapter_index(int adapter) { global_hci_adapter = adapter; } static void set_adapter_index(int adapter) { global_hci_adapter = adapter; } int GetAdapterIndex() { return global_hci_adapter; } #else int GetAdapterIndex() { return 0; } // Unsupported outside of FLOSS Loading
system/gd/rust/linux/service/src/main.rs +1 −1 Original line number Diff line number Diff line Loading @@ -99,7 +99,7 @@ fn main() -> Result<(), Box<dyn Error>> { let hci_index = matches.value_of("hci").map_or(0, |idx| idx.parse::<i32>().unwrap_or(0)); // The remaining flags are passed down to Fluoride as is. let mut init_flags: Vec<String> = match matches.values_of("init-flags") { let init_flags: Vec<String> = match matches.values_of("init-flags") { Some(args) => args.map(String::from).collect(), None => vec![], }; Loading
system/include/hardware/bluetooth.h +1 −1 Original line number Diff line number Diff line Loading @@ -665,7 +665,7 @@ typedef struct { size_t size; #ifdef TARGET_FLOSS /** set index of the adapter to use */ int (*set_adapter_index)(int adapter_index); void (*set_adapter_index)(int adapter_index); #endif /** Loading