aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/coredata.py43
1 files changed, 22 insertions, 21 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index fd8b4b2..b4c7924 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -1251,24 +1251,25 @@ BULITIN_DIR_NOPREFIX_OPTIONS: T.Dict[OptionKey, T.Dict[str, str]] = {
OptionKey('purelibdir', module='python'): {},
}
-FORBIDDEN_TARGET_NAMES = {'clean': None,
- 'clean-ctlist': None,
- 'clean-gcno': None,
- 'clean-gcda': None,
- 'coverage': None,
- 'coverage-text': None,
- 'coverage-xml': None,
- 'coverage-html': None,
- 'phony': None,
- 'PHONY': None,
- 'all': None,
- 'test': None,
- 'benchmark': None,
- 'install': None,
- 'uninstall': None,
- 'build.ninja': None,
- 'scan-build': None,
- 'reconfigure': None,
- 'dist': None,
- 'distcheck': None,
- }
+FORBIDDEN_TARGET_NAMES = frozenset({
+ 'clean',
+ 'clean-ctlist',
+ 'clean-gcno',
+ 'clean-gcda',
+ 'coverage',
+ 'coverage-text',
+ 'coverage-xml',
+ 'coverage-html',
+ 'phony',
+ 'PHONY',
+ 'all',
+ 'test',
+ 'benchmark',
+ 'install',
+ 'uninstall',
+ 'build.ninja',
+ 'scan-build',
+ 'reconfigure',
+ 'dist',
+ 'distcheck',
+})