use ENABLE_TRACING from user defines

This commit is contained in:
Nick Fisher
2025-06-21 10:14:43 +08:00
parent 5f92c7feab
commit a01bf36576

View File

@@ -125,12 +125,11 @@ void main(List<String> args) async {
final flags = []; //"-fsanitize=address"]; final flags = []; //"-fsanitize=address"];
final defines = <String, String?>{ final defines = <String, String?>{};
// uncomment this to enable (very verbose) trace logging
"ENABLE_TRACING": input.userDefines["tracing"] == null ? "0" : "1"
};
if ((input.userDefines["tracing"] as String?)?.isNotEmpty == true) {
defines["ENABLE_TRACING"] = "1";
}
var frameworks = []; var frameworks = [];
if (platform != "windows") { if (platform != "windows") {