omni: useWeekly --> useWeeklyBuild soong module
Change-Id: I5b2b913a6e9fe7e80c7423a584cf74c517726a53
diff --git a/config/Android.bp b/config/Android.bp
index 5c5af31..0390cf1 100644
--- a/config/Android.bp
+++ b/config/Android.bp
@@ -27,7 +27,7 @@
module_type: "cc_defaults",
config_namespace: "omniGlobalVars",
bool_variables: [
- "useWeekly",
+ "useWeeklyBuild",
],
properties: ["export_cflags"],
}
@@ -35,7 +35,7 @@
omni_weekly_build {
name: "omni_weekly_build_defaults",
soong_config_variables: {
- useWeekly: {
+ useWeeklyBuild: {
export_cflags: ["-DUSE_WEEKLY_BUILD"],
},
},
diff --git a/config/BoardConfigSoong.mk b/config/BoardConfigSoong.mk
index b9dabaa..4e08c61 100644
--- a/config/BoardConfigSoong.mk
+++ b/config/BoardConfigSoong.mk
@@ -46,7 +46,7 @@
launcher3Mock \
targetNeedsHWCOnFirstRef \
uses_metadata_as_fde_key \
- useWeekly \
+ useWeeklyBuild \
target_use_sdclang \
target_camera_needs_client_info \
target_enforce_ab_ota_partition_list
@@ -104,7 +104,7 @@
SOONG_CONFIG_omniGlobalVars_launcher3Gapps ?= false
SOONG_CONFIG_omniGlobalVars_launcher3Mock ?= false
-SOONG_CONFIG_omniGlobalVars_useWeekly ?= false
+SOONG_CONFIG_omniGlobalVars_useWeeklyBuild ?= false
# Soong value variables
SOONG_CONFIG_omniGlobalVars_additional_gralloc_10_usage_bits := $(TARGET_ADDITIONAL_GRALLOC_10_USAGE_BITS)
@@ -133,5 +133,5 @@
endif
ifeq ($(ROM_BUILDTYPE),WEEKLY)
- SOONG_CONFIG_omniGlobalVars_useWeekly := true
+ SOONG_CONFIG_omniGlobalVars_useWeeklyBuild := true
endif