Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] stop building unused Android Rust targets in debug

Manav Rathib8f33b876bd7
diff --git a/mobile/apps/photos/rust_builder/cargokit/gradle/plugin.gradle b/mobile/apps/photos/rust_builder/cargokit/gradle/plugin.gradle
index d139d04f66..b4d007a941 100644
--- a/mobile/apps/photos/rust_builder/cargokit/gradle/plugin.gradle
+++ b/mobile/apps/photos/rust_builder/cargokit/gradle/plugin.gradle
@@ -134,12 +134,6 @@ class CargoKitPlugin implements Plugin<Project> {
def platforms = com.flutter.gradle.FlutterPluginUtils.getTargetPlatforms(project).collect()
- // Same thing addFlutterDependencies does in flutter.gradle
- if (buildType == "debug") {
- platforms.add("android-x86")
- platforms.add("android-x64")
- }
-
// The task name depends on plugin properties, which are not available
// at this point
project.getGradle().afterProject {
diff --git a/mobile/packages/rust/cargokit/gradle/plugin.gradle b/mobile/packages/rust/cargokit/gradle/plugin.gradle
index 4af35ee052..1be3ad6f22 100644
--- a/mobile/packages/rust/cargokit/gradle/plugin.gradle
+++ b/mobile/packages/rust/cargokit/gradle/plugin.gradle
@@ -134,12 +134,6 @@ class CargoKitPlugin implements Plugin<Project> {
def platforms = com.flutter.gradle.FlutterPluginUtils.getTargetPlatforms(project).collect()
- // Same thing addFlutterDependencies does in flutter.gradle
- if (buildType == "debug") {
- platforms.add("android-x86")
- platforms.add("android-x64")
- }
-
// The task name depends on plugin properties, which are not available
// at this point
project.getGradle().afterProject {