Skip to content

Commit

Permalink
buildscripts: stop handling Windows PDBs
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Jan 23, 2025
1 parent 0680dfc commit 312f635
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
10 changes: 0 additions & 10 deletions MinieLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ ext {
//libbulletjmeUrl = 'file:///c:\\users\\sgold\\My%20Documents\\NetBeansProjects\\Libbulletjme\\dist\\' // to test a local build

jarType = ''
pdbWindows64 = ''
if (rootProject.hasProperty('btdebug')) {
// -Pbtdebug specified on the command line

Expand All @@ -36,7 +35,6 @@ ext {
configureAndroidBtfs('')
configureDesktopBtfs('')
btfWindows64 = 'DebugSp'
pdbWindows64 = 'DebugSp'
metadata = 'debug' + jmeTarget

} else { // -Pbtdebug specified, but not -Pdp nor -Ppdb64
Expand Down Expand Up @@ -161,8 +159,6 @@ processResources.dependsOn((btfMacOSX_ARM64 == '' ? 'clean' : 'download') + 'Mac
processResources.dependsOn((btfWindows32 == '' ? 'clean' : 'download') + 'Windows32')
processResources.dependsOn((btfWindows64 == '' ? 'clean' : 'download') + 'Windows64')

assemble.dependsOn((pdbWindows64 == '' ? 'clean' : 'download') + 'PDBs')

// Register tasks to download native libraries (from GitHub, typically)

tasks.register('downloadAndroid_ARM7', Download) {
Expand Down Expand Up @@ -231,12 +227,6 @@ tasks.register('downloadWindows64', Download) {
overwrite false
}

tasks.register('downloadPDBs', Download) {
src libbulletjmeUrl + "Windows64${pdbWindows64}_bulletjme.pdb"
dest file('bulletjme.pdb')
overwrite false
}

// Register cleanup tasks:

clean.dependsOn('cleanAndroid_ARM7', 'cleanAndroid_ARM8', 'cleanAndroid_X86',
Expand Down
5 changes: 1 addition & 4 deletions common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ configurations.configureEach {

// Register cleanup tasks:

clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', 'cleanPDBs', \
clean.dependsOn('cleanDLLs', 'cleanDyLibs', 'cleanLogs', \
'cleanSandbox', 'cleanSOs')

tasks.register('cleanDLLs', Delete) { // extracted Windows native libraries
Expand All @@ -62,9 +62,6 @@ tasks.register('cleanDyLibs', Delete) { // extracted macOS native libraries
tasks.register('cleanLogs', Delete) { // JVM crash logs
delete fileTree(dir: '.', include: 'hs_err_pid*.log')
}
tasks.register('cleanPDBs', Delete) { // Windows program database files
delete fileTree(dir: '.', include: '*.pdb')
}
tasks.register('cleanSandbox', Delete) { // Acorus sandbox
delete 'Written Assets'
}
Expand Down

0 comments on commit 312f635

Please sign in to comment.