Lines Matching refs:path
147 self.path = os.path.join(env.ANDROID_BUILD_TOP, "build", "bazel", "bin", "bazel")
148 soong_ui = os.path.join(env.ANDROID_BUILD_TOP, "build", "soong", "soong_ui.bash")
160 def query_modules(self, path): argument
162 cmd = self.path + " query --config=queryview /" + path + ":all"
174 cmd = (self.path + " query --config=queryview \'rdeps(//..., " +
183 for path in EXCLUDE_PATHS:
184 if module.startswith(path):
189 def find_all_test_mapping_files(self, path): argument
191 for root, dirs, files in os.walk(path):
193 result.append(os.path.join(root, "TEST_MAPPING"))
198 def test_to_test_mapping(self, env, path, test): argument
199 test_mapping_files = self.find_all_test_mapping_files(env.ANDROID_BUILD_TOP + path)
222 def query_rdep_tests_dirs(self, env, modules, path, exclude_dir): argument
226 path_pat = re.compile("^/%s:.*$" % path)
260 def __init__(self, path, env, bazel): argument
275 self.dir = path
300 def __init__(self, env, bazel, path): argument
308 self.package = Package(path, env, bazel)
314 if os.path.isfile('TEST_MAPPING'):
324 if os.path.isfile(os.path.join(self.package.dir, "test_mapping_config.json")):
325 with open(os.path.join(self.package.dir, "test_mapping_config.json"), 'r') as fd:
382 paths = [Path(path).resolve() for path in paths]
383 paths = sorted([path for abs_path in paths
384 for path in glob.glob(str(abs_path))])
388 for path in paths:
390 test_mapping = TestMapping(env, bazel, path)
393 untracked = (os.path.isfile('TEST_MAPPING') and