Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Conversation

@stuartmorgan-g
Copy link
Contributor

This adds just enough changes from the Chromium build infrastructure that have happened since buildroot was first forked off from it to allow building ANGLE on Windows using the upstream ANGLE BUILD.gn files in 'build_with_chromium' mode.

This is needed in order to add ANGLE for the upcoming move away from GLFW for the Windows embedding.

@stuartmorgan-g
Copy link
Contributor Author

FYI @clarkezone

# Enables DCHECKs to be built-in, but to default to being non-fatal/log-only.
# DCHECKS can then be set as fatal/non-fatal via the DCheckIsFatal feature.
# See crbug.com/596231 for details on how this is used.
dcheck_is_configurable = false
Copy link
Contributor

Choose a reason for hiding this comment

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

This does nothing in our buildroot. Let's always set both to false.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated to make this always false. I'm leaving dcheck_always_on in a declare_args since it was already an argument before the patch, and I'd rather not have potential fallout from removing an argument as part of this patch.

use_prebuilt_instrumented_libraries = false
}

use_fuzzing_engine = false
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this go in the declare_args block?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

true isn't supported without more buildroot work, so it can't be an argument in our build at this point. If someone wants to make it an argument, they'll need to do follow-up work.

@stuartmorgan-g stuartmorgan-g merged commit fe3b828 into flutter:master Jul 18, 2019
@stuartmorgan-g stuartmorgan-g deleted the angle-support branch July 18, 2019 23:34
iskakaushik pushed a commit to iskakaushik/buildroot that referenced this pull request Jul 30, 2019
iskakaushik added a commit that referenced this pull request Jul 30, 2019
stuartmorgan-g added a commit that referenced this pull request Aug 6, 2019
Reland of fe3b828 (#276)

This adds minimal (in some cases dummy) files sufficient to allow
building ANGLE in this buildroot using the build_with_chromium option.
chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
This adds minimial (in some cases dummy) files sufficient to allow
building ANGLE in this buildroot using the build_with_chromium option.
chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
chinmaygarde pushed a commit to chinmaygarde/flutter_buildroot that referenced this pull request May 4, 2021
Reland of fe3b828 (flutter#276)

This adds minimal (in some cases dummy) files sufficient to allow
building ANGLE in this buildroot using the build_with_chromium option.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants