summaryrefslogtreecommitdiff
path: root/scripts/construct_context_test.py
diff options
context:
space:
mode:
author Pirama Arumuga Nainar <pirama@google.com> 2021-04-27 15:47:43 -0700
committer Pirama Arumuga Nainar <pirama@google.com> 2021-04-27 23:17:27 +0000
commit551b06d9e69066baf1b621b20d4b838ac2f28902 (patch)
tree9cbc74e7a67baf535091902c1963fe5060dd62c4 /scripts/construct_context_test.py
parent5796db599f2b30270e20955819fd23b311250595 (diff)
[cc/coverage] Define a macro during coverage builds
Bug: http://b/186576313 During a coverage build, pass the __ANDROID_CLANG_COVERAGE__ macro to native compilations. This allows tools like dalvikvm and dex2oat, which would otherwise call _exit(), to write profiles on coverage builds by calling exit() instead. Test: `m CLANG_COVERAGE=true NATIVE_COVERAGE_PATHS="art" nothing` and check compiler flags in out/soong/build.ninja. Change-Id: I18315b89170abdd650e4c6c55577688348c42225
Diffstat (limited to 'scripts/construct_context_test.py')
0 files changed, 0 insertions, 0 deletions