From 9a7819d2acdbc46c1e3d3ff89a71eb1e9ee70654 Mon Sep 17 00:00:00 2001 From: godofredoc Date: Mon, 9 May 2022 14:49:04 -0700 Subject: [PATCH] Add linux android debug engine builder. (flutter/engine#33218) --- engine/src/flutter/.ci.yaml | 8 ++ .../builders/linux_android_debug_engine.json | 112 ++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 engine/src/flutter/ci/builders/linux_android_debug_engine.json diff --git a/engine/src/flutter/.ci.yaml b/engine/src/flutter/.ci.yaml index c93763c1c5..60ffc2d21a 100644 --- a/engine/src/flutter/.ci.yaml +++ b/engine/src/flutter/.ci.yaml @@ -208,6 +208,14 @@ targets: config_name: linux_android_aot_engine environment: Staging + - name: Linux linux_android_debug_engine + recipe: engine_v2/engine_v2 + bringup: true + timeout: 60 + properties: + config_name: linux_android_debug_engine + environment: Staging + - name: Linux Web Engine recipe: engine/web_engine properties: diff --git a/engine/src/flutter/ci/builders/linux_android_debug_engine.json b/engine/src/flutter/ci/builders/linux_android_debug_engine.json new file mode 100644 index 0000000000..7a33a441ee --- /dev/null +++ b/engine/src/flutter/ci/builders/linux_android_debug_engine.json @@ -0,0 +1,112 @@ +{ + "builds": [ + { + "archives": [ + { + "base_path": "out/linux_profile_arm64/zip_archives/", + "include_paths": [ + "out/linux_profile_arm64/zip_archives/linux-arm64-profile/linux-arm64-flutter-gtk.zip" + ], + "name": "linux_profile_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "profile", + "--no-lto", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_profile_arm64", + "ninja": { + "config": "linux_profile_arm64", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/linux_debug_arm64/zip_archives/", + "include_paths": [ + "out/linux_debug_arm64/zip_archives/linux-arm64/artifacts.zip", + "out/linux_debug_arm64/zip_archives/linux-arm64/font-subset.zip", + "out/linux_debug_arm64/zip_archives/linux-arm64-debug/linux-arm64-flutter-gtk.zip", + "out/linux_debug_arm64/zip_archives/dart-sdk-linux-arm64.zip" + ], + "name": "linux_debug_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "debug", + "--full-dart-sdk", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_debug_arm64", + "ninja": { + "config": "linux_debug_arm64", + "targets": [ + "flutter/build/archives:artifacts", + "flutter/build/archives:dart_sdk_archive", + "flutter/tools/font-subset", + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + }, + { + "archives": [ + { + "base_path": "out/linux_release_arm64/zip_archives/", + "include_paths": [ + "out/linux_release_arm64/zip_archives/linux-arm64-release/linux-arm64-flutter-gtk.zip" + ], + "name": "linux_release_arm64" + } + ], + "drone_dimensions": [ + "device_type=none", + "os=Linux" + ], + "gclient_custom_vars": { + "download_android_deps": false + }, + "gn": [ + "--runtime-mode", + "release", + "--target-os=linux", + "--linux-cpu=arm64", + "--prebuilt-dart-sdk" + ], + "name": "linux_release_arm64", + "ninja": { + "config": "linux_release_arm64", + "targets": [ + "flutter/shell/platform/linux:flutter_gtk" + ] + }, + "tests": [] + } + ], + "tests": [] +}