merging-devtools-module

Installation
SKILL.md

Workflow: Merging a DevTools Submodule into its Parent

This document outlines the process for merging a submodule (e.g., panels/timeline/extensions) into its parent module (e.g., panels/timeline) within the DevTools build system. The goal is to simplify the build configuration by consolidating BUILD.gn files while keeping the original source file directory structure.

Prerequisites

You will need the following information:

  • Parent Module Path: The path to the directory containing the primary module.
  • Child Module Path: The path to the directory of the submodule to be merged.

Workflow Steps

1. Analyze Build Configurations

Read the contents of the BUILD.gn file from both the child module and the parent module. Identify the following from the child's BUILD.gn:

  • The list of sources in the devtools_module.
  • The list of ts_deps (and non-TypeScript deps) in the devtools_module.
  • The entrypoint for the devtools_entrypoint("bundle").
Installs
2
GitHub Stars
4.1K
First Seen
Nov 6, 2026