| Index: pylib/gyp/generator/ninja.py
|
| diff --git a/pylib/gyp/generator/ninja.py b/pylib/gyp/generator/ninja.py
|
| index 587bf32f0097afa17549a4801a0bdf042f5cf270..0853ab012438a8300daf6ee81da324602d36353b 100644
|
| --- a/pylib/gyp/generator/ninja.py
|
| +++ b/pylib/gyp/generator/ninja.py
|
| @@ -340,6 +340,9 @@ class NinjaWriter(object):
|
| obj += '.' + self.toolset
|
|
|
| path_dir, path_basename = os.path.split(path)
|
| + assert not os.path.isabs(path_dir), (
|
| + "'%s' can not be absolute path (see crbug.com/462153)." % path_dir)
|
| +
|
| if qualified:
|
| path_basename = self.name + '.' + path_basename
|
| return os.path.normpath(os.path.join(obj, self.base_dir, path_dir,
|
|
|