Skip to content

Conversation

@Awallky
Copy link
Contributor

@Awallky Awallky commented Oct 24, 2025

This change cherry-pick's the following commits from the experimental/m138-lightweight branch:

commit 75d506b80e3da679d5bb4586113cab627829eeb8
Author: Yunsik Jung <[email protected]>
Date:   Thu Oct 23 09:55:23 2025 +0900

    Experimental/m138 lw exclude chrome (#7291)
    
    This PR enables the use of exclude_chrome_build=true for lightweight
    Linux builds.
    With this change, it is possible to build essential Chromium components
    without including the full Chrome browser dependencies.
    
    It also ensures that chromedriver remains available for testing and
    automation, even in lightweight builds.
    
    This is applied to Linux only as exclude_chrome_build currently supports
    Linux, and Android lightweight builds don't require GN-level exclusion.
commit 4bf47de78dd55ea0b583cf0fcf895ed8c276aebb
Author: Kaido Kert <[email protected]>
Date:   Thu Aug 28 09:35:43 2025 -0700

    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.
commit 887cf3ae02732cae903f0ea5abc3f38998cd0a9a
Author: Kaido Kert <[email protected]>
Date:   Mon Aug 25 09:25:32 2025 -0700

    Include no-Bluetooth in lightweight build profile (#6896)
    
    Add disable_bluetooth in lightweight profile.
commit a33b066ad7f56c6b4614e6a64a6ae9b153e73a29
Author: Yunsik Jung <[email protected]>
Date:   Sat Aug 23 01:27:50 2025 +0900

    Add support for disabling BT in lightweight builds (#6756)
    
    This commit introduces a new GN build configuration option to disable
    Bluetooth features in lightweight builds.
    
    Additionally, Serial (which depends on Bluetooth) is excluded from
    lightweight builds as well.
    
    This is the initial version of Bluetooth disabling, applied to Blink
    first.
commit 32e9a61a870e24dc3031b846ddeca1dbc5283ca2
Author: Kaido Kert <[email protected]>
Date:   Fri Aug 15 13:52:24 2025 -0700

    XR: Fix disable-xr build (#6850)
    
    Fixes GN code to exclude all required IDL and header modules, and
    updates WebGL rendering context to compile as well.
commit bbdb57532956b0d1c244a1368752cef572da6ade
Author: Yunsik Jung <[email protected]>
Date:   Thu Jan 23 19:47:11 2025 +0900

    Provide build option to disable xr in blink
    
    This change introduces a build argument 'disable_xr' that allows
    disabling XR modules in Blink, reducing the binary size for
    lightweight builds.
    
    Change-Id: Iab6d36de5fccbe78f8051a2100fe60718be1d537

Bug: 454733346

This change introduces a build argument 'disable_xr' that allows
disabling XR modules in Blink, reducing the binary size for
lightweight builds.

Change-Id: Iab6d36de5fccbe78f8051a2100fe60718be1d537
@Awallky Awallky requested review from a team as code owners October 24, 2025 00:20
@Awallky Awallky requested a review from yell0wd0g October 24, 2025 00:20
kaidokert and others added 5 commits October 24, 2025 00:30
Fixes GN code to exclude all required IDL and header modules, and
updates WebGL rendering context to compile as well.
This commit introduces a new GN build configuration option to disable
Bluetooth features in lightweight builds.

Additionally, Serial (which depends on Bluetooth) is excluded from
lightweight builds as well.

This is the initial version of Bluetooth disabling, applied to Blink
first.
Add disable_bluetooth in lightweight profile.
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.
This PR enables the use of exclude_chrome_build=true for lightweight
Linux builds.
With this change, it is possible to build essential Chromium components
without including the full Chrome browser dependencies.

It also ensures that chromedriver remains available for testing and
automation, even in lightweight builds.

This is applied to Linux only as exclude_chrome_build currently supports
Linux, and Android lightweight builds don't require GN-level exclusion.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants