Files
build_soong/cc
Jooyung Han 6b8459be4f 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
2019-10-29 23:47:59 +00:00
..
2019-10-22 17:01:15 -07:00
2018-11-19 15:26:14 -08:00
2019-10-29 21:47:14 +00:00
2019-10-28 22:09:01 -07:00
2019-10-28 22:09:01 -07:00
2017-10-19 22:39:32 +09:00
2018-10-09 02:16:58 +00:00
2019-06-27 14:46:10 -07:00
2019-10-29 21:47:14 +00:00
2019-08-22 13:21:37 -07:00
2019-10-28 22:09:01 -07:00
2019-10-28 22:09:01 -07:00
2019-09-19 10:51:03 -07:00
2019-09-10 11:22:59 +09:00
2019-09-22 08:21:27 +09:00
2019-04-02 16:38:55 +00:00
2016-08-01 14:36:22 -07:00
2019-10-28 22:09:01 -07:00
2019-10-28 22:09:01 -07:00
2019-10-28 22:09:01 -07:00
2019-09-13 12:18:47 -07:00
2019-10-28 22:09:01 -07:00