Lines Matching full:path
21 _SRC_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
27 A path is assumed to be a "system" import if it is outside of chromium's
34 for path in module_paths:
35 if path == __file__:
37 path = os.path.abspath(path)
38 if not path.startswith(_SRC_ROOT):
41 if path.endswith('.pyc'):
42 path = path[:-1]
43 src_paths.add(path)
51 root = os.path.relpath(options.root, _SRC_ROOT)
55 args.extend(('--output', os.path.relpath(options.output, _SRC_ROOT)))
57 args.extend(('--whitelist', os.path.relpath(whitelist, _SRC_ROOT)))
58 args.append(os.path.relpath(options.module, _SRC_ROOT))
68 yield os.path.join(root, filename)
85 sys.path.append(os.path.dirname(options.module))
89 for path in options.whitelists:
90 paths_set.update(os.path.abspath(p) for p in _FindPythonInDirectory(path))
92 paths = [os.path.relpath(p, options.root) for p in paths_set]
99 for path in sorted(paths):
100 out.write(path + '\n')