platform_build_soong/mk2rbc
Sasha Smundak 868c5e3ab2 Emit unconditional module load only when inherit/include is on the top level.
That is, when a makefile contains
```
ifneq (,$(foo))
  $(call inherit-product,module.mk)
endif
```

module.mk has to be present only if `foo` is set.

Fixes: 200163602
Test: internal
Change-Id: Ic5f10ce8d49d6b87162bfe77922bba5e2cce228b
2021-09-27 10:02:41 -07:00
..
cmd Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
test Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
Android.bp Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
android_products.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
android_products_test.go AndroidProducts.mk file reader 2021-07-12 09:40:18 -07:00
config_variables.go Config variables reader 2021-07-12 09:40:18 -07:00
config_variables_test.go Config variables reader 2021-07-12 09:40:18 -07:00
expr.go Translate copy-files, add_soong_config_namespace and add_soong_config_var_value macros 2021-08-03 11:06:54 -07:00
find_mockfs.go Allow dynamically calculated inherit-product path 2021-08-02 14:35:45 -07:00
mk2rbc.go Emit unconditional module load only when inherit/include is on the top level. 2021-09-27 10:02:41 -07:00
mk2rbc_test.go Emit unconditional module load only when inherit/include is on the top level. 2021-09-27 10:02:41 -07:00
node.go Emit unconditional module load only when inherit/include is on the top level. 2021-09-27 10:02:41 -07:00
soong_variables.go Soong variables reader 2021-07-12 09:40:18 -07:00
soong_variables_test.go Soong variables reader 2021-07-12 09:40:18 -07:00
TODO Product config makefiles to Starlark converter 2021-07-14 09:51:10 -07:00
types.go Translate copy-files, add_soong_config_namespace and add_soong_config_var_value macros 2021-08-03 11:06:54 -07:00
variable.go Additional heuristics: variables with names ending with _LIST are lists 2021-09-02 09:34:47 -07:00
version_defaults.go Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00
version_defaults_test.go Share version settings with product config makefile. 2021-09-13 09:23:05 -07:00