Files
build_soong/cc
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
..
2018-11-19 15:26:14 -08:00
2019-01-03 23:25:11 -08:00
2019-01-24 18:59:29 +00:00
2019-01-28 20:02:27 +09:00
2017-10-19 22:39:32 +09:00
2018-10-09 02:16:58 +00:00
2018-11-07 11:35:47 -08:00
2019-01-28 20:02:27 +09:00
2018-12-27 12:26:30 -08:00
2018-10-30 09:55:48 +09:00
2017-11-17 11:22:04 -08:00
2019-01-24 18:59:29 +00:00
2018-12-20 14:33:02 +09:00
2018-10-25 13:40:28 -07:00
2019-01-23 07:21:56 +00:00
2018-11-17 15:28:25 -08:00
2016-08-01 14:36:22 -07:00
2019-01-24 18:59:29 +00:00
2018-07-22 21:18:45 -07:00
2018-11-13 15:28:07 -08:00
2018-10-09 02:16:58 +00:00
2018-11-17 15:28:25 -08:00
2018-12-20 14:33:02 +09:00
2018-11-28 09:17:26 -08:00