diff options
author | Kun Niu <kunniu@google.com> | 2023-01-11 00:03:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2023-01-11 00:03:59 +0000 |
commit | 33790fc855b878a5cbc5f7152021414ad41fb55b (patch) | |
tree | 9b67481b0bae23d393a776c55a2ac891f75d832b | |
parent | e61203da9cc00d0b93f62ba4d8b04f05a2a2f4b5 (diff) | |
parent | 40e6f9bdcabc6336657a1735cb036e9bfdefd45d (diff) | |
download | build-33790fc855b878a5cbc5f7152021414ad41fb55b.tar.gz |
Merge "Set UNBUNDLED_BUILD_SDKS_FROM_SOURCE to true by default in module_common.mk if the branch is not using slim manifests. This makes sure that mainline modules build locally are using the build from source sdk."
-rw-r--r-- | target/product/module_common.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/product/module_common.mk b/target/product/module_common.mk index 54f3949965..ec670ee4c9 100644 --- a/target/product/module_common.mk +++ b/target/product/module_common.mk @@ -25,3 +25,8 @@ PRODUCT_SHIPPING_API_LEVEL := 29 # Builds using a module product should build modules from source, even if # BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE says otherwise. PRODUCT_MODULE_BUILD_FROM_SOURCE := true + +# Build sdk from source if the branch is not using slim manifests. +ifneq (,$(strip $(wildcard frameworks/base/Android.bp))) + UNBUNDLED_BUILD_SDKS_FROM_SOURCE := true +endif |