2021-04-01 18:00:42 +00:00
|
|
|
/* ###
|
|
|
|
* IP: GHIDRA
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
2020-12-10 14:39:41 +00:00
|
|
|
apply from: "$rootProject.projectDir/gradle/javaProject.gradle"
|
|
|
|
apply from: "$rootProject.projectDir/gradle/jacocoProject.gradle"
|
|
|
|
apply from: "$rootProject.projectDir/gradle/javaTestProject.gradle"
|
|
|
|
apply from: "$rootProject.projectDir/gradle/nativeProject.gradle"
|
|
|
|
apply from: "$rootProject.projectDir/gradle/distributableGhidraModule.gradle"
|
|
|
|
|
2023-03-03 18:54:07 +00:00
|
|
|
apply from: "$rootProject.projectDir/gradle/debugger/hasExecutableJar.gradle"
|
2023-04-21 20:17:59 +00:00
|
|
|
apply from: "$rootProject.projectDir/gradle/debugger/hasPythonPackage.gradle"
|
2023-03-03 18:54:07 +00:00
|
|
|
|
2020-12-10 14:39:41 +00:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
eclipse.project.name = 'Debug Debugger-agent-gdb'
|
|
|
|
|
|
|
|
dependencies {
|
2021-04-12 15:07:06 +00:00
|
|
|
api project(':Framework-AsyncComm')
|
|
|
|
api project(':Framework-Debugging')
|
|
|
|
api project(':Debugger-gadp')
|
2023-08-31 18:56:38 +00:00
|
|
|
api project(':Pty')
|
2020-12-10 14:39:41 +00:00
|
|
|
|
2023-09-06 13:07:52 +00:00
|
|
|
testImplementation project(path: ':Pty', configuration: 'testArtifacts')
|
2021-04-12 15:07:06 +00:00
|
|
|
testImplementation project(path: ':Framework-AsyncComm', configuration: 'testArtifacts')
|
|
|
|
testImplementation project(path: ':Framework-Debugging', configuration: 'testArtifacts')
|
|
|
|
testImplementation project(path: ':Debugger-gadp', configuration: 'testArtifacts')
|
2020-12-10 14:39:41 +00:00
|
|
|
}
|
|
|
|
|
2023-03-03 18:54:07 +00:00
|
|
|
tasks.nodepJar {
|
2020-12-10 14:39:41 +00:00
|
|
|
manifest {
|
|
|
|
attributes['Main-Class'] = 'agent.gdb.gadp.GdbGadpServer'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-03 18:54:07 +00:00
|
|
|
tasks.executableJar {
|
2020-12-10 14:39:41 +00:00
|
|
|
ext.outjar = file("${buildDir}/bin/gadp-agent-gdb")
|
|
|
|
}
|
|
|
|
|
|
|
|
test {
|
2021-07-07 13:25:39 +00:00
|
|
|
if ("linux_x86_64".equals(getCurrentPlatformName())) {
|
|
|
|
dependsOn(":Framework-Debugging:testSpecimenLinux_x86_64")
|
2020-12-10 14:39:41 +00:00
|
|
|
}
|
|
|
|
}
|