Lines Matching refs:constant
23 from aidegen import constant
100 {p.project_relative_path == constant.FRAMEWORK_PATH
105 constant.FRAMEWORK_PATH))
191 project.dependencies = [constant.FRAMEWORK_SRCJARS]
192 if self._framework_exist and proj_path != constant.FRAMEWORK_PATH:
214 project.dependencies.append(constant.KEY_DEPENDENCIES)
226 mod = dict(self._projects[0].dep_modules[constant.FRAMEWORK_ALL])
227 mod[constant.KEY_DEPENDENCIES] = []
228 mod[constant.KEY_IML_NAME] = constant.FRAMEWORK_SRCJARS
230 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
232 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
233 mod[constant.KEY_DEPENDENCIES].append(constant.KEY_DEPENDENCIES)
237 mod[constant.KEY_SRCS] = [permission_src]
238 srcjar_dict = {constant.KEY_DEP_SRCS: True,
239 constant.KEY_SRCJARS: True,
240 constant.KEY_DEPENDENCIES: True}
244 srcjar_dict = {constant.KEY_SRCJARS: True,
245 constant.KEY_DEPENDENCIES: True}
248 self._all_srcs[_KEY_SRCJAR_PATH] -= set(mod.get(constant.KEY_SRCJARS,
270 ''.join([constant.UNZIP_SRCJAR_PATH_HEAD,
283 constant.KEY_SRCS: _get_real_dependencies_jars(
285 constant.KEY_TESTS: _get_real_dependencies_jars(
287 constant.KEY_JARS: _get_real_dependencies_jars(
289 constant.KEY_SRCJARS: _get_real_dependencies_jars(
292 constant.KEY_DEPENDENCIES: _get_real_dependencies_jars(
293 rel_project_soong_paths, [constant.FRAMEWORK_SRCJARS]),
294 constant.KEY_PATH: [self._projects[0].project_relative_path],
295 constant.KEY_MODULE_NAME: constant.KEY_DEPENDENCIES,
296 constant.KEY_IML_NAME: constant.KEY_DEPENDENCIES
299 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
301 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
303 dep_iml.create({constant.KEY_DEP_SRCS: True,
304 constant.KEY_SRCJARS: True,
305 constant.KEY_JARS: True,
306 constant.KEY_DEPENDENCIES: True})
334 os.path.dirname(sjar_dir), constant.NAME_AAPT2, _R)
339 sjar_dir, ''.join([constant.UNZIP_SRCJAR_PATH_HEAD, sjar_name]))
357 constant.KEY_EXCLUDES: ''.join(exclude_folders),
358 constant.KEY_SRCS: project.source_path[_KEY_SOURCE_PATH],
359 constant.KEY_TESTS: project.source_path[_KEY_TEST_PATH],
360 constant.KEY_DEPENDENCIES: project.dependencies,
361 constant.KEY_PATH: [relpath],
362 constant.KEY_MODULE_NAME: project.module_name,
363 constant.KEY_IML_NAME: iml.IMLGenerator.get_unique_iml_name(
367 dep_iml.create({constant.KEY_SRCS: True,
368 constant.KEY_DEPENDENCIES: True})
388 [out_soong_dir, constant.INTERMEDIATES, relpath]) + os.sep)
421 file_exts = [constant.JAR_EXT]
484 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
485 _PERMISSION_DEFINED_PATH, constant.NAME_AAPT2, _R)
492 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
494 constant.TARGET_R_SRCJAR)