| Zane Shelley | 3a85108 | 2021-03-23 16:45:28 -0500 | [diff] [blame] | 1 | #pragma once | 
|  | 2 |  | 
|  | 3 | // clang-format off | 
|  | 4 |  | 
|  | 5 | // IMPORTANT: | 
|  | 6 | //   Use constexpr and avoid #define whenever possible. This has the benefit of | 
|  | 7 | //   compiling as much code as possible, regardless if it is actually used. Thus | 
|  | 8 | //   ensuring each code path remains buildable. Note that the optimization path | 
|  | 9 | //   should delete the unused code later. | 
|  | 10 |  | 
| Zane Shelley | e4bfb47 | 2021-08-10 12:47:32 -0500 | [diff] [blame] | 11 | // TODO: This has a problem because as currently designed, meson will replace | 
|  | 12 | //       the field with `True`, which won't compile. Will need to investigate | 
|  | 13 | //       later. Fortunately, this variable is not currently used. So we can | 
|  | 14 | //       comment it out and leave it here for an example when other config | 
|  | 15 | //       options are added later. | 
|  | 16 | // constexpr const int configPhalApi = @CONFIG_PHAL_API@; | 
| Zane Shelley | 3a85108 | 2021-03-23 16:45:28 -0500 | [diff] [blame] | 17 |  | 
|  | 18 | // IMPORTANT: | 
|  | 19 | //   Avoid using #define whenever possible. See note above for reason. | 
|  | 20 |  | 
|  | 21 | #mesondefine CONFIG_PHAL_API | 
|  | 22 |  | 
| Dhruvaraj Subhashchandran | 0c1487c | 2024-06-01 11:07:26 -0500 | [diff] [blame] | 23 | // D-Bus path for requesting dumps | 
|  | 24 | constexpr auto OP_DUMP_OBJ_PATH = @OP_DUMP_OBJ_PATH@; | 
|  | 25 |  | 
| Zane Shelley | 3a85108 | 2021-03-23 16:45:28 -0500 | [diff] [blame] | 26 | // clang-format on |