Skip to content

Add material_sass as a direct dep of header_styles. Angular 21 - #7167

Open
cdavalos7 wants to merge 1 commit into
tensorflow:masterfrom
cdavalos7:fix/header-sass-strict-deps
Open

cdavalos7 wants to merge 1 commit into
tensorflow:masterfrom
cdavalos7:fix/header-sass-strict-deps

Conversation

@cdavalos7

Copy link
Copy Markdown
Contributor

Motivation for features / changes

Since #7165, header_component.scss uses @angular/material directly, but header_styles only declares //tensorboard/webapp/theme and gets the Material Sass sources transitively. The OSS build allows this. The internal build requires direct Sass deps and rejects it.

Technical description of changes

  • Add //tensorboard/webapp/angular_components:material_sass to the header_styles deps in tensorboard/webapp/header/BUILD, matching the other Sass targets that use Material.

…scss uses @angular/material since tensorflow#7165. Declare it directly instead of relying on the transitive dep through theme, which

the internal build's strict Sass deps check rejects.
@cdavalos7
cdavalos7 marked this pull request as ready for review October 23, 2026 22:06
@cdavalos7
cdavalos7 requested a review from arcra October 23, 2026 22:20
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.

2 participants