aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-03-28 22:03:39 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2017-04-02 00:07:23 +0300
commit553ac89e02c170b504c495e83164a7a9d15198f4 (patch)
tree680853d080c9842ff59a071032e0e4220a10c43a /mesonbuild/backend
parent319398f0749890a57a661ddb4524e93f86a0d41e (diff)
downloadmeson-553ac89e02c170b504c495e83164a7a9d15198f4.zip
meson-553ac89e02c170b504c495e83164a7a9d15198f4.tar.gz
meson-553ac89e02c170b504c495e83164a7a9d15198f4.tar.bz2
Review fixes.
Diffstat (limited to 'mesonbuild/backend')
-rw-r--r--mesonbuild/backend/backends.py2
-rw-r--r--mesonbuild/backend/ninjabackend.py2
-rw-r--r--mesonbuild/backend/vs2010backend.py2
3 files changed, 2 insertions, 4 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index e8cbe5d..5517fbd 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -83,7 +83,7 @@ class OptionProxy:
class OptionOverrideProxy:
'''Mimic an option list but transparently override
-selected option values.'''
+ selected option values.'''
def __init__(self, overrides, options):
self.overrides = overrides
self.options = options
diff --git a/mesonbuild/backend/ninjabackend.py b/mesonbuild/backend/ninjabackend.py
index d54cacf..bc51ace 100644
--- a/mesonbuild/backend/ninjabackend.py
+++ b/mesonbuild/backend/ninjabackend.py
@@ -1890,8 +1890,6 @@ rule FORTRAN_DEP_HACK
raise AssertionError('BUG: sources should not contain headers {!r}'.format(src))
if isinstance(src, RawFilename) and src.fname.endswith('.h'):
raise AssertionError('BUG: sources should not contain headers {!r}'.format(src.fname))
- extra_orderdeps = []
- compiler = get_compiler_for_source(target.compilers.values(), src)
if isinstance(src, str) and src.endswith('.h'):
raise AssertionError('BUG: sources should not contain headers {!r}'.format(src))
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index cc44458..7afbc0d 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -6,7 +6,7 @@
# http://www.apache.org/licenses/LICENSE-2.0
-# Unless required by applicable law or agreed to in writingget_, software
+# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and