Lines Matching defs:gn
23 gnzip = os.path.join(tempfile.mkdtemp(), 'gn.zip')
29 url = 'https://chrome-infra-packages.appspot.com/dl/gn/gn/{}-{}/+/git_revision:{}'.format(
33 gn = 'gn.exe' if 'win32' in sys.platform else 'gn'
35 f.extract(gn, 'bin')
37 gn = os.path.join('bin', gn)
39 os.chmod(gn, stat.S_IRUSR | stat.S_IWUSR | stat.S_IXUSR |
44 copy_path = 'buildtools/linux64/gn' if 'linux' in sys.platform else \
45 'buildtools/mac/gn' if 'darwin' in sys.platform else \
46 'buildtools/win/gn.exe'
48 shutil.copy(gn, copy_path)