Skip to content

Commit

Permalink
Merge branch 'unique_target_class_output' into java_test_run
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed May 26, 2023
2 parents e9f8bcb + 9c83e76 commit bec3c24
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build/chip/java/config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ java_path = getenv("JAVA_PATH")
declare_args() {
java_matter_controller_dependent_paths = []
matter_enable_java_compilation = false
if (java_path != "") {
if (java_path != "" && current_os != "android") {
java_matter_controller_dependent_paths += [ "${java_path}/include/" ]

if (current_os == "mac") {
Expand Down
4 changes: 4 additions & 0 deletions scripts/build/builders/android.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def copyToSrcAndroid(self):
"CHIPController.jar": "src/controller/java/CHIPController.jar",
"SetupPayloadParser.jar": "src/setup_payload/java/SetupPayloadParser.jar",
"AndroidPlatform.jar": "src/platform/android/AndroidPlatform.jar",
"libCHIPTlv.jar": "src/controller/java/libCHIPTlv.jar",
}

for jarName in jars.keys():
Expand Down Expand Up @@ -520,6 +521,9 @@ 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"
),
"AndroidPlatform.jar": os.path.join(
self.output_dir, "lib", "src/platform/android/AndroidPlatform.jar"
),
Expand Down

0 comments on commit bec3c24

Please sign in to comment.