Skip to content

Commit

Permalink
Revert "Implemented Json to Tlv and Tlv to Json Converter in Kotlin (#…
Browse files Browse the repository at this point in the history
…26458)" (#26492)

This reverts commit 60866e8.

#26458 was merged with
failing CI, and the failure is in the files the PR added.  CI is now permanently
failing.
  • Loading branch information
bzbarsky-apple authored May 11, 2023
1 parent 8a5b352 commit bf14d4a
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2,093 deletions.
3 changes: 1 addition & 2 deletions examples/java-matter-controller/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2022-2023 Project CHIP Authors
# Copyright (c) 2022 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -38,7 +38,6 @@ kotlin_binary("java-matter-controller") {
output_name = "java-matter-controller"
deps = [
":java",
"${chip_root}/src/controller/java:json_to_tlv_to_json_test",
"${chip_root}/src/controller/java:tlv_read_write_test",
"${chip_root}/src/controller/java:tlv_reader_test",
"${chip_root}/src/controller/java:tlv_writer_test",
Expand Down
35 changes: 1 addition & 34 deletions src/controller/java/BUILD.gn
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2020-2023 Project CHIP Authors
# Copyright (c) 2020-2021 Project CHIP Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -204,39 +204,6 @@ kotlin_library("tlv_read_write_test") {
kotlinc_flags = [ "-Xlint:deprecation" ]
}

kotlin_library("json") {
output_name = "libCHIPJson.jar"

deps = [
":tlv",
"${chip_root}/third_party/java_deps:gson",
]

sources = [
"src/chip/json/JsonToTlv.kt",
"src/chip/json/TlvToJson.kt",
]

kotlinc_flags = [ "-Xlint:deprecation" ]
}

kotlin_library("json_to_tlv_to_json_test") {
output_name = "JsonToTlvToJsonTest.jar"

deps = [
":json",
":tlv",
"${chip_root}/third_party/java_deps:gson",
"${chip_root}/third_party/java_deps:junit-4",
"${chip_root}/third_party/java_deps:kotlin-test",
"${chip_root}/third_party/java_deps:truth",
]

sources = [ "tests/chip/json/JsonToTlvToJsonTest.kt" ]

kotlinc_flags = [ "-Xlint:deprecation" ]
}

android_library("java") {
output_name = "CHIPController.jar"

Expand Down
201 changes: 0 additions & 201 deletions src/controller/java/src/chip/json/JsonToTlv.kt

This file was deleted.

Loading

0 comments on commit bf14d4a

Please sign in to comment.