8a8539ee67
The Config module is shared between the main process, D-Bus services and tests, which previously prevented it from being ported to ESM. The previous commit removed the last outstanding blocker, so we can now port the last remaining module. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2880>
22 lines
846 B
JavaScript
22 lines
846 B
JavaScript
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
|
const pkg = imports.package;
|
|
|
|
/* The name of this package (not localized) */
|
|
export const PACKAGE_NAME = '@PACKAGE_NAME@';
|
|
/* The version of this package */
|
|
export const PACKAGE_VERSION = '@PACKAGE_VERSION@';
|
|
/* 1 if networkmanager is available, 0 otherwise */
|
|
export const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@;
|
|
/* gettext package */
|
|
export const GETTEXT_PACKAGE = '@GETTEXT_PACKAGE@';
|
|
/* locale dir */
|
|
export const LOCALEDIR = '@datadir@/locale';
|
|
/* other standard directories */
|
|
export const LIBEXECDIR = '@libexecdir@';
|
|
export const PKGDATADIR = '@datadir@/@PACKAGE_NAME@';
|
|
/* g-i package versions */
|
|
export const LIBMUTTER_API_VERSION = '@LIBMUTTER_API_VERSION@';
|
|
|
|
export const HAVE_BLUETOOTH = pkg.checkSymbol('GnomeBluetooth', '3.0',
|
|
'Client.default_adapter_state')
|