OSDN Git Service

aapt2: disable leak detection
authorSteven Moreland <smoreland@google.com>
Thu, 19 Sep 2019 18:08:47 +0000 (11:08 -0700)
committerSteven Moreland <smoreland@google.com>
Thu, 19 Sep 2019 18:18:23 +0000 (18:18 +0000)
commit2700afda04799dfa74611a6f9942c4fd6e578b8c
treec2daf231fe1b111da0368362bcd1becf2e6d85b9
parentb0e6033182d6397ad2248e924556f8411def278b
aapt2: disable leak detection

When building with SANATIZE_HOST=address and ASAN_OPTIONS="" in order to
test that leaks are removed from AIDL, was hitting leaks here.
Explicitly setting ASAN_OPTIONS here so that we can detect leaks in
other host tools.

Bug: 141312058
Test: AIDL's runtests_asan.sh
Change-Id: Ibc599ab75bbf63eab1c7747d17952390a7967e87
tools/aapt2/Main.cpp