Skip to content

Commit 437782b

Browse files
Improve "need a custom toolchain" message to log more information.
Logging what gn thinks is going on for the host/target OS and cpu can help diagnose why we didn't find toolchain in the big if cascade.
1 parent a64773a commit 437782b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

build/config/BUILDCONFIG.gn

+3-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ if (_chip_defaults.custom_toolchain != "") {
127127
"Unsupported target_cpu: ${current_cpu}. Shall be arm for webOS")
128128
}
129129
} else {
130-
assert(false, "No toolchain specified, please specify custom_toolchain")
130+
assert(
131+
false,
132+
"No toolchain specified, please specify custom_toolchain for host_os='${host_os}', target_os='${target_os}', host_cpu='${host_cpu}', target_cpu='${target_cpu}'")
131133
}
132134

133135
set_default_toolchain(_default_toolchain)

0 commit comments

Comments
 (0)