Skip to content

Commit

Permalink
Update decision to build java-controller to Linux. (#27037)
Browse files Browse the repository at this point in the history
This is because current dependencies will validate
that we use linux underneath and when compiling say esp32 on
a vscode image with JAVA_PATH set, compilation would fail.

Later on we can update/decide if java compilation should
happen on mac as well. CI only compiles and validates linux.

Co-authored-by: Andrei Litvin <[email protected]>
  • Loading branch information
2 people authored and pull[bot] committed Nov 6, 2023
1 parent dbb106b commit 2187920
Showing 1 changed file with 1 addition 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 != "" && current_os != "android") {
if (java_path != "" && current_os == "linux") {
java_matter_controller_dependent_paths += [ "${java_path}/include/" ]

if (current_os == "mac") {
Expand Down

0 comments on commit 2187920

Please sign in to comment.