Skip to content

Commit 7d694f3

Browse files
authored
Introduce enable_lightweight argument (#7016)
This is a group switch that enables all other lightweight mode switches. With this, the CI config does not need to be changed for every new introduced change.
1 parent 8086421 commit 7d694f3

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/config/chromium_android-arm-lightweight.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
],
66
"gn_args": [
77
{
8-
"disable_xr": true,
9-
"disable_bluetooth" : true,
8+
"enable_lightweight" : true,
109
"target_os": "android",
1110
"target_cpu": "arm"
1211
}

.github/config/chromium_linux-lightweight.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
],
66
"gn_args": [
77
{
8-
"disable_xr": true,
9-
"disable_bluetooth" : true
8+
"enable_lightweight" : true
109
}
1110
],
1211
"targets": [

build/config/lightweight.gni

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
# found in the LICENSE file.
44

55
# Lightweight build configuration. Only Linux based build is considered.
6+
declare_args() {
7+
enable_lightweight = false
8+
}
9+
610
declare_args() {
711
# Disable Bluetooth support.
812
# Serial which depends on Bluetooth is also excluded from the build.
9-
disable_bluetooth = false
13+
disable_bluetooth = enable_lightweight
1014

1115
# Disable XR support.
12-
disable_xr = false
16+
disable_xr = enable_lightweight
1317
}

0 commit comments

Comments
 (0)