Skip to content

Commit 755b2d5

Browse files
committed
cmake禁用build-id,移除GITHUB_SHA
1 parent 1c59ce9 commit 755b2d5

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

app/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,6 @@ target_link_libraries( # Specifies the target library.
4343

4444
# Links the target library to the log library
4545
# included in the NDK.
46-
${log-lib} )
46+
${log-lib}
47+
"-Wl,--build-id=none" )
4748

app/build.gradle.kts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ android {
6565
"BUGLY_APP_ID",
6666
"\"${properties.getProperty("BUGLY_APP_ID")}\""
6767
)
68-
buildConfigField(
69-
"String",
70-
"GITHUB_SHA",
71-
"\"${System.getenv("GITHUB_SHA")}\""
72-
)
68+
// buildConfigField(
69+
// "String",
70+
// "GITHUB_SHA",
71+
// "\"${System.getenv("GITHUB_SHA")}\""
72+
// )
7373

7474
ndk {
7575
abiFilters += listOf(

app/src/main/java/remix/myplayer/misc/AppInfo.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ object AppInfo {
1010
VERSION_NAME: ${BuildConfig.VERSION_NAME}
1111
FLAVOR: ${BuildConfig.FLAVOR}
1212
BUILD_TYPE: ${BuildConfig.BUILD_TYPE}
13-
GITHUB_SHA: ${BuildConfig.GITHUB_SHA}
1413
""".trimIndent()
1514
}
1615
}

0 commit comments

Comments
 (0)