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

Conversation

@dballard
Copy link
Contributor

@dballard dballard commented Jun 5, 2023

Support overriding aot_library_path in FLDartProject on Linux.

Fixes: flutter/flutter#128213

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.

@dballard dballard force-pushed the set-linux-aot-library-path branch from ecd1a3b to 32c31ad Compare June 5, 2023 04:30
@cbracken cbracken changed the title [linux] Allow oberriding aot_library_path [linux] Allow overriding aot_library_path Jun 8, 2023
Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

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

Seems to be missing the code to pass this path to the engine?

@loic-sharma
Copy link
Member

@dballard Have you had a chance to address the feedback? (Desktop triage)

@dballard
Copy link
Contributor Author

@loic-sharma Not yet, been a busy few weeks but hoping to get back to this in the next few days, thanks for the reminder!

@dballard dballard force-pushed the set-linux-aot-library-path branch 2 times, most recently from f5ca8c1 to a9f7442 Compare July 8, 2023 17:45
@dballard
Copy link
Contributor Author

dballard commented Jul 8, 2023

Seems to be missing the code to pass this path to the engine?

How so? I copied what fl_dart_project_set_icu_data_path does. Doing this from with in my own code seemed to be sufficient.

@robert-ancell
Copy link
Contributor

Seems to be missing the code to pass this path to the engine?

How so? I copied what fl_dart_project_set_icu_data_path does. Doing this from with in my own code seemed to be sufficient.

Sorry, yes. I missed the existing code was already there to do this.

@dballard dballard force-pushed the set-linux-aot-library-path branch from a9f7442 to 15c9acd Compare July 10, 2023 03:21
Copy link
Contributor

@robert-ancell robert-ancell left a comment

Choose a reason for hiding this comment

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

LGTM

@robert-ancell robert-ancell merged commit ed3c553 into flutter:main Jul 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 10, 2023
kjlubick pushed a commit to kjlubick/engine that referenced this pull request Jul 14, 2023
Support overriding `aot_library_path` in `FLDartProject` on Linux.

Fixes: flutter/flutter#128213

## Pre-launch Checklist

- [x] I read the [Contributor Guide] and followed the process outlined
there for submitting PRs.
- [x] I read the [Tree Hygiene] wiki page, which explains my
responsibilities.
- [x] I read and followed the [Flutter Style Guide] and the [C++,
Objective-C, Java style guides].
- [x] I listed at least one issue that this PR fixes in the description
above.
- [x] 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.
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] I signed the [CLA].
- [x] All existing and new tests are passing.

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

<!-- Links -->
[Contributor Guide]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#overview
[Tree Hygiene]: https://github.com/flutter/flutter/wiki/Tree-hygiene
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[C++, Objective-C, Java style guides]:
https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
[testing the engine]:
https://github.com/flutter/flutter/wiki/Testing-the-engine
[CLA]: https://cla.developers.google.com/
[flutter/tests]: https://github.com/flutter/tests
[breaking change policy]:
https://github.com/flutter/flutter/wiki/Tree-hygiene#handling-breaking-changes
[Discord]: https://github.com/flutter/flutter/wiki/Chat
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support overridding aot_library_path on Linux

3 participants