|
| 1 | +local include "gmscore/release/blueprint/gmscore_flags.ncl"; |
1 | 2 | include "releasetools/rapid/ncl/rapid_config.ncl"; |
| 3 | +include "devtools/blueprint/ncl/blueprint_file.ncl"; |
2 | 4 |
|
3 | | -namespace AdMobUnityWorkflowParameters { |
| 5 | +namespace AdMobUnityRapid { |
| 6 | + |
| 7 | +UNITY_PLUGIN_IOS_FLAGS = [ |
| 8 | + "--config=ios_common", |
| 9 | + "--ios_multi_cpus=arm64,x86_64", |
| 10 | + "--ios_minimum_os=14.0", |
| 11 | +]; |
4 | 12 |
|
5 | 13 | DEFAULT_TARGET_UNITY_VERSION = "6000.1"; |
6 | 14 | // TODO(jochac): Bump to API 36. |
@@ -52,4 +60,20 @@ SHARED_BUILD_AND_TEST_WORKFLOW_PARAMETERS = [ |
52 | 60 | ), |
53 | 61 | ] + [USE_UNITY_PACKAGE_WORKFLOW_PARAMETER]; |
54 | 62 |
|
55 | | -} // namespace AdMobUnityWorkflowParameters |
| 63 | +// Dev variant. |
| 64 | +admob_unity_plugin_build = ::blueprint::BuildableUnit( |
| 65 | + // LINT.IfChange |
| 66 | + name = "admob_unity_plugin_build", |
| 67 | + // LINT.ThenChange(//depot/google3/third_party/java_src/gma_sdk_mediation/release/rapid/workflows/unity/build_unity_apk.pp) |
| 68 | + build_patterns = [ |
| 69 | + "//java/com/google/android/libraries/admob/demo/unity/googlemobileads:unitypackage_public", |
| 70 | + "//java/com/google/android/libraries/admob/demo/unity/googlemobileads:upm_package", |
| 71 | + ], |
| 72 | + build_flags = GMSCoreFlags::SDK_BUILD_FLAGS + UNITY_PLUGIN_IOS_FLAGS |
| 73 | + + ["--define=build_type=dev"], |
| 74 | + continuous_build_email = ::blueprint::ContinuousBuildEmailInfo( |
| 75 | + build_cop_email_addrs = ["vkini@google.com", "jochac@google.com"]), |
| 76 | + enable_release = true, // Enabled so it can be pulled by GMS Core during FDR |
| 77 | +); |
| 78 | + |
| 79 | +} // namespace AdMobUnityRapid |
0 commit comments