mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
commit
4d0b4a7b8c
2 changed files with 8 additions and 3 deletions
|
@ -227,7 +227,7 @@ pub fn get_null_window_handle() -> cef_window_handle_t {
|
|||
|
||||
pub fn update() {
|
||||
BROWSERS.with(|browsers| {
|
||||
for browser in &browsers.borrow() {
|
||||
for browser in &*browsers.borrow() {
|
||||
if browser.downcast().callback_executed.get() == false {
|
||||
browser_callback_after_created(browser.clone());
|
||||
}
|
||||
|
|
|
@ -115,7 +115,7 @@ def call(*args, **kwargs):
|
|||
verbose = kwargs.pop('verbose', False)
|
||||
if verbose:
|
||||
print(' '.join(args[0]))
|
||||
subprocess.call(*args, **kwargs)
|
||||
return subprocess.call(*args, **kwargs)
|
||||
|
||||
|
||||
@CommandProvider
|
||||
|
@ -195,7 +195,9 @@ class MachCommands(CommandBase):
|
|||
# Ensure the APK builder submodule has been built first
|
||||
apk_builder_dir = "support/android-rs-glue"
|
||||
with cd(path.join(apk_builder_dir, "apk-builder")):
|
||||
call(["cargo", "build"], env=self.build_env(), verbose=verbose)
|
||||
status = call(["cargo", "build"], env=self.build_env(), verbose=verbose)
|
||||
if status:
|
||||
return status
|
||||
|
||||
opts += ["--target", "arm-linux-androideabi"]
|
||||
|
||||
|
@ -240,6 +242,9 @@ class MachCommands(CommandBase):
|
|||
notify_build_done(elapsed)
|
||||
|
||||
print("Build completed in %0.2fs" % elapsed)
|
||||
# XXX(#7339) Android build is broken
|
||||
if android:
|
||||
return 0
|
||||
return status
|
||||
|
||||
@Command('build-cef',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue