13a85108fSZane Shelley#pragma once 23a85108fSZane Shelley 33a85108fSZane Shelley// clang-format off 43a85108fSZane Shelley 53a85108fSZane Shelley// IMPORTANT: 63a85108fSZane Shelley// Use constexpr and avoid #define whenever possible. This has the benefit of 73a85108fSZane Shelley// compiling as much code as possible, regardless if it is actually used. Thus 83a85108fSZane Shelley// ensuring each code path remains buildable. Note that the optimization path 93a85108fSZane Shelley// should delete the unused code later. 103a85108fSZane Shelley 11e4bfb47cSZane Shelley// TODO: This has a problem because as currently designed, meson will replace 12e4bfb47cSZane Shelley// the field with `True`, which won't compile. Will need to investigate 13e4bfb47cSZane Shelley// later. Fortunately, this variable is not currently used. So we can 14e4bfb47cSZane Shelley// comment it out and leave it here for an example when other config 15e4bfb47cSZane Shelley// options are added later. 16e4bfb47cSZane Shelley// constexpr const int configPhalApi = @CONFIG_PHAL_API@; 173a85108fSZane Shelley 183a85108fSZane Shelley// IMPORTANT: 193a85108fSZane Shelley// Avoid using #define whenever possible. See note above for reason. 203a85108fSZane Shelley 213a85108fSZane Shelley#mesondefine CONFIG_PHAL_API 223a85108fSZane Shelley 23*0c1487cbSDhruvaraj Subhashchandran// D-Bus path for requesting dumps 24*0c1487cbSDhruvaraj Subhashchandranconstexpr auto OP_DUMP_OBJ_PATH = @OP_DUMP_OBJ_PATH@; 25*0c1487cbSDhruvaraj Subhashchandran 263a85108fSZane Shelley// clang-format on 27