Home | History | Annotate | Download | only in gyp

Lines Matching full:path

20 _SRC_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__),
28 def _RelativizePath(path):
29 """Returns relative path to top-level src dir.
32 path: A path relative to cwd.
34 return os.path.relpath(os.path.abspath(path), _SRC_ROOT)
66 path = location_elem.attributes['file'].value
69 error = '%s:%s %s: %s [warning]' % (path, line, message, issue_id)
72 error = '%s %s: %s [warning]' % (path, message, issue_id)
100 # different directories). It is difficult to determine what part of the path
106 new_dir = os.path.join(temp_dir, str(len(src_dirs)))
112 return os.path.join(d, os.path.basename(src))
117 if not os.path.exists(PathInDir(d, src)):
123 os.symlink(os.path.abspath(src), PathInDir(src_dir, src))
130 with open(os.path.join(project_dir, 'project.properties'), 'w') \
138 os.symlink(os.path.abspath(manifest_path),
142 if os.path.exists(result_path):
160 if not os.path.exists(result_path):
164 if os.path.getsize(result_path) < 10:
215 parser.add_argument('--lint-path', required=True,
216 help='Path to lint executable.')
218 help='Path to product dir.')
219 parser.add_argument('--result-path', required=True,
220 help='Path to XML lint result file.')
222 help='Path to the directory in which the android cache '
224 parser.add_argument('--platform-xml-path', required=True,
225 help='Path to api-platforms.xml')
235 parser.add_argument('--config-path',
236 help='Path to lint suppressions file.')
239 parser.add_argument('--jar-path',
243 parser.add_argument('--manifest-path',
244 help='Path to AndroidManifest.xml')
247 parser.add_argument('--processed-config-path',
248 help='Path to processed lint suppressions file.')
250 help='Path to resource dir.')
256 help='Path to touch on success.')
269 parser.error('--config-path specified without --processed-config-path')
271 parser.error('--processed-config-path specified without --config-path')