Merge "Minor cleanup in soong_config_modules documentation."
This commit is contained in:
commit
e89f7354f8
1 changed files with 4 additions and 6 deletions
|
@ -54,7 +54,7 @@ type soongConfigModuleTypeImportProperties struct {
|
|||
// For example, an Android.bp file could have:
|
||||
//
|
||||
// soong_config_module_type_import {
|
||||
// from: "device/acme/Android.bp.bp",
|
||||
// from: "device/acme/Android.bp",
|
||||
// module_types: ["acme_cc_defaults"],
|
||||
// }
|
||||
//
|
||||
|
@ -139,9 +139,9 @@ type soongConfigModuleTypeModule struct {
|
|||
}
|
||||
|
||||
// soong_config_module_type defines module types with conditionals on Soong config
|
||||
// variables from another Android.bp file. The new module type will exist for all
|
||||
// modules after the definition in an Android.bp file, and can be imported into other
|
||||
// Android.bp files using soong_config_module_type_import.
|
||||
// variables. The new module type will exist for all modules after the definition
|
||||
// in an Android.bp file, and can be imported into other Android.bp files using
|
||||
// soong_config_module_type_import.
|
||||
//
|
||||
// For example, an Android.bp file could have:
|
||||
//
|
||||
|
@ -186,8 +186,6 @@ type soongConfigModuleTypeModule struct {
|
|||
// srcs: ["*.cpp"],
|
||||
// }
|
||||
//
|
||||
// And device/acme/Android.bp could have:
|
||||
//
|
||||
// If an acme BoardConfig.mk file contained:
|
||||
//
|
||||
// SOONG_CONFIG_NAMESPACES += acme
|
||||
|
|
Loading…
Reference in a new issue