Fix the clangd builders, and make Linux non-bringup. (flutter/engine#51765)

Further work towards https://github.com/flutter/flutter/issues/141641.

I could imagine making things `presubmit: false` if we think it's not
worth the presubmit capacity.

Removed `:copy_dart_sdk` which seems (a) not to work and (b) not needed
to use the pre-builts.
This commit is contained in:
Matan Lurey
2024-03-29 13:28:53 -07:00
committed by GitHub
parent be4448448d
commit d8482e6c45
3 changed files with 24 additions and 8 deletions

View File

@@ -279,7 +279,6 @@ targets:
- name: Linux clangd
recipe: engine_v2/engine_v2
bringup: true
properties:
config_name: linux_unopt_debug_no_rbe
@@ -369,8 +368,11 @@ targets:
- os=Mac-13
- name: Mac clangd
recipe: engine_v2/engine_v2
bringup: true
recipe: engine_v2/engine_v2
# Avoid using a Mac orchestrator to save ~5 minutes of Mac host time.
drone_dimensions:
- os=Linux
properties:
config_name: mac_unopt_debug_no_rbe

View File

@@ -1,7 +1,11 @@
{
"_comment": [
"This build is only used to generate compile_commands.json for clangd ",
"and should not be used for any other purpose."
"and should not be used for any other purpose.",
"",
"Note the `flutter/tools/font_subset` target is only used because if no ",
"targets are specified, the build will fail, and if an empty list of ",
"targets are specified, all targets are built (wasteful/slow)"
],
"builds": [
{
@@ -11,13 +15,16 @@
"debug",
"--unoptimized",
"--prebuilt-dart-sdk",
"--no-lto",
"--no-rbe",
"--no-goma"
"--no-goma",
"--target-dir",
"linux_unopt_debug_no_rbe"
],
"name": "linux_unopt_debug_no_rbe",
"ninja": {
"config": "linux_unopt_debug_no_rbe",
"targets": ["flutter/build/dart:copy_dart_sdk"]
"targets": ["flutter/tools/font_subset"]
},
"tests": [
{

View File

@@ -1,7 +1,11 @@
{
"_comment": [
"This build is only used to generate compile_commands.json for clangd ",
"and should not be used for any other purpose."
"and should not be used for any other purpose.",
"",
"Note the `flutter/tools/font_subset` target is only used because if no ",
"targets are specified, the build will fail, and if an empty list of ",
"targets are specified, all targets are built (wasteful/slow)"
],
"builds": [
{
@@ -16,14 +20,17 @@
"debug",
"--unoptimized",
"--prebuilt-dart-sdk",
"--no-lto",
"--no-rbe",
"--no-goma",
"--xcode-symlinks"
"--xcode-symlinks",
"--target-dir",
"mac_unopt_debug_no_rbe"
],
"name": "mac_unopt_debug_no_rbe",
"ninja": {
"config": "mac_unopt_debug_no_rbe",
"targets": ["flutter/build/dart:copy_dart_sdk"]
"targets": ["flutter/tools/font_subset"]
},
"tests": [
{