Files
build_soong/android
Jooyung Han d48f3c3885 soong: Add tests for depending on disabled module
This will check if direct deps of android.Module type is "Enabled()".
Previously, this is checked only if a module calls VisitDeps*()
functions in GenerateAndroidBuildActions().

Most modules call VisitDeps*() in GenerateAndroidBuildActions(),
but some modules don't. For example, "apex" module calls
WalkDepsBlueprint() or VisitDirectDepsBlueprint() since it
exceptionally depends on non-android.Module modules.

Therefore, when an apex module depends on disabled(enabled:false) module,
build fails with panic, which is fixed by this change.

Test: m # runs soong tests
Change-Id: I81c5c148bbd51a253d2904690eb76ae7b6df1a0f
2019-08-26 13:19:42 +00:00
..
2019-08-22 20:37:07 +09:00
2018-07-22 21:18:45 -07:00
2019-07-25 11:48:21 +01:00
2019-08-08 01:51:26 +09:00
2019-07-15 11:03:22 -07:00
2018-09-13 18:27:50 +00:00
2019-08-06 09:45:04 -07:00
2019-07-22 16:15:25 +09:00
2019-07-08 14:53:52 -07:00
2019-07-08 14:53:52 -07:00
2019-07-23 17:29:57 +01:00
2019-02-19 11:19:09 -08:00
2019-08-01 23:45:37 +09:00
2019-02-20 15:43:06 -08:00