Skip to content

Commit b529c78

Browse files
Mobile Ads Developer Relationscopybara-github
authored andcommitted
No public description
PiperOrigin-RevId: 854306582
1 parent 97c161b commit b529c78

1 file changed

Lines changed: 24 additions & 2 deletions

File tree

admob_unity_rapid.ncl

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
);
4652
USE_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.
108113
FORCE_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

Comments
 (0)