summaryrefslogtreecommitdiff
path: root/tools/versioner/src/DeclarationDatabase.cpp
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2019-11-27 07:24:42 -0800
committerLogan Chien <loganchien@google.com>2019-12-23 07:14:05 -0800
commita6bf7f2ee355559ec95378c7290702290aafb73c (patch)
tree46e5291f90223f14ac9333a66e192b202b9038d3 /tools/versioner/src/DeclarationDatabase.cpp
parentd98dac41df84e3f99d9a2e2bf158dc29ca7edf53 (diff)
versioner: Add a built-in macro for conditional compilation
This commit adds a built-in macro for conditional compilation because __attribute__((annotate(...))) may pull unused static inline functions into object files. We must not generate those functions in object files because it can result in undefined references to __strchr_chk on linux_glibc. Bug: 118991081 Test: source development/vndk/tools/header-checker/android/envsetup.sh && \ source build/envsetup.sh && \ lunch aosp_arm64-userdebug && \ m versioner && \ ./bionic/tools/versioner/run_tests.py Change-Id: I0c9d967413ec8e8655e91316973a79b81e2129b1
Diffstat (limited to 'tools/versioner/src/DeclarationDatabase.cpp')
0 files changed, 0 insertions, 0 deletions