Home
last modified time | relevance | path

Searched refs:config (Results 1 – 25 of 152) 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.py31 from resources.config import Config
56 config = Config()
58 target_generator.regist_arg('product_name', config.product)
59 target_generator.regist_arg('product_path', config.product_path)
61 'product_config_path', config.product_config_path)
63 target_generator.regist_arg('device_name', config.board)
64 target_generator.regist_arg('device_path', config.device_path)
65 target_generator.regist_arg('device_company', config.device_company)
67 'device_config_path', config.device_config_path)
69 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
52 def __init__(self, config): argument
53 self.__post_init__(config)
55 def __post_init__(self, config): argument
56 self.source_root_dir = config.root_path
57 self.built_in_product_dir = config.built_in_product_path
63 self.vendor_dir = config.vendor_path
65 self.device_dir = os.path.join(config.root_path, 'device')
68 config.root_path, config.subsystem_config_json)
69 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_language_c") {
34 config("gcc_werror") {
39 config("gcc_common") {
57 config("gcc_security") {
68 config("gcc_exceptions") {
73 config("gcc_no_exceptions") {
79 config("gcc_stack_protector") {
84 config("gcc_static_pie_config") {
[all …]
/build/config/compiler/lite/clang/
DBUILD.gn14 import("${device_path}/config.gni")
16 config("clang_cpu_arch") {
30 config("clang_language_c") {
34 config("clang_werror") {
39 config("clang_common") {
57 config("clang_security") {
68 config("clang_exceptions") {
73 config("clang_no_exceptions") {
79 config("clang_stack_protector") {
84 config("clang_static_pie_config") {
[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/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") {
62 config("xcomposite") {
[all …]
/build/lite/config/
DBUILD.gn14 config("cpu_arch") {
21 config("language_c") {
25 config("language_cpp") {
29 config("kernel_macros") {
53 config("werror") {
58 config("common") {
76 config("security") {
90 config("exceptions") {
95 config("no_exceptions") {
101 config("stack_protector") {
[all …]
DBUILDCONFIG.gn14 import("${device_path}/config.gni")
61 # Load board adapter dir from board config.
83 default_target_configs = [ "//build/lite/config:gcc_opt" ]
92 default_target_configs = [ "//build/lite/config:clang_opt" ]
118 default_target_configs = [ "//build/lite/config:ohos_clang" ]
119 default_target_configs += [ "//build/lite/config:clang_opt" ]
124 "//build/lite/config:board_config",
125 "//build/lite/config:cpu_arch",
126 "//build/lite/config:common",
127 "//build/lite/config:default_link_path",
[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
137 config = Config()
145 os.path.join(config.root_path, _board_path)):
[all …]
/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") {
54 # This is included by reference in the //build/config/compiler:runtime_library
55 # config that is applied to all targets. It is here to separate out the logic
58 config("runtime_library") {
105 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/hb/services/
Dninja.py24 from resources.config import Config
34 self.config = Config()
45 '-C', self.config.out_path] + self._convert_args()
46 LogUtil.write_log(self.config.log_path,
50 ninja_cmd, self.config.log_path, log_filter=True)
74 ninja_path = os.path.join(self.config.root_path, 'prebuilts/build-tools/{}-x86/bin/ninja'
/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")
89 config("sanitizer_options_link_helper") {
109 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
135 config("default_sanitizer_ldflags") {
246 config("common_sanitizer_flags") {
260 # Frame pointers are controlled in //build/config/compiler:default_stack_frames
264 config("asan_flags") {
284 config("link_executable") {
[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
44 # flags. See //build/config/BUILDCONFIG.gn for advice on where to define
46 config("feature_flags") {
104 config("debug") {
127 config("release") {
[all …]
DBUILDCONFIG.gn462 import("//build_plugins/config/ios/ios_sdk.gni") # For use_ios_simulator
647 [ rebase_path("//${device_build_path}/config.gni") ],
650 import("//${device_build_path}/config.gni")
664 # Other than the main compiler and linker configs, the only reason for a config
665 # to be in this list is if some targets need to explicitly override that config
667 # requirement and just need to add a config everywhere, reference it as a
668 # sub-config of an existing one, most commonly the main "compiler" one.
672 "//build/config:feature_flags",
673 "//build/config/compiler:afdo",
674 "//build/config/compiler:afdo_optimize_size",
[all …]

1234567