erlang-language-platform/test_projects/include_lib_dependency_test
Alan Zimmerman c33cffe102 local include via deps
Summary:
The Erlang local include processing is intended to search in the include path of the initial application, then the include paths of all dependencies.

This is also how it works in buck2.

This diff aligns ELP with this by

- Include the app name in the local include key for the include mapping
- If the initial lookup fails, walk the tree of dependencies looking for a result

Reviewed By: TD5

Differential Revision: D78488506

fbshipit-source-id: 5ec98a0ecde04883db480b9adecae19ea0e784c6
2025-07-21 04:58:39 -07:00
..
external_app Use buck dependencies when resolving include_lib 2025-07-21 04:58:39 -07:00
extra_app Use buck dependencies when resolving include_lib 2025-07-21 04:58:39 -07:00
main_app/src local include via deps 2025-07-21 04:58:39 -07:00
normal_dep local include via deps 2025-07-21 04:58:39 -07:00
.elp.toml Use buck dependencies when resolving include_lib 2025-07-21 04:58:39 -07:00
rebar.config Use buck dependencies when resolving include_lib 2025-07-21 04:58:39 -07:00