aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-03-03 15:41:34 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-03-03 15:52:31 +0530
commit303b8819ecc4adf5268d0a73aa25aa1540b3c2bc (patch)
treebf6d2eccb6a4e5eb44add68a19d2dbc12a96dc5e /mesonbuild/backend/backends.py
parent2340fd3d8aa5c6ed829ff3bda8a64137ead4b8eb (diff)
downloadmeson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.zip
meson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.tar.gz
meson-303b8819ecc4adf5268d0a73aa25aa1540b3c2bc.tar.bz2
Nuke dead code which was used for installing PDB files
We check for the existence of PDB files in the install script, so we don't need to do all this mucking about here. That's more robust too because we don't need to parse build arguments in buildtype=plain and decide if the PDB file would be generated.
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index 26052d3..5939488 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -115,12 +115,6 @@ class Backend:
return os.path.join(self.get_target_dir(target), target.get_filename())
raise AssertionError('BUG: Tried to link to something that\'s not a library')
- def get_target_debug_filename(self, target):
- fname = target.get_debug_filename()
- if not fname:
- raise AssertionError("BUG: Tried to generate debug filename when it doesn't exist")
- return os.path.join(self.get_target_dir(target), fname)
-
def get_target_dir(self, target):
if self.environment.coredata.get_builtin_option('layout') == 'mirror':
dirname = target.get_subdir()