diff options
author | 2019-10-12 17:32:26 +0900 | |
---|---|---|
committer | 2019-10-15 07:34:02 +0900 | |
commit | d29e551efd6c2520ba1b92fa58894cb6a85a9002 (patch) | |
tree | 60088f284632ab8bb0e861a1fde92cde24288e93 /java/sdk_test.go | |
parent | 394951da73ec7a7a2b6353d75657dfd2d7c81ab8 (diff) |
Add __ANDROID_APEX_<NAME>__ for apex variants
With __ANDROID_APEX_<NAME>__ definition, native modules may have
different behavior when it is built for a specific apex module.
Previously, the name is passed as value of definition __ANDROID_APEX__
like -D__ANDROID_APEX__=com.android.foo. But it is difficult to do
conditional compilation with it.
Now, since the name is incorporated into definition itself, it gets
easier to set #ifdef condition.
Bug: 142582178
Test: m (soong test added)
Change-Id: I3c90c789fa692a19addf2e5a7c8d4cc571cde112
Diffstat (limited to 'java/sdk_test.go')
0 files changed, 0 insertions, 0 deletions