From f217c514a7a01527c1092f7dd02b48b1d61e5a4d Mon Sep 17 00:00:00 2001 From: Nikhil Badyal Date: Tue, 18 Oct 2022 22:22:30 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Option=20to=20build=20only=20arm64?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config.py | 1 + src/parser.py | 1 + 2 files changed, 2 insertions(+) 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")