Lines Matching refs:constant
25 from aidegen import constant
102 {p.project_relative_path == constant.FRAMEWORK_PATH
107 constant.FRAMEWORK_PATH))
193 project.dependencies = [constant.FRAMEWORK_SRCJARS]
194 if self._framework_exist and proj_path != constant.FRAMEWORK_PATH:
216 project.dependencies.append(constant.KEY_DEPENDENCIES)
228 mod = dict(self._projects[0].dep_modules[constant.FRAMEWORK_ALL])
229 mod[constant.KEY_DEPENDENCIES] = []
230 mod[constant.KEY_IML_NAME] = constant.FRAMEWORK_SRCJARS
232 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
234 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
235 mod[constant.KEY_DEPENDENCIES].append(constant.KEY_DEPENDENCIES)
239 mod[constant.KEY_SRCS] = [permission_src]
240 srcjar_dict = {constant.KEY_DEP_SRCS: True,
241 constant.KEY_SRCJARS: True,
242 constant.KEY_DEPENDENCIES: True}
246 srcjar_dict = {constant.KEY_SRCJARS: True,
247 constant.KEY_DEPENDENCIES: True}
250 self._all_srcs[_KEY_SRCJAR_PATH] -= set(mod.get(constant.KEY_SRCJARS,
272 ''.join([constant.UNZIP_SRCJAR_PATH_HEAD,
285 constant.KEY_SRCS: _get_real_dependencies_jars(
287 constant.KEY_TESTS: _get_real_dependencies_jars(
289 constant.KEY_JARS: _get_real_dependencies_jars(
291 constant.KEY_SRCJARS: _get_real_dependencies_jars(
294 constant.KEY_DEPENDENCIES: _get_real_dependencies_jars(
295 rel_project_soong_paths, [constant.FRAMEWORK_SRCJARS]),
296 constant.KEY_PATH: [self._projects[0].project_relative_path],
297 constant.KEY_MODULE_NAME: constant.KEY_DEPENDENCIES,
298 constant.KEY_IML_NAME: constant.KEY_DEPENDENCIES
301 mod[constant.KEY_DEPENDENCIES].append(self._framework_iml)
303 mod[constant.KEY_DEPENDENCIES].append(self._full_repo_iml)
305 dep_iml.create({constant.KEY_DEP_SRCS: True,
306 constant.KEY_SRCJARS: True,
307 constant.KEY_JARS: True,
308 constant.KEY_DEPENDENCIES: True})
336 os.path.dirname(sjar_dir), constant.NAME_AAPT2, _R)
341 sjar_dir, ''.join([constant.UNZIP_SRCJAR_PATH_HEAD, sjar_name]))
359 constant.KEY_EXCLUDES: ''.join(exclude_folders),
360 constant.KEY_SRCS: project.source_path[_KEY_SOURCE_PATH],
361 constant.KEY_TESTS: project.source_path[_KEY_TEST_PATH],
362 constant.KEY_DEPENDENCIES: project.dependencies,
363 constant.KEY_PATH: [relpath],
364 constant.KEY_MODULE_NAME: project.module_name,
365 constant.KEY_IML_NAME: iml.IMLGenerator.get_unique_iml_name(
369 dep_iml.create({constant.KEY_SRCS: True,
370 constant.KEY_DEPENDENCIES: True})
390 [out_soong_dir, constant.INTERMEDIATES, relpath]) + os.sep)
423 file_exts = [constant.JAR_EXT]
486 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
487 _PERMISSION_DEFINED_PATH, constant.NAME_AAPT2, _R)
494 return os.path.join(out_soong_dir, constant.INTERMEDIATES,
496 constant.TARGET_R_SRCJAR)