mirror of
https://github.com/termux/termux-packages.git
synced 2025-09-01 17:40:41 +00:00
47 lines
1.7 KiB
Diff
47 lines
1.7 KiB
Diff
--- a/toolkit/components/extensions/storage/moz.build
|
|
+++ b/toolkit/components/extensions/storage/moz.build
|
|
@@ -11,7 +11,7 @@
|
|
# a delegate for consumers to use instead. Android Components can then provide
|
|
# an implementation of the delegate that's backed by the Rust component. For
|
|
# details, please see bug 1626506, comment 4.
|
|
-if CONFIG["MOZ_WIDGET_TOOLKIT"] != "android":
|
|
+if False:
|
|
EXTRA_JS_MODULES += [
|
|
"ExtensionStorageComponents.sys.mjs",
|
|
]
|
|
--- a/toolkit/library/rust/shared/Cargo.toml
|
|
+++ b/toolkit/library/rust/shared/Cargo.toml
|
|
@@ -112,7 +112,7 @@
|
|
[target.'cfg(any(target_os = "macos",target_os = "ios", all(target_os = "windows", not(target_arch = "aarch64"))))'.dependencies]
|
|
osclientcerts = { path = "../../../../security/manager/ssl/osclientcerts" }
|
|
|
|
-[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
+[target.'cfg(target_os = "android")'.dependencies]
|
|
gkrust-uniffi-components = { path = "../../../components/uniffi-bindgen-gecko-js/components/", features = ["xpcom"] }
|
|
gkrust-uniffi-fixtures = { path = "../../../components/uniffi-bindgen-gecko-js/fixtures/", features = ["xpcom"], optional = true }
|
|
viaduct = "0.1"
|
|
--- a/toolkit/library/rust/shared/lib.rs
|
|
+++ b/toolkit/library/rust/shared/lib.rs
|
|
@@ -55,7 +55,6 @@
|
|
|
|
extern crate audio_thread_priority;
|
|
|
|
-#[cfg(not(target_os = "android"))]
|
|
extern crate webext_storage;
|
|
|
|
#[cfg(feature = "webrtc")]
|
|
@@ -91,13 +90,11 @@
|
|
all(target_os = "windows", not(target_arch = "aarch64"))))]
|
|
extern crate osclientcerts;
|
|
|
|
-#[cfg(not(target_os = "android"))]
|
|
extern crate gkrust_uniffi_components;
|
|
|
|
#[cfg(feature = "uniffi_fixtures")]
|
|
extern crate gkrust_uniffi_fixtures;
|
|
|
|
-#[cfg(not(target_os = "android"))]
|
|
extern crate viaduct;
|
|
|
|
extern crate gecko_logger;
|