Lines Matching refs:self
25 def __init__(self, platforms_config_file, source_root_dir, root_build_dir, argument
27 self._platforms_config_file = platforms_config_file
28 self._source_root_dir = source_root_dir
29 self._root_build_dir = root_build_dir
30 self._platforms_info = {}
31 self._all_parts = {}
32 self._all_stubs = {}
33 self._is_load = False
34 self._target_arch = target_arch
35 self._scalable_build = scalable_build
37 def _read_platforms_config(self): argument
38 if not os.path.exists(self._platforms_config_file):
40 self._platforms_config_file))
41 config_info = read_json_file(self._platforms_config_file)
44 self._platforms_config_file))
101 def _loading(self): argument
102 if self._is_load:
104 all_platforms_config = self._read_platforms_config()
105 _platforms_info = all_platforms_config.get(self._target_arch)
106 config_base_dir = os.path.dirname(self._platforms_config_file)
110 if self._scalable_build is False:
131 parts, stubs = self._load_platform_config(_platform_config_file)
135 self._platforms_info = _platforms_info
136 self._all_parts = all_parts
137 self._all_stubs = all_stubs
138 self._is_load = True
140 def get_all_parts(self): argument
141 self._loading()
143 for _platform, _parts in self._all_parts.items():
151 def get_all_stubs(self): argument
152 self._loading()
154 for _platform, _parts in self._all_stubs.items():
162 def platforms_toolchain(self): argument
163 self._loading()
166 for key, val in self._platforms_info.items():