platform_build_soong/apex
Jiyong Park 58e364a373 Add __ANDROID_APEX__
A module can be built multiple times when it is referenced from one
or more APEXes. Sometimes, it is required for the module to behave
differently depending on the context; e.g., do A when built form
APEX M, do B when built for APEX N, and do C when built for platform.

The idea is to have a macro __ANDROID_APEX__ which is set to the
name of the apex that the module is built for. It is undefined when
the module is built for platform.

Bug: 122714993
Test: m (apex_test amended)
Change-Id: I11a89c6a0e799f4810194de7ef9ee472a71ca498
2019-01-28 20:02:27 +09:00
..
apex.go Only copy native binaries on native-bridge configs 2019-01-24 12:29:50 -08:00
apex_test.go Add __ANDROID_APEX__ 2019-01-28 20:02:27 +09:00
key.go APEXes can be signed with devkeys 2019-01-11 13:35:56 +09:00