Skip to content

Commit

Permalink
Update json and tlv library name to match with its namespace (#30130)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Jan 18, 2024
1 parent ee0f9f2 commit 871aea2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions scripts/build/builders/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ def copyToSrcAndroid(self):
"CHIPController.jar": "src/controller/java/CHIPController.jar",
"OnboardingPayload.jar": "src/controller/java/OnboardingPayload.jar",
"AndroidPlatform.jar": "src/platform/android/AndroidPlatform.jar",
"libCHIPJson.jar": "src/controller/java/libCHIPJson.jar",
"libCHIPTlv.jar": "src/controller/java/libCHIPTlv.jar",
"libMatterJson.jar": "src/controller/java/libMatterJson.jar",
"libMatterTlv.jar": "src/controller/java/libMatterTlv.jar",
"CHIPClusters.jar": "src/controller/java/CHIPClusters.jar",
"CHIPClusterID.jar": "src/controller/java/CHIPClusterID.jar",
}
Expand Down Expand Up @@ -568,8 +568,8 @@ def build_outputs(self):
"CHIPController.jar": os.path.join(
self.output_dir, "lib", "src/controller/java/CHIPController.jar"
),
"libCHIPTlv.jar": os.path.join(
self.output_dir, "lib", "src/controller/java/libCHIPTlv.jar"
"libMatterTlv.jar": os.path.join(
self.output_dir, "lib", "src/controller/java/libMatterTlv.jar"
),
"AndroidPlatform.jar": os.path.join(
self.output_dir, "lib", "src/platform/android/AndroidPlatform.jar"
Expand Down
4 changes: 2 additions & 2 deletions scripts/build/testdata/dry_run_android-arm64-chip-tool.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ cp {out}/android-arm64-chip-tool/lib/src/controller/java/OnboardingPayload.jar {

cp {out}/android-arm64-chip-tool/lib/src/platform/android/AndroidPlatform.jar {root}/examples/android/CHIPTool/app/libs/AndroidPlatform.jar

cp {out}/android-arm64-chip-tool/lib/src/controller/java/libCHIPJson.jar {root}/examples/android/CHIPTool/app/libs/libCHIPJson.jar
cp {out}/android-arm64-chip-tool/lib/src/controller/java/libMatterJson.jar {root}/examples/android/CHIPTool/app/libs/libMatterJson.jar

cp {out}/android-arm64-chip-tool/lib/src/controller/java/libCHIPTlv.jar {root}/examples/android/CHIPTool/app/libs/libCHIPTlv.jar
cp {out}/android-arm64-chip-tool/lib/src/controller/java/libMatterTlv.jar {root}/examples/android/CHIPTool/app/libs/libMatterTlv.jar

cp {out}/android-arm64-chip-tool/lib/src/controller/java/CHIPClusters.jar {root}/examples/android/CHIPTool/app/libs/CHIPClusters.jar

Expand Down
4 changes: 2 additions & 2 deletions src/controller/java/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ if (chip_link_tests) {
}

kotlin_library("tlv") {
output_name = "libCHIPTlv.jar"
output_name = "libMatterTlv.jar"

sources = [
"src/matter/tlv/Element.kt",
Expand Down Expand Up @@ -236,7 +236,7 @@ kotlin_library("tlv_read_write_test") {
}

kotlin_library("jsontlv") {
output_name = "libCHIPJson.jar"
output_name = "libMatterJson.jar"

deps = [
":tlv",
Expand Down

0 comments on commit 871aea2

Please sign in to comment.