forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infra] Migrate linux-official builder GN args to starlark.
This change specifies GN args for linux-official ci and try builders using the gn_args starlark library. Cq-Include-Trybots: chromium/try:linux-official Bug: 1471251 Change-Id: I8d74c12382e00eef88cf3dee82be61cda103187a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4792342 Reviewed-by: Garrett Beaty <gbeaty@google.com> Commit-Queue: Garrett Beaty <gbeaty@google.com> Auto-Submit: Keybo Qian <keybo@google.com> Cr-Commit-Position: refs/heads/main@{#1200516}
- Loading branch information
Keybo Qian
authored and
Chromium LUCI CQ
committed
Sep 22, 2023
1 parent
fdcc1b7
commit 0654b02
Showing
13 changed files
with
81 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
infra/config/generated/builders/ci/linux-official/gn-args.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"gn_args": { | ||
"is_official_build": true, | ||
"use_remoteexec": true | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
infra/config/generated/builders/ci/linux-official/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
{} | ||
{ | ||
"chromium": { | ||
"linux-official": "ci/linux-official/gn-args.json" | ||
}, | ||
"tryserver.chromium": { | ||
"linux-official": "try/linux-official/gn-args.json" | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
infra/config/generated/builders/try/linux-official/gn-args.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"gn_args": { | ||
"dcheck_always_on": true, | ||
"is_official_build": true, | ||
"symbol_level": 1, | ||
"use_remoteexec": true | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
infra/config/generated/builders/try/linux-official/properties.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# Copyright 2023 The Chromium Authors | ||
# Use of this source code is governed by a BSD-style license that can be | ||
# found in the LICENSE file. | ||
|
||
# Execute this file to set up some common GN arg configs for Chromium builders. | ||
|
||
load("//lib/gn_args.star", "gn_args") | ||
|
||
gn_args.config( | ||
"official_optimize", | ||
args = { | ||
"is_official_build": True, | ||
}, | ||
) | ||
|
||
gn_args.config( | ||
"reclient", | ||
args = { | ||
"use_remoteexec": True, | ||
}, | ||
) | ||
|
||
gn_args.config( | ||
"minimal_symbols", | ||
args = { | ||
"symbol_level": 1, | ||
}, | ||
) | ||
|
||
gn_args.config( | ||
"dcheck_always_on", | ||
args = { | ||
"dcheck_always_on": True, | ||
}, | ||
) | ||
|
||
gn_args.config( | ||
"try_builder", | ||
configs = [ | ||
"minimal_symbols", | ||
"dcheck_always_on", | ||
], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters