| /build/hb/resources/ |
| D | config.py | 40 def __init__(self): argument 69 def component_type(self): argument 73 def component_type(self, value: str): argument 78 def target_os(self): argument 82 def target_os(self, value: str): argument 87 def target_cpu(self): argument 91 def target_cpu(self, value: str): argument 96 def version(self): argument 100 def version(self, value: str): argument 105 def compile_config(self): argument [all …]
|
| /build/hb/services/interface/ |
| D | load_interface.py | 26 def __init__(self): argument 31 def __post_init__(self): argument 35 def config(self): argument 39 def outputs(self): argument 42 def regist_arg(self, arg_name: str, arg_value: str): argument 49 def run(self): argument 72 def _execute_loader_args_display(self): argument 76 def _check_parts_config_info(self): argument 80 def _generate_subsystem_configs(self): argument 84 def _generate_target_platform_parts(self): argument [all …]
|
| D | preload_interface.py | 26 def __init__(self): argument 31 def __post_init__(self): argument 35 def outputs(self): argument 39 def config(self): argument 42 def regist_arg(self, arg_name: str, arg_value: str): argument 49 def run(self): argument 67 def _generate_build_prop(self): argument 71 def _generate_build_config_json(self): argument 75 def _generate_parts_json(self): argument 79 def _generate_parts_config_json(self): argument [all …]
|
| /build/hb/services/ |
| D | loader.py | 37 def __init__(self): argument 62 def __post_init__(self): argument 150 def _merge_components_info(self, components): argument 163 def _cropping_components(self): argument 201 def _check_args(self): argument 230 def _check_product_part_feature(self): argument 269 def _check_parts_config_info(self): argument 290 def _generate_syscap_files(self): argument 397 def _get_build_platforms(self) -> list: argument 415 def _generate_infos_for_testfwk(self): argument [all …]
|
| D | preloader.py | 30 def __init__(self): argument 46 def __post_init__(self): argument 68 def _generate_platforms_build(self): argument 87 def _generate_build_gnargs_prop(self): argument 117 def _generate_features_json(self): argument 141 def _generate_syscap_json(self): argument 163 def _generate_exclusion_modules_json(self): argument 181 def _generate_build_config_json(self): argument 193 def _generate_build_prop(self): argument 209 def _generate_parts_json(self): argument [all …]
|
| D | prebuilts.py | 32 def __init__(self): argument 37 def run(self): argument 65 def check_whether_need_update(self) -> bool: argument 77 def read_last_update(self): argument 87 def write_last_update(self, data): argument 95 def get_ohos_dir(self): argument 105 def get_preguilt_download_related_files_mtimes(self) -> dict: argument 120 def check_file_changes(self) -> bool: argument 134 def _get_part_names(self): argument 144 def _convert_flags(self) -> list: argument
|
| /build/hb/ |
| D | main.py | 132 def _set_path(self): argument 139 def _init_build_module(self) -> BuildModuleInterface: argument 156 def _init_hb_init_module(self): argument 160 def _init_set_module(self) -> SetModuleInterface: argument 168 def _init_env_module(self) -> EnvModuleInterface: argument 180 def _init_clean_module(self) -> CleanModuleInterface: argument 185 def _init_tool_module(self) -> ToolModuleInterface: argument 192 def _indep_build_command_format_check(self) -> bool: argument 195 def _init_indep_build_module(self) -> IndepBuildModuleInterface: argument 209 def _is_indep_build(self) -> bool: argument [all …]
|
| /build/hb/modules/interface/ |
| D | build_module_interface.py | 33 def __init__(self, argument 48 def preloader(self): argument 52 def loader(self): argument 56 def target_generator(self): argument 60 def target_compiler(self): argument 63 def run(self): argument 77 def _prebuild(self): argument 81 def _preload(self): argument 86 def _prebuild_and_preload(self): argument 91 def _load(self): argument [all …]
|
| /build/hb/test/unitTest/services/ |
| D | preloader_test.py | 26 def setUp(self): argument 30 def tearDown(self): argument 33 def test_generate_build_prop(self): argument 36 def test_generate_build_config_json(self): argument 39 def test_generate_parts_json(self): argument 42 def test_generate_parts_config_json(self): argument 45 def test_generate_build_gnargs_prop(self): argument 48 def test_generate_features_json(self): argument 51 def test_generate_syscap_json(self): argument 54 def test_generate_exclusion_modules_json(self): argument [all …]
|
| /build/ohos/sbom/sbom/builder/ |
| D | sbom_meta_data_builder.py | 42 def __init__(self): argument 50 def start_document(self) -> "DocumentBuilderContext": argument 65 def start_package(self) -> "PackageBuilderContext": argument 77 def start_file(self) -> "FileBuilderContext": argument 89 def start_relationship(self) -> "RelationshipBuilderContext": argument 101 def add_package(self, package: PackageBuilder) -> "SBOMMetaDataBuilder": argument 115 def add_file(self, file: FileBuilder) -> "SBOMMetaDataBuilder": argument 129 def add_relationship(self, relationship: RelationshipBuilder) -> "SBOMMetaDataBuilder": argument 143 def _build_instance(self) -> SBOMMetaData: argument 163 def _validate(self) -> None: argument [all …]
|
| D | base_builder.py | 30 def build(self, validate: bool = True) -> Any: argument 51 def _fill_defaults(self) -> None: argument 56 def _validate(self) -> None: argument 61 def _build_instance(self): argument 76 def __init__(self, config_mgr: Optional[FieldConfigManager] = None): argument 90 def build(self, validate: bool = True) -> Any: argument 106 def _build_instance(self): argument 110 def get_property_value(self, property_name: str) -> Any: argument 122 def _fill_defaults(self) -> None: argument 136 def _validate(self) -> None: argument [all …]
|
| D | document_builder.py | 36 def __init__(self): argument 55 def with_version(self, version: str) -> 'DocumentBuilder': argument 68 def with_bom_format(self, bom_format: str) -> 'DocumentBuilder': argument 81 def with_spec_version(self, spec_version: str) -> 'DocumentBuilder': argument 94 def with_data_license(self, data_license: str) -> 'DocumentBuilder': argument 107 def with_serial_number(self, serial_number: str) -> 'DocumentBuilder': argument 120 def with_timestamp(self, timestamp: str) -> 'DocumentBuilder': argument 133 def with_author(self, author: str) -> 'DocumentBuilder': argument 146 def with_authors(self, authors: List[str]) -> 'DocumentBuilder': argument 159 def with_doc_id(self, doc_id: str) -> 'DocumentBuilder': argument [all …]
|
| D | package_builder.py | 36 def __init__(self): argument 54 def bom_ref(self) -> str: argument 63 def with_type(self, type_: Literal["library", "application", "framework"]) -> 'PackageBuilder': argument 79 def with_supplier(self, supplier: str) -> 'PackageBuilder': argument 92 def with_group(self, group: str) -> 'PackageBuilder': argument 105 def with_name(self, name: str) -> 'PackageBuilder': argument 118 def with_version(self, version: str) -> 'PackageBuilder': argument 131 def with_purl(self, purl: str) -> 'PackageBuilder': argument 147 def with_license_concluded(self, license_concluded: str) -> 'PackageBuilder': argument 160 def with_license_declared(self, license_declared: str) -> 'PackageBuilder': argument [all …]
|
| /build/ohos/sbom/data/ |
| D | file_dependence.py | 59 def is_shared_library(self) -> bool: argument 63 def is_static_library(self) -> bool: argument 67 def is_source_code(self) -> bool: argument 77 def is_intermediate(self) -> bool: argument 81 def is_data_file(self) -> bool: argument 85 def is_package(self) -> bool: argument 92 def is_bytecode(self) -> bool: argument 96 def is_library(self) -> bool: argument 100 def is_object_file(self) -> bool: argument 110 self, argument [all …]
|
| D | manifest.py | 27 def __init__(self, name, fetch, review=""): argument 33 def name(self): argument 37 def fetch(self): argument 41 def review(self): argument 53 def __init__(self, name, path, revision, upstream, dest_branch, groups, remote): argument 64 def name(self): argument 68 def path(self): argument 72 def revision(self): argument 76 def upstream(self): argument 80 def dest_branch(self): argument [all …]
|
| /build/hb/util/preloader/ |
| D | preloader_process_data.py | 27 def __init__(self, output_dir): argument 30 def __post_init__(self, output_dir): argument 55 def __init__(self, config): argument 58 def __post_init__(self, config): argument 83 def __init__(self, config_dirs: Dirs, ohos_config: Config): argument 97 def __post_init__(self, config_dirs: Dirs, config: Config): argument 107 def _do_parse(self): argument 117 def _update_syscap_info(self): argument 134 def _update_device(self): argument 154 def _update_parts(self): argument [all …]
|
| /build/ohos/sbom/analysis/ |
| D | project_dependency.py | 32 def __init__(self): argument 40 def build(self, all_files: List[File]) -> Dict[str, Dict[str, List[str]]]: argument 49 def get_file_project_mapping(self) -> Dict[str, str]: argument 57 def get_project_files(self) -> Dict[str, List[str]]: argument 65 def get_project_dependence(self) -> Dict[str, ProjectDependence]: argument 70 def to_dict(self) -> Dict[str, Any]: argument 91 def _reset(self): argument 98 def _build_mappings(self, all_files: List[File]): argument 108 def _get_or_create_dependency(self, project: Project) -> ProjectDependence: argument 113 def _get_file_project(self, file: File) -> Optional[Project]: argument [all …]
|
| D | file_dependency.py | 31 def __init__(self, all_target_depend: DependGraphAnalyzer): argument 36 def build_start(self, target_name: str): argument 44 def get_file_dependencies(self) -> Dict[str, File]: argument 47 def get_target_name_map_file(self) -> Dict[str, List[str]]: argument 50 def build_all_install_deps_optimized(self, install_targets: List[str]): argument 69 def extract_outputs_and_source_outputs(self, target: Target) -> list: argument 90 def process_source_output_dependencies(self, target: Target, outputs: list, source_list: list): argument 111 def process_target(self, target: Target, all_outputs: list): argument 124 def process_libs_dependencies(self, target: Target, outputs: list): argument 170 def process_ldflags_dependencies(self, target: Target, outputs: list): argument [all …]
|
| /build/scripts/ |
| D | cargo2gn.py | 136 def __init__(self, runner, outfile_name: str): argument 176 def write(self, s: str): argument 180 def parse_rustc(self, line_num: int, line: str): argument 228 def parse_args(self, args): argument 278 def deal_cfg(self, arg: str): argument 288 def add_ignore_options_flag(self, flag: str): argument 299 def deal_extern(self, arg: str): argument 304 def set_root_pkg_name(self, arg: str): argument 314 def deal_static_and_dylib(self, arg: str): argument 322 def set_main_src(self, arg: str): argument [all …]
|
| /build/test/example/ |
| D | test_gn_template.py | 240 def test_ohos_shared_library_output_dir(self): argument 250 def test_ohos_shared_library_testonly(self): argument 260 def test_ohos_shared_library(self): argument 270 def test_ohos_shared_library_output_name(self): argument 280 def test_ohos_shared_library_output_extension(self): argument 290 def test_ohos_shared_library_module_install_dir(self): argument 299 def test_ohos_shared_library_relative_install_dir(self): argument 308 def test_ohos_static_library(self): argument 318 def test_ohos_source_set(self): argument 328 def test_ohos_executable(self): argument [all …]
|
| /build/tools/component_tools/ |
| D | component_node.py | 22 …def __init__(self, module_name: str, subsystem_name: str, part_name: str, deps: set, external_deps… argument 31 def module_name(self): argument 35 def module_name(self, value): argument 39 def subsystem_name(self): argument 43 def subsystem_name(self, value): argument 47 def part_name(self): argument 51 def part_name(self, value): argument 55 def deps(self): argument 59 def deps(self, value): argument 63 def external_deps(self): argument [all …]
|
| /build/config/components/hc_gen/ |
| D | hcs_build_info.py | 30 def __init__(self, file_name, token_type, value): argument 37 def clean(self): argument 43 def dump(self): argument 47 def info(self): argument 52 def __init__(self, is_eof, char): argument 56 def dump(self): argument 61 def __init__(self, idl_file_path): argument 73 def peek_char(self, peek_count=0): argument 79 def get_char(self): argument 91 def peek_token(self): argument [all …]
|
| /build/hb/modules/ |
| D | ohos_build_module.py | 38 def __init__(self, argument 52 def build_time(self): argument 64 def run(self): argument 75 def _prebuild(self): argument 78 def _preload(self): argument 85 def _load(self): argument 92 def _pre_target_generate(self): argument 95 def _target_generate(self): argument 102 def _post_target_generate(self): argument 105 def _pre_target_compilation(self): argument [all …]
|
| /build/ohos/sbom/pipeline/ |
| D | sbom_generator.py | 42 def __init__(self, args: ArgumentParser): argument 56 def init(self): argument 70 def build_filtered_files(self): argument 106 def build_file_information(self): argument 137 def build_package_information(self): argument 146 def build_document_information(self): argument 150 def build_sbom(self) -> SBOMMetaData: argument 165 def _get_file_reference(self, dep: File) -> Optional[str]: argument 169 def _get_project_license(self, source_project) -> str: argument 174 …def _add_relationship(self, source_bom_ref: str, depends_on_refs: List[str], rel_type: Relationshi… argument [all …]
|
| /build/hb/util/ |
| D | monitor.py | 42 def __init__(self): argument 52 def collect_cpu_info(self): argument 87 def extract_memory_value(self, line: str): argument 91 def get_ret_num(self, line: str): argument 97 def get_linux_mem_info(self): argument 109 def collect_linux_mem_info(self): argument 116 def get_current_time(self): argument 120 def get_current_cpu(self): argument 129 def get_current_memory(self): argument 138 def get_log_path(self): argument [all …]
|