mirror of
https://github.com/LSPosed/LSPlant.git
synced 2025-05-04 20:42:02 +08:00
Adopt unit test
This commit is contained in:
parent
49714ca405
commit
a28b3e1227
@ -26,6 +26,11 @@ android {
|
||||
versionName = "1.0"
|
||||
|
||||
testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
arguments += "-DANDROID_STL=c++_shared"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
externalNativeBuild {
|
||||
|
@ -7,4 +7,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
add_library(test SHARED test.cpp elf_util.cpp)
|
||||
find_package(dobby REQUIRED CONFIG)
|
||||
find_package(library REQUIRED CONFIG)
|
||||
target_link_libraries(test log dobby::dobby library::lsplant)
|
||||
target_link_libraries(test log dobby::dobby library::lsplant library::dex_builder)
|
||||
|
Loading…
x
Reference in New Issue
Block a user