Skip to content

Commit

Permalink
🦄 refactor: Rename .so.android to .soso
Browse files Browse the repository at this point in the history
  • Loading branch information
caoccao committed Sep 3, 2024
1 parent 3f64584 commit 3b13001
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ replay_pid*
rust/target
*.dll
*.so
*.so.android
*.soso
*.dylib

# ------------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion scripts/ts/copy_swc4j_lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const OS_CONFIG_MAP: Record<string, Config> = {
sourceName: `lib${NAME}`,
targetName: `lib${NAME}`,
sourceExt: ".so",
targetExt: ".so.android",
targetExt: ".soso",
targets: {
x86: "i686-linux-android",
x86_64: "x86_64-linux-android",
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/caoccao/javet/swc4j/Swc4jLibLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ final class Swc4jLibLoader {
private static final String ARCH_X86_64 = "x86_64";
private static final int BUFFER_LENGTH = 4096;
private static final String CHMOD = "chmod";
private static final String LIB_FILE_EXTENSION_ANDROID = "so.android";
private static final String LIB_FILE_EXTENSION_ANDROID = "soso";
private static final String LIB_FILE_EXTENSION_LINUX = "so";
private static final String LIB_FILE_EXTENSION_MACOS = "dylib";
private static final String LIB_FILE_EXTENSION_WINDOWS = "dll";
Expand Down

0 comments on commit 3b13001

Please sign in to comment.