Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33790fc8 authored by Kun Niu's avatar Kun Niu Committed by Gerrit Code Review
Browse files

Merge "Set UNBUNDLED_BUILD_SDKS_FROM_SOURCE to true by default in...

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."
parents e61203da 40e6f9bd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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