aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathew Inwood <mathewi@google.com>2021-07-12 15:38:32 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2021-07-12 15:38:32 +0000
commit8a777836c35dfe6d5f4ddf7c0564607063a803df (patch)
tree1a67a2e61bfd5cc762a373dad72457c819a7a4c8
parent069693dd1eccee599de9655f9f056bbede67f48f (diff)
parent020d2a43c790a6e266c1b030fdf784895fb66ef2 (diff)
downloadcommon-8a777836c35dfe6d5f4ddf7c0564607063a803df.tar.gz
Merge "Support module_build_from_source for more prebuilt types." into sc-dev
-rw-r--r--Android.bp59
1 files changed, 59 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 784c3ed4..da69f7d0 100644
--- a/Android.bp
+++ b/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",
+ ],
+}