Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use java_binary instead of android_binary to build java-matter-contro… #23562

Merged
merged 1 commit into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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