commit | ff044e701f5f0e535edd602d46b770384ddb2750 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Sep 20 09:58:45 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Sep 20 09:58:45 2019 +0000 |
tree | fc65577d080e137680318d20641d4d36d9ed5bfb | |
parent | 6265eea819e005594d7e529d1fd2346c407bbe5b [diff] | |
parent | 2700afda04799dfa74611a6f9942c4fd6e578b8c [diff] |
Merge "aapt2: disable leak detection"
diff --git a/tools/aapt2/Main.cpp b/tools/aapt2/Main.cpp index 213bdd2..7966ba2 100644 --- a/tools/aapt2/Main.cpp +++ b/tools/aapt2/Main.cpp
@@ -177,6 +177,11 @@ 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);