Skip to content

Commit 2a071ca

Browse files
authored
strip-all (#22)
Turns out that we don't seem to strip enough data from the binary which results in us going over the 200MB data limit for google play console. In order to upload to the play console, strip as much information. Now that we no longer specify `--target=elf64-little` I think our core issue should still be resolved.
1 parent 3df24ba commit 2a071ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xbuild/src/command/build.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ pub fn build(env: &BuildEnv) -> Result<()> {
9898
.expect("Could not copy lib before stripping its debug symbols");
9999

100100
std::process::Command::new("strip")
101-
// I'm told this should always be valid for Android, so use this as the target
102-
.arg("--strip-debug")
101+
.arg("--strip-all")
103102
.arg(&lib)
104103
.spawn()
105104
.expect("Could not strip debug symbols from lib")

0 commit comments

Comments
 (0)