• Home
  • Raw
  • Download

Lines Matching refs:constant

26 from aidegen import constant
42 _TARGET_AAPT2_SRCJAR = constant.NAME_AAPT2 + constant.SRCJAR_EXT
43 _TARGET_BUILD_FILES = [_TARGET_AAPT2_SRCJAR, constant.TARGET_R_SRCJAR]
51 _FRAMEWORK_SRCJARS_PATH = os.path.join(constant.FRAMEWORK_PATH,
52 constant.FRAMEWORK_SRCJARS)
155 and self._check_key(constant.KEY_SRCJARS)):
156 for srcjar in self.module_data[constant.KEY_SRCJARS]:
191 if self._is_target_module() and self._check_key(constant.KEY_SRCJARS):
192 for srcjar in self.module_data[constant.KEY_SRCJARS]:
221 return os.path.join(target_folder, constant.NAME_AAPT2)
222 if target_file == constant.TARGET_R_SRCJAR and base_dirname == _ANDROID:
224 constant.NAME_AAPT2, 'R')
229 self.module_path = (self.module_data[constant.KEY_PATH][0]
230 if self._check_key(constant.KEY_PATH) else '')
241 self.module_depth = (int(self.module_data[constant.KEY_DEPTH])
257 return self._check_key(constant.KEY_JARS)
261 return self._check_key(constant.KEY_CLASSES_JAR)
265 if self._check_key(constant.KEY_SRCS):
267 for src_item in self.module_data[constant.KEY_SRCS]:
314 return constant.KEY_TESTS in src_dir.split(os.sep)
427 if common_util.is_target(jar_path, constant.TARGET_LIBS):
439 for jar in self.module_data[constant.KEY_CLASSES_JAR]:
454 if self._check_key(constant.KEY_INSTALLED):
455 for jar in self.module_data[constant.KEY_INSTALLED]:
484 if self._check_key(constant.KEY_JARS):
485 for jar_name in self.module_data[constant.KEY_JARS]:
486 if self._check_key(constant.KEY_INSTALLED):
576 if self.module_path != constant.FRAMEWORK_PATH:
577 self.dep_paths.append(constant.FRAMEWORK_PATH)
579 if self.module_path != constant.LIBCORE_PATH:
580 self.dep_paths.append(constant.LIBCORE_PATH)
581 for module in self.module_data.get(constant.KEY_DEPENDENCIES, []):