/external/v8/tools/gyp/test/toplevel-dir/ |
gyptest-toplevel-dir.py | 21 toplevel_dir = 'src' variable 23 test.build('sub1/main.gyp', test.ALL, chdir=toplevel_dir) 25 test.built_file_must_exist('prog1', type=test.EXECUTABLE, chdir=toplevel_dir) 28 chdir=toplevel_dir,
|
/external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/ |
resource.py | 14 def __init__(self, toplevel_dir, absolute_path, binary=False): 15 self.toplevel_dir = toplevel_dir 23 return os.path.relpath(self.absolute_path, self.toplevel_dir)
|
html_module_unittest.py | 21 def __init__(self, toplevel_dir, absolute_path, fake_contents): 27 super(ResourceWithFakeContents, self).__init__(toplevel_dir, absolute_path)
|
/external/v8/tools/gyp/test/generator-output/ |
gyptest-depth.py | 21 toplevel_dir = os.path.basename(test.workpath()) variable 23 test.run_gyp(os.path.join(toplevel_dir, 'src', 'prog1.gyp'), 26 depth=toplevel_dir,
|
/external/v8/tools/gyp/pylib/gyp/generator/ |
analyzer.py | 167 def _ToLocalPath(toplevel_dir, path): 168 """Converts |path| to a path relative to |toplevel_dir|.""" 169 if path == toplevel_dir: 171 if path.startswith(toplevel_dir + '/'): 172 return path[len(toplevel_dir) + len('/'):] 176 def _ExtractSources(target, target_dict, toplevel_dir): 180 base_path = posixpath.dirname(_ToLocalPath(toplevel_dir, _ToGypPath(target))) 275 def _WasBuildFileModified(build_file, data, files, toplevel_dir): 277 one of the files included by |build_file| is in |files|. |toplevel_dir| is 279 if _ToLocalPath(toplevel_dir, _ToGypPath(build_file)) in files [all...] |
eclipse.py | 182 return os.path.join(options.toplevel_dir, value) 292 toplevel_build = os.path.join(options.toplevel_dir, build_dir) 309 options.toplevel_dir, 337 def GenerateClasspathFile(target_list, target_dicts, toplevel_dir, 351 rel_paths.add(os.path.relpath(path, toplevel_dir)) 360 AddElements('lib', GetJavaJars(target_list, target_dicts, toplevel_dir)) 361 AddElements('src', GetJavaSourceDirs(target_list, target_dicts, toplevel_dir)) 371 def GetJavaJars(target_list, target_dicts, toplevel_dir): 384 def GetJavaSourceDirs(target_list, target_dicts, toplevel_dir): 402 if not parent_search or parent_search == toplevel_dir [all...] |
dump_dependency_json.py | 62 toplevel = params['options'].toplevel_dir
|
ninja.py | 211 toplevel_dir=None): 216 toplevel_dir: path to the toplevel directory 229 if toplevel_dir is not None: 230 self.abs_build_dir = os.path.abspath(os.path.join(toplevel_dir, 240 build_to_top = gyp.common.InvertRelativePath(build_dir, toplevel_dir) 243 base_to_top = gyp.common.InvertRelativePath(base_dir, toplevel_dir) [all...] |
make.py | 109 params['options'].toplevel_dir 116 'toplevel': params['options'].toplevel_dir, [all...] |
cmake.py | 624 rel_gyp_file = gyp.common.RelativePath(gyp_file, options.toplevel_dir) 628 build_to_top = gyp.common.InvertRelativePath(build_dir, options.toplevel_dir) 839 options.toplevel_dir) [all...] |
xcode.py | 585 toplevel = params['options'].toplevel_dir [all...] |
msvs.py | [all...] |
/external/v8/tools/gyp/test/symlinks/ |
gyptest-symlinks.py | 14 difficult to test this directly since the test harness assumes toplevel_dir is
|
/external/v8/tools/gyp/pylib/gyp/ |
common.py | 178 def InvertRelativePath(path, toplevel_dir=None): 179 """Given a path like foo/bar that is relative to toplevel_dir, return 180 the inverse relative path back to the toplevel_dir. 187 toplevel_dir = '.' if toplevel_dir is None else toplevel_dir 188 return RelativePath(toplevel_dir, os.path.join(toplevel_dir, path))
|
__init__.py | 342 parser.add_option('--toplevel-dir', dest='toplevel_dir', action='store', 453 if not options.toplevel_dir: 454 options.toplevel_dir = options.depth
|
xcode_ninja.py | 64 os.path.join(options.toplevel_dir,
|