diff options
author | Jooyung Han <jooyung@google.com> | 2019-10-30 08:29:25 +0900 |
---|---|---|
committer | Jooyung Han <jooyung@google.com> | 2019-10-29 23:47:59 +0000 |
commit | 6b8459be4fb226e6a2b8fccd96f1a6959b08df72 (patch) | |
tree | 5011a3ed25da2ab720772db0b8b02f023e9c9e3e /python/python.go | |
parent | 520367cbd3fad3acbb30d3c82ef617241d93fa38 (diff) |
apex: __ANDROID_APEX__ defined with no value
__ANDROID_APEX__ was defined with the name of apex module.
-D__ANDROID_APEX__=com.android.foo
But in this way, conditional compilation is not easy since comparing
macro's string value is not supported in C/C++.
(There's no usages of this value in source tree.)
In most cases, modules can check if __ANDROID_APEX__ is defined to see
if they are compiled for apex.
For modules which should behave differently according to which apex they
are included, they can check __ANDROID_APEX_<NAME>__.
Bug: 142582178
Test: m (soong tests run) && boot device && TH
Change-Id: I0f5e3e9463ccd96cbba333a8bdd648470c5c912d
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions