diff options
| author | 2019-01-19 19:24:06 +0900 | |
|---|---|---|
| committer | 2019-01-28 20:02:27 +0900 | |
| commit | 58e364a373ede0bd6b798645c8d271ee71255af3 (patch) | |
| tree | ca3330b181e78b7a5273ff25f03772cad7d46d80 /python/python.go | |
| parent | ee0413915438f2cfe1b84ae4be64d3974e80be85 (diff) | |
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
Diffstat (limited to 'python/python.go')
0 files changed, 0 insertions, 0 deletions