Lines Matching refs:config
25 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')
61 device_info = ProductUtil.get_device_info(config.product_json)
62 config.board = device_info.get('board')
63 config.kernel = device_info.get('kernel')
64 config.target_cpu = device_info.get('target_cpu')
65 config.target_os = device_info.get('target_os')
66 config.support_cpu = device_info.get("support_cpu")
68 config.device_company = device_info.get('company')
72 config.out_path = os.path.join(config.root_path,
75 if config.os_level == 'standard':
76 config.out_path = os.path.join(config.root_path, 'out',
77 config.board)
79 config.out_path = os.path.join(config.root_path, 'out',
80 config.board, config.product)
83 config.subsystem_config_json = product_info.get(
86 config.subsystem_config_json = 'build/subsystem_config.json'
89 config.product_path, 'subsystem_config_overlay.json')
92 config.subsystem_config_overlay_json = product_info.get(
95 config.subsystem_config_overlay_json = subsystem_config_overlay_path
97 if config.version == '2.0':
98 config.device_path = board_path
100 if config.os_level == "standard":
101 config.device_path = board_path
103 config.device_path = DeviceUtil.get_device_path(
104 board_path, config.kernel, kernel_version)
107 config.device_config_path = device_info.get('board_config_path')
109 config.device_config_path = config.device_path