Lines Matching refs:constant
36 from aidegen import constant
60 _LANG_UNDEFINED = constant.IDE_DICT[constant.IDE_UNDEFINED]
61 _LANG_JAVA = constant.IDE_DICT[constant.IDE_INTELLIJ]
62 _LANG_CC = constant.IDE_DICT[constant.IDE_CLION]
63 _IDE_UNDEFINED = constant.IDE_DICT[constant.IDE_UNDEFINED]
64 _IDE_INTELLIJ = constant.IDE_DICT[constant.IDE_INTELLIJ]
65 _IDE_CLION = constant.IDE_DICT[constant.IDE_CLION]
131 if target == constant.WHOLE_ANDROID_TREE_TARGET:
398 out_dir_common_base = os.getenv(constant.OUT_DIR_COMMON_BASE_ENV_VAR)
403 or constant.ANDROID_DEFAULT_OUT)
427 return os.path.join(get_android_root_dir(), constant.AIDEGEN_ROOT_PATH)
468 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_BP))
480 return os.path.isfile(os.path.join(abs_path, constant.ANDROID_MK))
494 constant.RE_INSIDE_PATH_CHECK.format(relative_path), source)
506 return str(data).replace(os.path.expanduser('~'), constant.USER_HOME)
657 product = os.environ.get(constant.TARGET_PRODUCT)
658 build_variant = os.environ.get(constant.TARGET_BUILD_VARIANT)
661 {constant.LUNCH_TARGET: "-".join([product, build_variant])})
676 constant.BLUEPRINT_JAVA_JSONFILE_NAME))
677 data[constant.GEN_JAVA_DEPS] = bp_java_path
679 root_dir, get_blueprint_json_path(constant.BLUEPRINT_CC_JSONFILE_NAME))
680 data[constant.GEN_CC_DEPS] = bp_cc_path
681 data[constant.GEN_COMPDB] = os.path.join(get_soong_out_path(),
682 constant.RELATIVE_COMPDB_PATH,
683 constant.COMPDB_JSONFILE_NAME)
684 data[constant.GEN_RUST] = os.path.join(
685 root_dir, get_blueprint_json_path(constant.RUST_PROJECT_JSON))
732 constant.GIT_FOLDER_NAME)
753 if constant.IDE_NAME_DICT[ide] == constant.IDE_CLION:
758 if constant.IDE_NAME_DICT[ide] == constant.IDE_INTELLIJ:
760 return constant.LANGUAGE_NAME_DICT[lang], constant.IDE_NAME_DICT[ide]