Skip to content

Commit

Permalink
Merge pull request #5379 from vector-im/feature/aris/cleanup_threads_…
Browse files Browse the repository at this point in the history
…build_config

Cleanup enabling threads from buildConfig
  • Loading branch information
bmarty authored Feb 28, 2022
2 parents 71aac37 + f6ad06b commit 9cc3564
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,6 @@ project(":library:diff-match-patch") {
}
}

// Global configurations across all modules
ext {
isThreadingEnabled = true
}

//project(":matrix-sdk-android") {
// sonarqube {
// properties {
Expand Down
1 change: 1 addition & 0 deletions changelog.d/5379.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cleanup unused threads build configurations
2 changes: 0 additions & 2 deletions matrix-sdk-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ android {
resValue "string", "git_sdk_revision_unix_date", "\"${gitRevisionUnixDate()}\""
resValue "string", "git_sdk_revision_date", "\"${gitRevisionDate()}\""

// Indicates whether or not threading support is enabled
buildConfigField "Boolean", "THREADING_ENABLED", "${isThreadingEnabled}"
defaultConfig {
consumerProguardFiles 'proguard-rules.pro'
}
Expand Down
3 changes: 0 additions & 3 deletions vector/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ android {
// This *must* only be set in trusted environments.
buildConfigField "Boolean", "handleCallAssertedIdentityEvents", "false"

// Indicates whether or not threading support is enabled
buildConfigField "Boolean", "THREADING_ENABLED", "${isThreadingEnabled}"

buildConfigField "Boolean", "enableLocationSharing", "true"
buildConfigField "String", "mapTilerKey", "\"fU3vlMsMn4Jb6dnEIFsx\""

Expand Down

0 comments on commit 9cc3564

Please sign in to comment.