Lines Matching refs:config

32 from resources.config import Config
66 config = Config()
68 target_generator.regist_arg('product_name', config.product)
69 target_generator.regist_arg('product_path', config.product_path)
71 'product_config_path', config.product_config_path)
73 target_generator.regist_arg('device_name', config.board)
74 target_generator.regist_arg('device_path', config.device_path)
75 target_generator.regist_arg('device_company', config.device_company)
77 'device_config_path', config.device_config_path)
79 target_generator.regist_arg('target_cpu', config.target_cpu)
80 target_generator.regist_arg('precise_branch', config.precise_branch)
82 'is_{}_system'.format(config.os_level), True)
84 target_generator.regist_arg('ohos_kernel_type', config.kernel)
86 ProductUtil.get_compiler(config.device_path))
93 features_dict = ProductUtil.get_features_dict(config.product_json)
97 if ProductUtil.get_compiler(config.device_path) == 'clang':
99 'ohos_build_compiler_dir', config.clang_path)
128 config = Config()
130 if config.target_cpu == "":
131 config.target_cpu = target_arg.arg_value
133 config.target_cpu = target_arg.arg_value
142 config = Config()
144 if config.target_os == "":
145 config.target_os = target_arg.arg_value
147 config.target_os = target_arg.arg_value
156 config = Config()
158 if config.precise_branch == "":
159 config.precise_branch = target_arg.arg_value
161 config.precise_branch = target_arg.arg_value
167 config = Config()
172 if csv_row.get(config.precise_branch) == 'Y':
182 config = Config()
183 prefix = 'out/{}/build_configs/'.format(config.product)
211 config = Config()
254 config = Config()
255 out_path = config.out_path
269 config = Config()
270 config.log_mode = target_arg.arg_value
280 config = Config()
321 os.environ['CCACHE_BASEDIR'] = config.root_path
328 SystemUtil.exec_command(cmd, log_path=config.log_path)
338 config = Config()
358 config = Config()
367 '{}/build/scripts/util/pyd.py'.format(config.root_path),
519 config = Config()
523 '{}/test/xts/acts/get_dependency.py'.format(config.root_path),
551 """resolve '--load-test-config' arg
695 config = Config()
698 config.out_path, 'packages/phone/system/etc/param/ohos.para')
726 config = Config()
728 config.out_path, 'packages', 'phone', 'images')
731 config.out_path, 'images.tar.gz')
733 SystemUtil.exec_command(cmd, log_path=config.out_path)
767 config = Config()
792 config.root_path), logfile
795 SystemUtil.exec_command(cmd, log_path=config.log_path)
805 config = Config()
808 '{}/build/scripts/get_warnings.py'.format(config.root_path),
810 '{}/build.log'.format(config.out_path),
812 '{}/packages/WarningList.txt'.format(config.out_path),
814 SystemUtil.exec_command(cmd, log_path=config.log_path)
824 config = Config()
831 '{}/build/scripts/ninja2trace.py'.format(config.root_path),
833 '{}/.ninja_log'.format(config.out_path),
835 "{}/build.trace".format(config.out_path),
839 "{}/sorted_action_duration.txt".format(config.out_path),
841 SystemUtil.exec_command(cmd, log_path=config.log_path)
851 config = Config()
852 subsystem_config_overlay_path = os.path.join(config.product_path,
858 config.root_path), "--build-out-dir", config.out_path,
859 "--subsystem-config-file",
860 "{}/build/subsystem_config.json".format(config.root_path),
861 "--subsystem-config-overlay-file",
863 config.product_path),
864 "--root-source-dir", config.root_path
870 config.root_path), "--build-out-dir", config.out_path,
871 "--subsystem-config-file",
872 "{}/build/subsystem_config.json".format(config.root_path),
873 "--root-source-dir", config.root_path
875 SystemUtil.exec_command(cmd, log_path=config.log_path)
885 config = Config()
886 if config.os_level == "standard":
888 config.root_path, "developtools/integration_verification/tools/deps_guard"))
890 deps_guard(config.out_path, config.target_cpu)