mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-01-11 23:13:35 +00:00
Upload mapping and native debug symbols
This commit is contained in:
parent
b505819ca2
commit
9279f30e89
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -89,6 +89,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
python build.py -v all
|
python build.py -v all
|
||||||
|
|
||||||
|
- name: Stop gradle daemon
|
||||||
|
run: ./gradlew --stop
|
||||||
|
|
||||||
# Only upload artifacts built on Linux
|
# Only upload artifacts built on Linux
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
@ -96,3 +99,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: ${{ github.sha }}
|
name: ${{ github.sha }}
|
||||||
path: out
|
path: out
|
||||||
|
|
||||||
|
- name: Upload mapping and native debug symbols
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: ${{ github.sha }}-symbols
|
||||||
|
path: app/build/outputs
|
||||||
|
@ -26,7 +26,10 @@ android {
|
|||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
versionName = Config.version
|
versionName = Config.version
|
||||||
versionCode = Config.versionCode
|
versionCode = Config.versionCode
|
||||||
ndk.abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
ndk {
|
||||||
|
abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64")
|
||||||
|
debugSymbolLevel = "FULL"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
@ -54,9 +57,6 @@ android {
|
|||||||
excludes += "/*.bin"
|
excludes += "/*.bin"
|
||||||
excludes += "/*.json"
|
excludes += "/*.json"
|
||||||
}
|
}
|
||||||
jniLibs {
|
|
||||||
keepDebugSymbols += "**/*.so"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,11 +58,13 @@ ifdef B_PRELOAD
|
|||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := init-ld
|
LOCAL_MODULE := init-ld
|
||||||
LOCAL_SRC_FILES := init/preload.c
|
LOCAL_SRC_FILES := init/preload.c
|
||||||
|
LOCAL_STRIP_MODE := --strip-all
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := zygisk-ld
|
LOCAL_MODULE := zygisk-ld
|
||||||
LOCAL_SRC_FILES := zygisk/loader.c
|
LOCAL_SRC_FILES := zygisk/loader.c
|
||||||
|
LOCAL_STRIP_MODE := --strip-all
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -6,7 +6,7 @@ APP_CPPFLAGS := -std=c++20
|
|||||||
APP_STL := none
|
APP_STL := none
|
||||||
APP_PLATFORM := android-23
|
APP_PLATFORM := android-23
|
||||||
APP_THIN_ARCHIVE := true
|
APP_THIN_ARCHIVE := true
|
||||||
APP_STRIP_MODE := --strip-all
|
APP_STRIP_MODE := none
|
||||||
|
|
||||||
# Busybox should use stock libc.a
|
# Busybox should use stock libc.a
|
||||||
ifdef B_BB
|
ifdef B_BB
|
||||||
|
Loading…
x
Reference in New Issue
Block a user