summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index f2dfec8..2dd5ec3 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -24,3 +24,13 @@ TARGET_CPU_SMP := true
# Flatten APEX packages to make them simpler to use in
# ART testing/benchmarking environments.
TARGET_FLATTEN_APEX := true
+
+# Enable ART Module top level apex/sdk/module_export modules. When they are
+# enabled the ART Module prebuilts (packages/modules/ArtPrebuilt and
+# prebuilts/module_sdk/art) cannot be present with prefer:true in the build
+# tree.
+# TODO(b/174997203): Clean this up when there is a better way to switch between
+# prebuilts and sources.
+SOONG_CONFIG_NAMESPACES += art_module
+SOONG_CONFIG_art_module += source_build
+SOONG_CONFIG_art_module_source_build := true