Lines Matching refs:constant
25 from aidegen import constant
104 {p.project_relative_path == constant.FRAMEWORK_PATH
109 constant.FRAMEWORK_PATH))
195 project.dependencies = [constant.FRAMEWORK_SRCJARS]
196 if self._framework_exist and proj_path != constant.FRAMEWORK_PATH:
218 project.dependencies.append(constant.KEY_DEPENDENCIES)
230 mod = dict(self._projects[0].dep_modules[constant.FRAMEWORK_ALL])
231 mod[constant.KEY_DEPENDENCIES] = []
232 mod[constant.KEY_IML_NAME] = constant.FRAMEWORK_SRCJARS
234 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
236 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
237 mod[constant.KEY_DEPENDENCIES].append(constant.KEY_DEPENDENCIES)
240 mod[constant.KEY_SRCS] = [permission_src]
241 srcjar_dict = {constant.KEY_DEP_SRCS: True,
242 constant.KEY_SRCJARS: True,
243 constant.KEY_DEPENDENCIES: True}
247 srcjar_dict = {constant.KEY_SRCJARS: True,
248 constant.KEY_DEPENDENCIES: True}
251 self._all_srcs[_KEY_SRCJAR_PATH] -= set(mod.get(constant.KEY_SRCJARS,
273 ''.join([constant.UNZIP_SRCJAR_PATH_HEAD,
286 constant.KEY_SRCS: _get_real_dependencies_jars(
288 constant.KEY_TESTS: _get_real_dependencies_jars(
290 constant.KEY_JARS: _get_real_dependencies_jars(
292 constant.KEY_SRCJARS: _get_real_dependencies_jars(
295 constant.KEY_DEPENDENCIES: _get_real_dependencies_jars(
296 rel_project_soong_paths, [constant.FRAMEWORK_SRCJARS]),
297 constant.KEY_PATH: [self._projects[0].project_relative_path],
298 constant.KEY_MODULE_NAME: constant.KEY_DEPENDENCIES,
299 constant.KEY_IML_NAME: constant.KEY_DEPENDENCIES
302 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
304 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
306 dep_iml.create({constant.KEY_DEP_SRCS: True,
307 constant.KEY_SRCJARS: True,
308 constant.KEY_JARS: True,
309 constant.KEY_DEPENDENCIES: True})
337 os.path.dirname(sjar_dir), constant.NAME_AAPT2, _R)
342 sjar_dir, ''.join([constant.UNZIP_SRCJAR_PATH_HEAD, sjar_name]))
360 constant.KEY_EXCLUDES: ''.join(exclude_folders),
361 constant.KEY_SRCS: project.source_path[_KEY_SOURCE_PATH],
362 constant.KEY_TESTS: project.source_path[_KEY_TEST_PATH],
363 constant.KEY_DEPENDENCIES: project.dependencies,
364 constant.KEY_PATH: [relpath],
365 constant.KEY_MODULE_NAME: project.module_name,
366 constant.KEY_IML_NAME: iml.IMLGenerator.get_unique_iml_name(
370 dep_iml.create({constant.KEY_SRCS: True,
371 constant.KEY_DEPENDENCIES: True})
391 [out_soong_dir, constant.INTERMEDIATES, relpath]) + os.sep)
424 file_exts = [constant.JAR_EXT]
487 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
488 _PERMISSION_DEFINED_PATH, constant.NAME_AAPT2, _R)
495 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
497 constant.TARGET_R_SRCJAR)