Minor cleanup in soong_config_modules documentation.
Test: build Change-Id: Ia5a43a024203ca4b714926bcc89f7ec12523b8ad
This commit is contained in:
@@ -54,7 +54,7 @@ type soongConfigModuleTypeImportProperties struct {
|
|||||||
// For example, an Android.bp file could have:
|
// For example, an Android.bp file could have:
|
||||||
//
|
//
|
||||||
// soong_config_module_type_import {
|
// soong_config_module_type_import {
|
||||||
// from: "device/acme/Android.bp.bp",
|
// from: "device/acme/Android.bp",
|
||||||
// module_types: ["acme_cc_defaults"],
|
// module_types: ["acme_cc_defaults"],
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
@@ -139,9 +139,9 @@ type soongConfigModuleTypeModule struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// soong_config_module_type defines module types with conditionals on Soong config
|
// 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
|
// variables. The new module type will exist for all modules after the definition
|
||||||
// modules after the definition in an Android.bp file, and can be imported into other
|
// in an Android.bp file, and can be imported into other Android.bp files using
|
||||||
// Android.bp files using soong_config_module_type_import.
|
// soong_config_module_type_import.
|
||||||
//
|
//
|
||||||
// For example, an Android.bp file could have:
|
// For example, an Android.bp file could have:
|
||||||
//
|
//
|
||||||
@@ -186,8 +186,6 @@ type soongConfigModuleTypeModule struct {
|
|||||||
// srcs: ["*.cpp"],
|
// srcs: ["*.cpp"],
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// And device/acme/Android.bp could have:
|
|
||||||
//
|
|
||||||
// If an acme BoardConfig.mk file contained:
|
// If an acme BoardConfig.mk file contained:
|
||||||
//
|
//
|
||||||
// SOONG_CONFIG_NAMESPACES += acme
|
// SOONG_CONFIG_NAMESPACES += acme
|
||||||
|
Reference in New Issue
Block a user