Commit ca8d08d1 authored by swift_gan's avatar swift_gan

tweak so name

parent 65344009
...@@ -30,7 +30,7 @@ ext { ...@@ -30,7 +30,7 @@ ext {
userOrg = 'ganyao114' userOrg = 'ganyao114'
groupId = 'com.swift.sandhook' groupId = 'com.swift.sandhook'
repoName = 'SandHook' repoName = 'SandHook'
publishVersion = '0.0.1' publishVersion = '0.0.5'
desc = 'android art hook' desc = 'android art hook'
website = 'https://github.com/ganyao114/SandHook' website = 'https://github.com/ganyao114/SandHook'
licences = ['Apache-2.0'] licences = ['Apache-2.0']
......
...@@ -11,13 +11,13 @@ cmake_minimum_required(VERSION 3.4.1) ...@@ -11,13 +11,13 @@ cmake_minimum_required(VERSION 3.4.1)
# Gradle automatically packages shared libraries with your APK. # Gradle automatically packages shared libraries with your APK.
add_library( # Sets the name of the library. add_library( # Sets the name of the library.
lib-sandhook sandhook
# Sets the library as a shared library. # Sets the library as a shared library.
SHARED SHARED
# Provides a relative path to your source file(s). # Provides a relative path to your source file(s).
src/main/cpp/sandhooklib.cpp src/main/cpp/sandhook.cpp
src/main/cpp/trampoline/trampoline.cpp src/main/cpp/trampoline/trampoline.cpp
src/main/cpp/trampoline/trampoline_manager.cpp src/main/cpp/trampoline/trampoline_manager.cpp
src/main/cpp/utils/fake_dlfcn.cpp src/main/cpp/utils/fake_dlfcn.cpp
...@@ -43,7 +43,7 @@ find_library( # Sets the name of the path variable. ...@@ -43,7 +43,7 @@ find_library( # Sets the name of the path variable.
# build script, prebuilt third-party libraries, or system libraries. # build script, prebuilt third-party libraries, or system libraries.
target_link_libraries( # Specifies the target library. target_link_libraries( # Specifies the target library.
lib-sandhook sandhook
# Links the target library to the log library # Links the target library to the log library
# included in the NDK. # included in the NDK.
......
...@@ -24,7 +24,7 @@ public class SandHook { ...@@ -24,7 +24,7 @@ public class SandHook {
public static int testAccessFlag; public static int testAccessFlag;
static { static {
System.loadLibrary("lib-sandhook"); System.loadLibrary("sandhook");
init(); init();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment