Skip to content

Commit

Permalink
Use java_binary instead of android_binary to build java-matter-contro…
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and adbridge committed Nov 18, 2022
1 parent 0d6c921 commit fe2450a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/chip/java/rules.gni
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ assert(android_sdk_root != "", "android_sdk_root must be specified")
#
# jar_path: A path to an existing JAR. Mutually exclusive with sources.
#
# deps: List of dependent .jar files needed by this library.
#
# output_name: File name for the output .jar (not including extension).
# Defaults to the input .jar file name.
#
Expand Down Expand Up @@ -184,6 +186,8 @@ template("java_library") {
#
# jar_path: A path to an existing JAR. Mutually exclusive with sources.
#
# deps: List of dependent .jar files needed by this binary.
#
# output_name: File name for the output binary under root_build_dir/bin.
#
# javac_flags: additional flags to pass to the javac compiler
Expand Down
2 changes: 1 addition & 1 deletion examples/java-matter-controller/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import("${chip_root}/build/chip/tools.gni")

build_java_matter_controller = true

android_binary("java-matter-controller") {
java_binary("java-matter-controller") {
output_name = "java-matter-controller"
deps = [
"${chip_root}/src/controller/java",
Expand Down

0 comments on commit fe2450a

Please sign in to comment.