@@ -43,6 +43,12 @@ TARGET_DECAGON_WORKFLOW_PARAMETER = ::Rapid::WorkflowParameter::Bool(
4343 modifiable = true ,
4444 description = "Whether the Unity plugin should be built for Decagon (as opposed to Nonagon)." ,
4545);
46+ TARGET_DECAGON_WORKFLOW_PARAMETER_TRUE = :: Rapid :: WorkflowParameter :: Bool (
47+ name = "target_decagon" ,
48+ label = "Target Decagon" ,
49+ default_value = true ,
50+ modifiable = false ,
51+ );
4652USE_CACHES_WORKFLOW_PARAMETER = :: Rapid :: WorkflowParameter :: Bool (
4753 name = "use_caches" ,
4854 label = "Use Caches" ,
@@ -104,15 +110,31 @@ ADMOB_UNITY_PLUGIN_BUILDABLE_UNIT = ::blueprint::BuildableUnit(
104110 enable_release = true , // Enabled so it can be pulled by GMS Core during FDR
105111);
106112
107- // This workflow is used by GMA SDK Granular and FDR release processes .
108113FORCE_BUILD_UNITY_APK_WORKFLOW_NAME = "Force Build Unity APK" ;
109- FORCE_BUILD_UNITY_APK_WORKFLOW = :: Rapid :: Workflow :: CustomWorkflow (
114+
115+ // This workflow is used by GMA SDK Nonagon Granular and FDR release processes .
116+ FORCE_BUILD_UNITY_APK_NONAGON_WORKFLOW = :: Rapid :: Workflow :: CustomWorkflow (
117+ name = FORCE_BUILD_UNITY_APK_WORKFLOW_NAME ,
118+ config_path = "google3/third_party/java_src/gma_sdk_mediation/release/rapid/workflows/unity/build_unity_apk.pp" ,
119+ parameters = SHARED_BUILD_AND_TEST_WORKFLOW_PARAMETERS + [
120+ ADMOB_ANDROID_APP_ID_WORKFLOW_PARAMETER ,
121+ USE_CACHES_WORKFLOW_PARAMETER ,
122+ FORCE_BUILD_UNITS_WORKFLOW_PARAMETER ,
123+ // The `target_decagon ` argument is false by default in the workflow , so we
124+ // don't need to pass it explicitly .
125+ ],
126+ description = "Builds the requested Unity APK, forcing the plugin to be built from source." ,
127+ );
128+
129+ // This workflow is used by GMA SDK Decagon Gradler release process .
130+ FORCE_BUILD_UNITY_APK_DECAGON_WORKFLOW = :: Rapid :: Workflow :: CustomWorkflow (
110131 name = FORCE_BUILD_UNITY_APK_WORKFLOW_NAME ,
111132 config_path = "google3/third_party/java_src/gma_sdk_mediation/release/rapid/workflows/unity/build_unity_apk.pp" ,
112133 parameters = SHARED_BUILD_AND_TEST_WORKFLOW_PARAMETERS + [
113134 ADMOB_ANDROID_APP_ID_WORKFLOW_PARAMETER ,
114135 USE_CACHES_WORKFLOW_PARAMETER ,
115136 FORCE_BUILD_UNITS_WORKFLOW_PARAMETER ,
137+ TARGET_DECAGON_WORKFLOW_PARAMETER_TRUE ,
116138 ],
117139 description = "Builds the requested Unity APK, forcing the plugin to be built from source." ,
118140);
0 commit comments