mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-1106: Platform naming convention now supports different
architectures. Support for building on ARM.
This commit is contained in:
@@ -364,8 +364,8 @@ task assembleDistribution (type: Copy) {
|
||||
* these have already been built and are located in the proper location.
|
||||
*
|
||||
*********************************************************************************/
|
||||
project.OS_NAMES.each { platform ->
|
||||
task ("assembleDistribution_$platform", type: Copy ) {
|
||||
project.PLATFORMS.each { platform ->
|
||||
task ("assembleDistribution_${platform.name}", type: Copy ) {
|
||||
|
||||
// delete the gradle ziptree temp directory because of gradle bug not cleaning up its temp files.
|
||||
delete rootProject.file("build/tmp/expandedArchives")
|
||||
@@ -480,10 +480,9 @@ task createInstallationZip(type: Zip) { t ->
|
||||
dependsOn "assembleDistribution_$currentPlatform"
|
||||
|
||||
if (project.hasProperty("allPlatforms")) {
|
||||
dependsOn ":assembleDistribution_win32"
|
||||
dependsOn ":assembleDistribution_win64"
|
||||
dependsOn ":assembleDistribution_linux64"
|
||||
dependsOn ":assembleDistribution_osx64"
|
||||
project.PLATFORMS.each { platform ->
|
||||
dependsOn ":assembleDistribution_${platform.name}"
|
||||
}
|
||||
}
|
||||
|
||||
if (project.hasProperty("allPlatforms")) {
|
||||
|
||||
@@ -42,9 +42,9 @@ Primary gradle tasks for Ghidra
|
||||
|
||||
Task rules:
|
||||
buildNatives_[platform] builds the native executables and libraries for the
|
||||
specified platform (win64, linux64, osx64, etc.) [nativeProject.gradle]
|
||||
specified platform (win_x86_64, linux_arm_64, mac_x86_64, etc.) [nativeProject.gradle]
|
||||
prebuildNatives_[platform] builds the native executables and libraries for the
|
||||
specified platform and copies results to bin repo. [nativeProject.gradle]
|
||||
specified platform and copies results to bin repo. [nativeProject.gradle]
|
||||
|
||||
"""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user