diff options
author | Mathew Inwood <mathewi@google.com> | 2021-07-12 15:38:32 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-07-12 15:38:32 +0000 |
commit | 8a777836c35dfe6d5f4ddf7c0564607063a803df (patch) | |
tree | 1a67a2e61bfd5cc762a373dad72457c819a7a4c8 | |
parent | 069693dd1eccee599de9655f9f056bbede67f48f (diff) | |
parent | 020d2a43c790a6e266c1b030fdf784895fb66ef2 (diff) | |
download | common-8a777836c35dfe6d5f4ddf7c0564607063a803df.tar.gz |
Merge "Support module_build_from_source for more prebuilt types." into sc-dev
-rw-r--r-- | Android.bp | 59 |
1 files changed, 59 insertions, 0 deletions
@@ -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", + ], +} |