Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Fix Chromium-specific configs in BUILD.gn #1658

Merged
merged 1 commit into from
Feb 18, 2025

Conversation

gnoliyil
Copy link
Contributor

chromium_code and no_chromium_code are GN config targets defined in the chromium repository. Non-Chromium GN builds don't have these targets and GN will fail parsing them.

This change modifies Chromium-specific configs so that they are only applied on Chromium builds.

Test: Vulkan-Loader builds on Fuchsia (also with other changes)
Bug: https://fxbug.dev/378964821

`chromium_code` and `no_chromium_code` are GN config targets defined
in the chromium repository. Non-Chromium GN builds don't have these
targets and GN will fail parsing them.

This change modifies Chromium-specific configs so that they are
only applied on Chromium builds.

Test: Vulkan-Loader builds on Fuchsia (also with other changes)
Bug: https://fxbug.dev/378964821
Change-Id: I326527a33db685a404705568426d1a64cc1eac04
@ci-tester-lunarg
Copy link

Author gnoliyil not on autobuild list. Waiting for curator authorization before starting CI build.

1 similar comment
@ci-tester-lunarg
Copy link

Author gnoliyil not on autobuild list. Waiting for curator authorization before starting CI build.

Copy link
Collaborator

@charles-lunarg charles-lunarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good assuming the gn build stays working.

@charles-lunarg charles-lunarg merged commit c2326cc into KhronosGroup:main Feb 18, 2025
44 checks passed
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