Skip to content

Commit

Permalink
Merge pull request #866 from nsacyber/v3_issue_825-remove-hirs_provis…
Browse files Browse the repository at this point in the history
…ionertpm2

[#825] Delete HIRS Provisioner TPM2
  • Loading branch information
iadgovuser26 authored Nov 15, 2024
2 parents d0faa39 + 86d2084 commit e1f5907
Show file tree
Hide file tree
Showing 53 changed files with 15 additions and 7,933 deletions.
18 changes: 9 additions & 9 deletions HIRS_AttestationCA/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ configurations.checkstyle {
}
}
checkstyleMain {
source ='src/main/java'
source = 'src/main/java'
}
checkstyleTest {
source ='src/test/java'
source = 'src/test/java'
}
tasks.withType(Checkstyle) {
reports {
Expand All @@ -82,16 +82,16 @@ tasks.withType(Checkstyle) {
}
}
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.24.3'
}
protoc {
artifact = 'com.google.protobuf:protoc:3.24.3'
}
}
sourceSets {
main {
proto {
srcDir '../HIRS_ProvisionerTPM2/src'
main {
proto {
srcDir '../HIRS_Provisioner.NET/hirs/Resources'
}
}
}
}

test {
Expand Down
4 changes: 2 additions & 2 deletions HIRS_AttestationCA/config/genJavaProtoBuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
dir=$(pwd)
# Relative paths are different when building locally versus on CI
if [[ "$dir" == *"package"* ]]; then
SRC_DIR=$dir/../../../../../../HIRS_ProvisionerTPM2/src
SRC_DIR=$dir/../../../../../../HIRS_Provisioner.NET/hirs/Resources
DEST_DIR=$dir/../src/main/java
else
SRC_DIR=../../HIRS_ProvisionerTPM2/src
SRC_DIR=../../HIRS_Provisioner.NET/hirs/Resources
DEST_DIR=../src/main/java
fi
protoc -I=$SRC_DIR --java_out=$DEST_DIR $SRC_DIR/ProvisionerTpm2.proto
4 changes: 2 additions & 2 deletions HIRS_AttestationCAPortal/config/genJavaProtoBuf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
dir=$(pwd)
# Relative paths are different when building locally versus on CI
if [[ "$dir" == *"package"* ]]; then
SRC_DIR=$dir/../../../../../../HIRS_ProvisionerTPM2/src
SRC_DIR=$dir/../../../../../../HIRS_Provisioner.NET/hirs/Resources
DEST_DIR=$dir/../src/main/java
else
SRC_DIR=../../HIRS_ProvisionerTPM2/src
SRC_DIR=../../HIRS_Provisioner.NET/hirs/Resources
DEST_DIR=../src/main/java
fi
protoc -I=$SRC_DIR --java_out=$DEST_DIR $SRC_DIR/ProvisionerTpm2.proto
312 changes: 0 additions & 312 deletions HIRS_ProvisionerTPM2/CMakeLists.txt

This file was deleted.

Loading

0 comments on commit e1f5907

Please sign in to comment.