Integrating Kotlin into Chromium Codebase

96 views
Skip to first unread message

Milan Karmakar

unread,
Jul 26, 2025, 8:44:18 AMJul 26
to chromium...@chromium.org, Chromium-dev
Hi,

I'm working on a Chromium-based project and would like to integrate Kotlin and potentially Jetpack Compose into the codebase. We're aiming to modernize some Android UI components and streamline development using Kotlin's concise syntax and Compose's declarative UI model.

After reviewing the build system and related documentation, I’ve identified multiple limitations—primarily due to the lack of Kotlin compiler support in GN/Ninja, the absence of Gradle, and Chromium’s strict performance and binary constraints.

Despite these challenges, I’d like to ask:

Has anyone successfully added Kotlin support in a downstream Chromium project?
Is there any recommended way to integrate Kotlin sources into Chromium's GN-based build (e.g., via custom rules or scripting)?
Could Kotlin/Compose be used in a standalone Gradle module, and communicate with Chromium through an interface layer?
Are there any known efforts, experiments, or discussions I could look into or build upon?
thanks,

Milan

David Amber “WebDUH LLC” Weatherspoon

unread,
Jul 28, 2025, 12:06:35 PMJul 28
to Chromium-discuss, Milan Karmakar, Chromium-dev

I havn't - but I'm down if you want to try.
Reply all
Reply to author
Forward
0 new messages