|
1 | | -# SPDX-License-Identifier: Apache-2.0 |
2 | | -# SPDX-FileCopyrightText: 2025 Ericsson and the Erlang/OTP contributors |
| 1 | +## %CopyrightBegin% |
| 2 | +## |
| 3 | +## SPDX-License-Identifier: Apache-2.0 |
| 4 | +## |
| 5 | +## Copyright Ericsson AB 2025. All Rights Reserved. |
| 6 | +## |
| 7 | +## Licensed under the Apache License, Version 2.0 (the "License"); |
| 8 | +## you may not use this file except in compliance with the License. |
| 9 | +## You may obtain a copy of the License at |
| 10 | +## |
| 11 | +## http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | +## |
| 13 | +## Unless required by applicable law or agreed to in writing, software |
| 14 | +## distributed under the License is distributed on an "AS IS" BASIS, |
| 15 | +## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 16 | +## See the License for the specific language governing permissions and |
| 17 | +## limitations under the License. |
| 18 | +## |
| 19 | +## %CopyrightEnd% |
3 | 20 |
|
4 | 21 | [build_info] |
5 | 22 | apps = [ |
6 | 23 | "lib/*", |
7 | | - {"name" = "erts", "dir" = "erts/preloaded", "src_dirs" = ["src"]}, |
8 | | - {"name" = "wx", "dir" = "lib/wx", "src_dirs" = ["src", "gen"]}, |
9 | | - {"name" = "inets", "dir" = "lib/inets", "src_dirs" = ["src/http_client", "src/http_server", "src/http_lib", "src/inets_app"]}, |
10 | | - {"name" = "common_test", "dir" = "lib/common_test", "src_dirs" = ["src", "test_server"]}, |
| 24 | + {"name" = "erts", "dir" = "erts/preloaded", "src_dirs" = ["src"], "include_dirs" = ["../../lib/kernel/src", "../../lib/kernel/include"]}, |
| 25 | + {"name" = "wx", "dir" = "lib/wx", "src_dirs" = ["src", "gen"], "include_dirs" = ["include"]}, |
| 26 | + {"name" = "inets", "dir" = "lib/inets", "src_dirs" = ["src"], "include_dirs" = ["include", "src/inets_app", "src/http_lib"]}, |
| 27 | + {"name" = "common_test", "dir" = "lib/common_test", "src_dirs" = ["src", "test_server"], "include_dirs" = ["include", "../snmp/include", "../kernel/include"]}, |
11 | 28 | # Due to some Erlang/OTP bootstrapping issues, `stdlib` modules such as `gen_server` includes headers from the kernel application |
12 | 29 | # using a simple `-include` directive, causing ELP to fail resolving those inclusions. |
13 | 30 | # Include kernel as an `include_dir` for `stdlib` to solve the issue |
14 | | - {"name" = "stdlib", "dir" = "lib/stdlib", "include_dirs" = ["include", "../kernel/include"]}, |
| 31 | + {"name" = "stdlib", "dir" = "lib/stdlib", "src_dirs" = ["src"], "include_dirs" = ["include", "../kernel/include"]}, |
| 32 | + {"name" = "dialyzer", "dir" = "lib/dialyzer", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "macros" = {"VSN" = "DEFAULT_VSN"}}, |
| 33 | + {"name" = "snmp", "dir" = "lib/snmp", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = ["include", "src/misc", "src/compile", "src/app"], "macros" = {"default_verbosity"="silence", "version"="version"}}, |
| 34 | + {"name" = "sasl", "dir" = "lib/sasl", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = ["../stdlib/include"]}, |
| 35 | + {"name" = "compiler", "dir" = "lib/compiler", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = [ "../stdlib/include"], "macros" = {"COMPILER_VSN"="COMPILER_VSN"}}, |
| 36 | + {"name" = "parsetools", "dir" = "lib/parsetools", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = ["../stdlib/include"]}, |
| 37 | + {"name" = "eldap", "dir" = "lib/eldap", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = ["include", "ebin"]}, |
| 38 | + {"name" = "observer", "dir" = "lib/observer", "src_dirs" = ["src"], "extra_src_dirs" = ["test"], "include_dirs" = ["include", "../et/include"]}, |
15 | 39 | ] |
16 | 40 | deps = [] |
0 commit comments