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

allow supplying custom gn args in gn wrapper #41794

Merged
merged 1 commit into from
May 11, 2023

Conversation

selfisekai
Copy link
Contributor

@selfisekai selfisekai commented May 6, 2023

allows to supply gn args that do not have their cli switches (yet), like this:

python3 ./tools/gn --gn-args 'use_default_linux_sysroot=false'

List which issues are fixed by this PR. You must list at least one issue.
flutter/flutter#126197

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read and followed the Flutter Style Guide and the C++, Objective-C, Java style guides.
  • I listed at least one issue that this PR fixes in the description above.
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt. See testing the engine for instructions on writing and running engine tests.
  • I updated/added relevant documentation (doc comments with ///).
  • I signed the CLA.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@selfisekai selfisekai force-pushed the gn-additional-args branch from 23d4dcb to bca9b09 Compare May 6, 2023 12:51
@selfisekai selfisekai force-pushed the gn-additional-args branch from bca9b09 to 6f87607 Compare May 6, 2023 13:38
@selfisekai selfisekai marked this pull request as ready for review May 7, 2023 14:27
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

LGTM

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label May 11, 2023
@auto-submit auto-submit bot merged commit 1f94476 into flutter:main May 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 11, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request May 12, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request May 12, 2023
…126622)

flutter/engine@f38f46f...748ef96

2023-05-11 [email protected] Roll Skia from aed81125e6bc to ccec5093ca38 (10 revisions) (flutter/engine#41963)
2023-05-11 [email protected] Roll Fuchsia Mac SDK from 2tQjI0g3aDmjHAtMw... to MjcKzcsqMDkuRKopu... (flutter/engine#41960)
2023-05-11 [email protected] iPhone floating cursor selection (flutter/engine#36643)
2023-05-11 [email protected] Update README.md (flutter/engine#41953)
2023-05-11 [email protected] Roll Clang from 5344d8e10bb7 to 6d667d4b261e (flutter/engine#41949)
2023-05-11 [email protected] Use moved SkImage procs (flutter/engine#41947)
2023-05-11 [email protected] allow supplying custom gn args in gn wrapper (flutter/engine#41794)
2023-05-11 [email protected] fix: platform_dispatcher documentation typo (flutter/engine#41739)
2023-05-11 [email protected] Remove GN staging flag for save layer bounds (flutter/engine#41940)
2023-05-11 [email protected] switch MockTexture off of MockCanvas calls (flutter/engine#41906)
2023-05-11 [email protected] [Android] Lifecycle defaults to focused instead of unfocused (flutter/engine#41875)
2023-05-11 [email protected] Roll Skia from ccf73af6ca91 to aed81125e6bc (9 revisions) (flutter/engine#41946)
2023-05-11 [email protected] Clobber caches in licenses test. (flutter/engine#41942)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from 2tQjI0g3aDmj to MjcKzcsqMDku

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
CaseyHillers pushed a commit to CaseyHillers/flutter that referenced this pull request May 24, 2023
…lutter#126622)

flutter/engine@f38f46f...748ef96

2023-05-11 [email protected] Roll Skia from aed81125e6bc to ccec5093ca38 (10 revisions) (flutter/engine#41963)
2023-05-11 [email protected] Roll Fuchsia Mac SDK from 2tQjI0g3aDmjHAtMw... to MjcKzcsqMDkuRKopu... (flutter/engine#41960)
2023-05-11 [email protected] iPhone floating cursor selection (flutter/engine#36643)
2023-05-11 [email protected] Update README.md (flutter/engine#41953)
2023-05-11 [email protected] Roll Clang from 5344d8e10bb7 to 6d667d4b261e (flutter/engine#41949)
2023-05-11 [email protected] Use moved SkImage procs (flutter/engine#41947)
2023-05-11 [email protected] allow supplying custom gn args in gn wrapper (flutter/engine#41794)
2023-05-11 [email protected] fix: platform_dispatcher documentation typo (flutter/engine#41739)
2023-05-11 [email protected] Remove GN staging flag for save layer bounds (flutter/engine#41940)
2023-05-11 [email protected] switch MockTexture off of MockCanvas calls (flutter/engine#41906)
2023-05-11 [email protected] [Android] Lifecycle defaults to focused instead of unfocused (flutter/engine#41875)
2023-05-11 [email protected] Roll Skia from ccf73af6ca91 to aed81125e6bc (9 revisions) (flutter/engine#41946)
2023-05-11 [email protected] Clobber caches in licenses test. (flutter/engine#41942)

Also rolling transitive DEPS:
  fuchsia/sdk/core/mac-amd64 from 2tQjI0g3aDmj to MjcKzcsqMDku

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@eseidel
Copy link
Contributor

eseidel commented Jun 2, 2023

Just wanted to say thank you for this change. I ended up depending on it in my fork, not realizing it was recent and then missed it when I went back to stable (I've since cherry-picked it back to stable). Thank you for adding this!

eseidel pushed a commit to shorebirdtech/engine that referenced this pull request Jun 8, 2023
allows to supply gn args that do not have their cli switches (yet), like this:
```sh
python3 ./tools/gn --gn-args 'use_default_linux_sysroot=false'
```

*List which issues are fixed by this PR. You must list at least one issue.*
flutter/flutter#126197

*If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*

[C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants