diff --git a/src/config.py b/src/config.py index 6bac9f2..8f37433 100644 --- a/src/config.py +++ b/src/config.py @@ -61,3 +61,4 @@ class RevancedConfig: "BRANDING_PATCH", "custom-branding-icon-blue" if self.build_extended else "custom-branding", ) + self.build_arm64_v8a_only = env.bool("BUILD_ARM64_V8A_ONLY", False) diff --git a/src/parser.py b/src/parser.py index 1dedf6a..64d1406 100644 --- a/src/parser.py +++ b/src/parser.py @@ -103,6 +103,7 @@ class Parser(object): if self._PATCHES: args.extend(self._PATCHES) + if self.config.build_extended and self.config.build_arm64_v8a_only: args.append("--rip-lib") args.append("armeabi-v7a") args.append("--rip-lib")