Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 167) sorted by relevance

1234567

/build/hb/resolver/
Dset_args_resolver.py25 from resources.config import Config
37 config = Config()
49 config.product = product_info.get('name')
50 config.product_path = product_info.get('product_path')
51 config.version = product_info.get('version')
52 config.os_level = product_info.get('os_level')
53 config.product_json = product_info.get('config')
54 config.component_type = product_info.get('component_type')
56 config.product_config_path = product_info.get(
59 config.product_config_path = product_info.get('path')
[all …]
Dbuild_args_resolver.py32 from resources.config import Config
65 config = Config()
67 target_generator.regist_arg('product_name', config.product)
68 target_generator.regist_arg('product_path', config.product_path)
70 'product_config_path', config.product_config_path)
72 target_generator.regist_arg('device_name', config.board)
73 target_generator.regist_arg('device_path', config.device_path)
74 target_generator.regist_arg('device_company', config.device_company)
76 'device_config_path', config.device_config_path)
78 target_generator.regist_arg('target_cpu', config.target_cpu)
[all …]
Dclean_args_resolver.py26 from resources.config import Config
45 config = Config()
46 if config.out_path is not None and config.out_path != '' \
47 … and config.out_path.startswith(CURRENT_OHOS_ROOT) and os.path.exists(config.out_path):
49 'Clean {} directory that generated by last compilation'.format(config.out_path))
50 shutil.rmtree(config.out_path)
/build/tools/component_tools/
Dkconfig15 config property$$product_name
18 config property$$version
21 config property$$type
24 config property$$ohos_version
27 config property$$board
30 config property$$kernel_type
33 config property$$kernel_version
36 config property$$device_name
39 config property$$device_company
42 config property$$target_os
[all …]
/build/hb/util/preloader/
Dpreloader_process_data.py19 from resources.config import Config
53 def __init__(self, config): argument
54 self.__post_init__(config)
56 def __post_init__(self, config): argument
57 self.source_root_dir = config.root_path
58 self.built_in_product_dir = config.built_in_product_path
64 self.vendor_dir = config.vendor_path
66 self.device_dir = os.path.join(config.root_path, 'device')
69 config.root_path, config.subsystem_config_json)
70 self.subsystem_config_overlay_json = os.path.join(config.product_path,
[all …]
Dparse_vendor_product_config.py108 def transform(config): argument
109 subsystems = config.get('subsystems')
111 config.pop('subsystems')
113 config['parts'] = parts
114 return config
117 def save_transformed_config(config, output_file): argument
118 new_config = json.dumps(config, indent=2, sort_keys=True)
134 config = json.load(fin)
135 if product_name == config.get('product_name'):
136 return config
[all …]
/build/config/compiler/lite/gcc/
Dgcc.gni15 [ "//build/config/compiler/lite/gcc:gcc_compiler_configs" ]
18 [ "//build/config/compiler/lite/gcc:gcc_shared_library_configs" ]
20 "//build/lite/config:language_c",
21 "//build/lite/config:gcc_opt",
22 "//build/lite/config:language_cpp",
23 "//build/config/sanitizers:default_sanitizer_flags",
27 [ "//build/config/compiler/lite/gcc:gcc_static_library_configs" ]
29 "//build/lite/config:language_c",
30 "//build/lite/config:gcc_opt",
31 "//build/lite/config:language_cpp",
[all …]
DBUILD.gn14 import("${device_path}/config.gni")
16 config("gcc_cpu_arch") {
30 config("gcc_common") {
48 config("gcc_security") {
59 config("gcc_exceptions") {
64 config("gcc_stack_protector") {
69 config("gcc_static_pie_config") {
74 config("gcc_shared_library_config") {
79 config("gcc_pie_executable_config") {
83 config("gcc_opt") {
[all …]
/build/config/compiler/lite/clang/
DBUILD.gn14 import("${device_path}/config.gni")
16 config("clang_cpu_arch") {
30 config("clang_common") {
48 config("clang_security") {
59 config("clang_exceptions") {
64 config("clang_stack_protector") {
69 config("clang_static_pie_config") {
74 config("clang_shared_library_config") {
79 config("clang_pie_executable_config") {
83 config("ohos_clang") {
[all …]
Dclang.gni28 [ "//build/config/compiler/lite/clang:clang_compiler_configs" ]
31 [ "//build/config/compiler/lite/clang:clang_shared_library_configs" ]
33 "//build/lite/config:language_c",
34 "//build/lite/config:clang_opt",
35 "//build/lite/config:language_cpp",
36 "//build/config/sanitizers:default_sanitizer_flags",
40 [ "//build/config/compiler/lite/clang:clang_static_library_configs" ]
42 "//build/lite/config:language_c",
43 "//build/lite/config:clang_opt",
44 "//build/lite/config:language_cpp",
[all …]
/build/lite/config/
DBUILD.gn14 config("cpu_arch") {
21 config("gtest_feature_cpp") {
25 config("language_c") {
29 config("language_cpp") {
33 config("kernel_macros") {
57 config("werror") {
62 config("common") {
80 config("security") {
94 config("exceptions") {
99 config("no_exceptions") {
[all …]
DBUILDCONFIG.gn14 import("${device_path}/config.gni")
64 # Load board adapter dir from board config.
86 default_target_configs = [ "//build/lite/config:gcc_opt" ]
95 default_target_configs = [ "//build/lite/config:clang_opt" ]
121 default_target_configs = [ "//build/lite/config:ohos_clang" ]
122 default_target_configs += [ "//build/lite/config:clang_opt" ]
127 "//build/lite/config:board_config",
128 "//build/lite/config:cpu_arch",
129 "//build/lite/config:common",
130 "//build/lite/config:default_link_path",
[all …]
/build/hb/services/
Dninja.py24 from resources.config import Config
36 self.config = Config()
47 '-C', self.config.out_path] + self._convert_args()
48 LogUtil.write_log(self.config.log_path,
54 self.config.root_path,
56 self.config.product,
65 self.config.log_path,
73 self.config.log_path,
76 log_mode=self.config.log_mode
80 KernelPermission.run(self.config.out_path, self.config.root_path)
[all …]
/build/hb/util/prebuild/
Dpatch_process.py18 from resources.config import Config
29 self.config = Config()
31 self.patch_cfg = os.path.join(self.config.product_path, 'patch.yml')
43 patch_cfg = self.config.patch_cache
71 src_path = os.path.join(self.config.root_path, src_path)
77 patch_path = os.path.join(self.config.root_path, patch_item)
79 patch_path = os.path.join(self.config.root_path,
89 SystemUtil.exec_command(cmd, log_path=self.config.log_path,
93 self.config.patch_cache = None
102 if self.config.patch_cache is not None:
[all …]
/build/lite/ndk/build/config/
DBUILD.gn14 config("cpu_arch") {
33 config("base") {
61 config("exceptions") {
66 config("no_exceptions") {
72 config("stack_protector") {
77 config("static_pie_config") {
82 config("shared_library_config") {
87 config("pie_executable_config") {
91 config("clang") {
121 config("clang_release") {
[all …]
DBUILDCONFIG.gn14 import("//build/config/variable.gni")
32 default_target_configs = [ "//build/config:ohos" ]
34 set_default_toolchain("//build/config:liteos")
37 default_target_configs = [ "//build/config:ohos" ]
40 default_target_configs = [ "//build/config:ohos" ]
47 default_target_configs + [ "//build/config:shared_library_config" ]
49 default_target_configs + [ "//build/config:static_pie_config" ]
51 default_static_library_configs + [ "//build/config:pie_executable_config" ]
/build/hb/util/
Dproduct_util.py24 from resources.config import Config
34 config = Config()
36 _ext_scan_path = os.path.join(config.root_path,
53 config.root_path, info.get('product_path'))
89 if config.vendor_path != '':
90 for company in os.listdir(config.vendor_path):
91 company_path = os.path.join(config.vendor_path, company)
113 bip_path = config.built_in_product_path
133 bipl_path = config.built_in_product_path_for_llvm
158 config = Config()
[all …]
/build/config/linux/
DBUILD.gn5 import("//build/config/c++/c++.gni")
11 # This is included by reference in the //build/config/compiler config that
14 config("compiler") {
17 # This is included by reference in the //build/config/compiler:runtime_library
18 # config that is applied to all targets. It is here to separate out the logic
21 config("runtime_library") {
42 config("executable_config") {
43 configs = [ "//build/config/security:executable_config" ]
46 config("x11") {
67 config("export_dynamic") {
/build/config/ohos/
DBUILD.gn5 import("//build/config/compiler/compiler.gni")
6 import("//build/config/ohos/config.gni")
8 import("//build/config/c++/c++.gni")
9 import("//build/config/sanitizers/sanitizers.gni")
13 # This is included by reference in the //build/config/compiler config that
16 config("compiler") {
57 # This is included by reference in the //build/config/compiler:runtime_library
58 # config that is applied to all targets. It is here to separate out the logic
61 config("runtime_library") {
116 config("executable_config") {
[all …]
/build/config/security/
DBUILD.gn14 import("//build/config/security/security_config.gni")
16 config("auto_var_init_configs") {
27 # This config is applied by default to all targets. It sets the compiler flags
28 # for automatic variable initialization, or, if no config is set, does nothing.
29 config("default_security_configs") {
34 config("auto_var_pattern_init_config") {
39 # Currently, enabling the config of pattern for all components is impractical and may cause system
40 # instability. So on the premise that the system is stable, the config of zero need to be gradually…
41 # the config of pattern.
42 config("auto_var_zero_init_config") {
[all …]
/build/config/compiler/lite/iccarm/
DBUILD.gn15 import("${device_path}/config.gni")
17 config("iccarm_language_c") {
21 config("iccarm_language_cpp") {
25 config("iccarm_common") {
30 config("iccarm_opt") {
35 config("iccarm_stack_protector") {
40 config("iccarm_default_sp_options") {
Diccarm.gni15 "//build/config/compiler/lite/iccarm:iccarm_language_c",
16 "//build/config/compiler/lite/iccarm:iccarm_language_cpp",
17 "//build/config/compiler/lite/iccarm:iccarm_common",
18 "//build/config/compiler/lite/iccarm:iccarm_opt",
19 "//build/config/compiler/lite/iccarm:iccarm_default_sp_options",
20 "//build/config/compiler/lite/common:kernel_macros",
21 "//build/config/compiler/lite/common:board_config",
/build/config/sanitizers/
DBUILD.gn5 import("//build/config/clang/clang.gni")
6 import("//build/config/ohos/config.gni")
7 import("//build/config/sanitizers/sanitizers.gni")
95 config("sanitizer_options_link_helper") {
115 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
141 config("default_sanitizer_ldflags") {
252 config("common_sanitizer_flags") {
266 # Frame pointers are controlled in //build/config/compiler:default_stack_frames
270 config("asan_flags") {
290 config("hwasan_flags") {
[all …]
/build/config/mac/
DBUILD.gn5 import("//build/config/c++/c++.gni")
6 import("//build/config/mac/mac_sdk.gni")
7 import("//build/config/mac/symbols.gni")
8 import("//build/config/sysroot.gni")
10 # This is included by reference in the //build/config/compiler config that
12 config("compiler") {
66 # This is included by reference in the //build/config/compiler:runtime_library
67 # config that is applied to all targets. It is here to separate out the logic
70 config("runtime_library") {
90 config("mac_dynamic_flags") {
[all …]
/build/config/
DBUILD.gn5 import("//build/config/allocator.gni")
6 import("//build/config/c++/c++.gni")
7 import("//build/config/coverage/coverage.gni")
8 import("//build/config/features.gni")
10 import("//build/config/sanitizers/sanitizers.gni")
15 # affects the "debug" config, which is always available but applied by
45 # flags. See //build/config/BUILDCONFIG.gn for advice on where to define
47 config("feature_flags") {
105 config("debug") {
128 config("release") {
[all …]

1234567