Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 940fec9e authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "aapt2: disable leak detection" am: ff044e70

am: f9479e67

Change-Id: Iaa95dc5306c2eeb2abbc87bceede3c78a5746bcb
parents f5269ed9 f9479e67
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -177,6 +177,11 @@ int MainImpl(int argc, char** argv) {
  return main_command->Execute(args, &std::cerr);
}

// TODO(b/141312058) stop leaks
extern "C" const char *__asan_default_options() {
    return "detect_leaks=0";
}

int main(int argc, char** argv) {
#ifdef _WIN32
  LPWSTR* wide_argv = CommandLineToArgvW(GetCommandLineW(), &argc);