From 1c9e9f01e903e16ac3e915c6054b4806ccae4ae5 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Thu, 5 May 2022 15:39:06 -0700 Subject: [PATCH] Add linux_android_aot_engine using recipes v2. (flutter/engine#33125) --- engine/src/flutter/.ci.yaml | 8 + .../ci/builders/linux_android_aot_engine.json | 197 ++++++++++++++++++ 2 files changed, 205 insertions(+) create mode 100644 engine/src/flutter/ci/builders/linux_android_aot_engine.json diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index e583e233d8..ea2aafdc6e 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -192,6 +192,14 @@ targets: config_name: linux_host_engine environment: Staging + - name: Linux linux_android_aot_engine + recipe: engine_v2/engine_v2 + bringup: true + timeout: 60 + properties: + config_name: linux_android_aot_engine + environment: Staging + - name: Linux Web Engine recipe: engine/web_engine properties: diff --git a/engine/src/flutter/ci/builders/linux_android_aot_engine.json b/engine/src/flutter/ci/builders/linux_android_aot_engine.json new file mode 100644 index 0000000000..7a1abdaefd --- /dev/null +++ b/engine/src/flutter/ci/builders/linux_android_aot_engine.json @@ -0,0 +1,197 @@ +{ + "builds": [ + { + "archives": [ + { + "name": "android_profile", + "base_path": "out/android_profile/zip_archives/", + "include_paths": [ + "out/android_profile/zip_archives/android-arm-profile/artifacts.zip", + "out/android_profile/zip_archives/android-arm-profile/linux-x64.zip", + "out/android_profile/zip_archives/android-arm-profile/symbols.zip", + "out/android_profile/zip_archives/flutter_download_io" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--android", + "--android-cpu", + "arm" + ], + "name": "android_profile", + "ninja": { + "config": "android_profile", + "targets": [ + "default", + "clang_x64/gen_snapshot", + "flutter/shell/platform/android:embedding_jars", + "flutter/shell/platform/android:abi_jars" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "android_release", + "base_path": "out/android_release/zip_archives/", + "include_paths": [ + "out/android_release/zip_archives/android-arm-release/artifacts.zip", + "out/android_release/zip_archives/android-arm-release/linux-x64.zip", + "out/android_release/zip_archives/android-arm-release/symbols.zip", + "out/android_release/zip_archives/flutter_download_io" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--android", + "--android-cpu", + "arm" + ], + "name": "android_release", + "ninja": { + "config": "android_release", + "targets": [ + "default", + "clang_x64/gen_snapshot", + "flutter/shell/platform/android:embedding_jars", + "flutter/shell/platform/android:abi_jars" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "android_release_arm64", + "base_path": "out/android_release_arm64/zip_archives/", + "include_paths": [ + "out/android_release_arm64/zip_archives/android-arm64-release/artifacts.zip", + "out/android_release_arm64/zip_archives/android-arm64-release/linux-x64.zip", + "out/android_release_arm64/zip_archives/android-arm64-release/symbols.zip", + "out/android_release_arm64/zip_archives/flutter_download_io" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--android", + "--android-cpu", + "arm64" + ], + "name": "android_release_arm64", + "ninja": { + "config": "android_release_arm64", + "targets": [ + "default", + "clang_x64/gen_snapshot", + "flutter/shell/platform/android:abi_jars" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "android_profile_x64", + "base_path": "out/android_profile_x64/zip_archives/", + "include_paths": [ + "out/android_profile_x64/zip_archives/android-x64-profile/artifacts.zip", + "out/android_profile_x64/zip_archives/android-x64-profile/linux-x64.zip", + "out/android_profile_x64/zip_archives/android-x64-profile/symbols.zip", + "out/android_profile_x64/zip_archives/flutter_download_io" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--android", + "--android-cpu", + "x64" + ], + "name": "android_profile_x64", + "ninja": { + "config": "android_profile_x64", + "targets": [ + "default", + "clang_x64/gen_snapshot", + "flutter/shell/platform/android:abi_jars" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "name": "android_release_x64", + "base_path": "out/android_release_x64/zip_archives/", + "include_paths": [ + "out/android_release_x64/zip_archives/android-x64-release/artifacts.zip", + "out/android_release_x64/zip_archives/android-x64-release/linux-x64.zip", + "out/android_release_x64/zip_archives/android-x64-release/symbols.zip", + "out/android_release_x64/zip_archives/flutter_download_io" + ] + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--android", + "--android-cpu", + "x64" + ], + "name": "android_release_x64", + "ninja": { + "config": "android_release_x64", + "targets": [ + "default", + "clang_x64/gen_snapshot", + "flutter/shell/platform/android:abi_jars" + ] + }, + "tests": [] + } + ], + "tests": [] +}