Support module_build_from_source for more prebuilt types. am: f3d73b0fd0
Original change: https://android-review.googlesource.com/c/platform/packages/modules/common/+/1758150 Change-Id: Ic88948b8837ade7f575b18842988ef267d671a8d
This commit is contained in:
59
Android.bp
59
Android.bp
@@ -40,3 +40,62 @@ soong_config_module_type {
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "module_prebuilt_bootclasspath_fragment",
|
||||
module_type: "prebuilt_bootclasspath_fragment",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "module_java_import",
|
||||
module_type: "java_import",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
soong_config_module_type {
|
||||
name: "module_java_sdk_library_import",
|
||||
module_type: "java_sdk_library_import",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "module_cc_prebuilt_binary",
|
||||
module_type: "cc_prebuilt_binary",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "module_cc_prebuilt_library_shared",
|
||||
module_type: "cc_prebuilt_library_shared",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
soong_config_module_type {
|
||||
name: "module_cc_prebuilt_library_headers",
|
||||
module_type: "cc_prebuilt_library_headers",
|
||||
config_namespace: "ANDROID",
|
||||
bool_variables: ["module_build_from_source"],
|
||||
properties: [
|
||||
"prefer",
|
||||
],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user